天嵌 ARM开发社区

 找回密码
 注册
查看: 5763|回复: 15

烧写系统之后无法启动

[复制链接]
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镜像

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 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 [PRIME]
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不要用工具里面的,工具里面的只是一个例子防止镜像名错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-1 07:11 , Processed in 1.062500 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表