[i.MX] 从sd卡启动android uImage失败:0 blocks read: ERROR

[复制链接]
1190|2
 楼主| nym521 发表于 2015-9-10 20:27 | 显示全部楼层 |阅读模式
在imx6q板子上移植android5.0.0内核时,从sd卡启动内核提示错误:
Normal Boot
Hit any key to stop autoboot:  0
mmc0 is current device

MMC read: dev # 0, block # 2048, count 16384 ... 0 blocks read: ERROR

MMC read: dev # 0, block # 20480, count 2048 ... 0 blocks read: ERROR
## Booting kernel from Legacy Image at 11ffffc0 ...
   Image Name:   Linux-3.10.53
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6779032 Bytes = 6.5 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

uboot配置如下:
setenv bootargs 'noinitrd console=ttymxc0,115200 root=/dev/mmcblk0p1 rw init=/init androidboot.console=ttymxc0'
=> setenv bootcmd 'mmc dev 0; mmc read 0x11ffffc0 0x800 0x4000; mmc read 0x18000000 0x5000 0x800; bootm 0x11ffffc0 - x18000000'

由于刚刚开始系统移植,对这种问题不知道原因所在,希望大家能够解决一下。
 楼主| nym521 发表于 2015-9-12 09:14 | 显示全部楼层
这个问题已经解决,发现是在编译uImage的时候,没有使用mkImage工具导致的。
mini1986 发表于 2015-9-14 15:37 | 显示全部楼层
关注一下......
您需要登录后才可以回帖 登录 | 注册

本版积分规则

20

主题

46

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部