rd166 发表于 2017-8-31 17:59:26

烧写系统之后无法启动

BASEC板子,按照手册中的方法烧写系统之后无法启动内核,停在Starting kernel ...的地方不动了。
我烧写的uboot是mfgtools软件的Profles/Linux/OS Firmware/firmware文件夹中的u-boot.imx,内核是同一个文件夹下的zImage,设备树是我自己编译出来的,文件系统是rootfs_ubuntu_IMX6_for_linux_V3.0_R1.1.tgz。
uboot中console=ttymxc0。

support_lyl 发表于 2017-9-1 08:55:58

把uboot环境里面的console=ttymxc0改为console=ttySAC0试试

rd166 发表于 2017-9-1 09:10:46

support_lyl 发表于 2017-9-1 08:55
把uboot环境里面的console=ttymxc0改为console=ttySAC0试试

改了,还是不可以。

rd166 发表于 2017-9-1 09:19:19

rd166 发表于 2017-9-1 09:10
改了,还是不可以。

上传附件和图片upload Error : 302是什么原因

support_lyl 发表于 2017-9-1 09:35:22

rd166 发表于 2017-9-1 09:19
上传附件和图片upload Error : 302是什么原因

可以加Q2851297570,或者与对应联系过的业务QQ,然后用远程桌面看下么?

rd166 发表于 2017-9-1 09:59:43

support_lyl 发表于 2017-9-1 09:35
可以加Q2851297570,或者与对应联系过的业务QQ,然后用远程桌面看下么?

换了zImage_mfgtool这个内核就可以启动了。mfgtools\Profiles\Linux\OS Firmware\firmware这个目录下的zImage和zImage_mfgtool这两个内核有什么区别?

support_lyl 发表于 2017-9-1 10:04:00

rd166 发表于 2017-9-1 09:59
换了zImage_mfgtool这个内核就可以启动了。mfgtools\Profiles\Linux\OS Firmware\firmware这个目录下的zI ...

zImage_mfgtool是烧写用的内核,zImage_mfgtool内核串口节点用的是ttymxc0,有可能你的uboot是旧版本导致的

support_lyl 发表于 2017-9-1 10:07:42

rd166 发表于 2017-9-1 09:59
换了zImage_mfgtool这个内核就可以启动了。mfgtools\Profiles\Linux\OS Firmware\firmware这个目录下的zI ...

试一下附件里面的uboot镜像

rd166 发表于 2017-9-1 10:36:32

support_lyl 发表于 2017-9-1 10:07
试一下附件里面的uboot镜像

用了你给的u-boot还是一样的结果,zImage_mfgtool可以启动,zImage不能启动,卡在Starting kernel ...

support_lyl 发表于 2017-9-1 10:54:18

rd166 发表于 2017-9-1 10:36
用了你给的u-boot还是一样的结果,zImage_mfgtool可以启动,zImage不能启动,卡在Starting kernel ...

可以加qq远程看下么?只需要看烧写工具和串口工具就可以了

rd166 发表于 2017-9-4 09:06:59

support_lyl 发表于 2017-9-1 10:54
可以加qq远程看下么?只需要看烧写工具和串口工具就可以了

U-Boot 2015.04 (May 11 2017 - 10:07:28)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
CPU:   Temperature 25 C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Display: CLAA-WVGA (800x480)
asd1
asd2
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc2(part 0) is current device
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:2
Bad partition index:5 for partition:system
Bad partition index:4 for partition:data
Net:   FEC
reading logo.bmp
** Unable to read file logo.bmp **
There is no valid bmp file at the given address
Normal Boot
Hit any key to stop autoboot:0
reading zImage
8599818 bytes read in 405 ms (20.3 MiB/s)
reading imx6q-sabresd.dtb
44528 bytes read in 18 ms (2.4 MiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0x833ea8 ]
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Using Device Tree in place at 18000000, end 1800ddef

Starting kernel ...

烧写工具是mfgtool_V3.1.zip

support_lyl 发表于 2017-9-4 11:22:54

rd166 发表于 2017-9-4 09:06
U-Boot 2015.04 (May 11 2017 - 10:07:28)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz


可以把你用的zImage文件发给我们试下么?

support_lyl 发表于 2017-9-4 17:36:26

support_lyl 发表于 2017-9-4 11:22
可以把你用的zImage文件发给我们试下么?

我这边编译后是正常启动的,你用的交叉编译器是哪个版本呢?有没有修改过内核呢?pc机系统是哪个版本呢?编译后zImage用的是arch/arm/boot/zImage下面的镜像么?

rd166 发表于 2017-9-4 17:47:07

support_lyl 发表于 2017-9-4 17:36
我这边编译后是正常启动的,你用的交叉编译器是哪个版本呢?有没有修改过内核呢?pc机系统是哪个版本呢? ...
不是我自己编译的内核,是“Wndows平台工具”下面的mfgtools_V3.1.zip解压后的msgtools/Profiles/Linux/OS Firmware/firmware文件夹下面的zImage。

support_lyl 发表于 2017-9-5 08:55:29

rd166 发表于 2017-9-4 17:47
不是我自己编译的内核,是“Wndows平台工具”下面的mfgtools_V3.1.zip解压后的msgtools/Profiles/Linux/O ...

要用网盘里面的zImage不要用工具里面的,工具里面的只是一个例子防止镜像名错误
页: [1] 2
查看完整版本: 烧写系统之后无法启动