您尚未登录。

楼主 #1 2020-07-02 22:10:25

alen
会员
注册时间: 2020-06-29
已发帖子: 11
积分: 1

Wrong Image Format for bootm command

使用官方编译的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 #

离线

#2 2020-07-02 23:44:15

狼狼
会员
注册时间: 2020-06-14
已发帖子: 76
积分: 115

Re: Wrong Image Format for bootm command

按照提示找的,觉得有点道理,看看有没有帮助?
https://blog.csdn.net/zhengqijun_/article/details/71908896

离线

楼主 #3 2020-07-10 17:46:09

alen
会员
注册时间: 2020-06-29
已发帖子: 11
积分: 1

Re: Wrong Image Format for bootm command

谢谢,可以用的

狼狼 说:

按照提示找的,觉得有点道理,看看有没有帮助?
https://blog.csdn.net/zhengqijun_/article/details/71908896

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn