韦东山Linux嵌入式课程社区
直播中

王飞

7年用户 1155经验值
私信 关注

为什么uBoot无法启动内核?

uBoot无法启动内核,提示Bad Magic Number


OpenJTAG> boot
dm9000 i/o: 0x20000000, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
could not establish link
File transfer via NFS from server 192.168.1.102; our IP address is 192.168.1.244
Filename '/work/nfs_root/uImage'.
Load address: 0x30000000
Loading: *** ERROR: Cannot mount
*** ERROR: Cannot umount
*** ERROR: Cannot umount
*** ERROR: Cannot umount
*** ERROR: Cannot umount
...
done
done
done
...
## Booting image at 30000000 ...
Bad Magic Number
OpenJTAG>

回帖(2)

潘福乔

2019-8-29 07:37:54
看看你环境变量.....
正常boot 也应该是:
OpenJTAG> boot

NAND read: device 0 offset 0x60000, size 0x200000

Reading data from 0x25f800 -- 100% complete.
2097152 bytes read: OK
## Booting image at 30007fc0 ...
   Image Name:   Linux-2.6.22.6
   Created:      2013-08-23   7:33:38 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1848668 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

Starting kernel ...
举报

张帅

2019-8-29 07:43:11
你的问题是:使用NFS下载内核到内存时,内核文件数据损坏了,导致校验时出错。
问题分析:现在无法确定是下载时出错了,还是文件本身就有问题。需要你提供更多的信息
举报

更多回帖

发帖
×
20
完善资料,
赚取积分