使用官方编译的uboot启动uimage,出错。
下面的我的操作步骤及报错内容。 请问如何解决?
hisilicon # setenv bootargs "mem=40M console=tty0 console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2 rw mtdparts=hinand:512K(boot),5120K(kernel),125440K(rootfs)"
hisilicon #
hisilicon # setenv bootcmd "nand read 0x42000000 0x80000 0x500000;bootm 0x42000000"
hisilicon # saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0xa0000 -- 100% complete.
Writing to NAND... OK
hisilicon #
hisilicon # boot
NAND read: device 0 offset 0x80000, size 0x500000
5242880 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon #
离线
谢谢,可以用的
按照提示找的,觉得有点道理,看看有没有帮助?
https://blog.csdn.net/zhengqijun_/article/details/71908896
离线