- 论坛徽章:
- 0
|
本帖最后由 quanguoheme 于 2012-07-09 10:11 编辑
uboot自动重启问题分析
内核小于 2M 以前 总是 先打usbslave 1 31000000 然后bootm 可以正常启动linux
如果 输入usbslave 1 30008000 然后bootm ubootm重启 , 记录文件在boot-linux-config-mini2440-2.TXT
非正常启动信息如下:bootm
## Booting kernel from Legacy Image at 30008000 ...
Image Name: Linux-2.6.29.4-FriendlyARM
Created: 2012-07-06 17:48:10 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2022400 Bytes = 1.9 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
data abort
pc : [<30008008>] lr : [<33fa6568>]
sp : 33f3de04 ip : 00000000 fp : 30008000
r10: 33fc3008 r9 : 000007cf r8 : 33f3ffe0
r7 : 33f3ffc4 r6 : 33f412ad r5 : 30000100 r4 : 00000000
r3 : 00000000 r2 : 30000100 r1 : 000007cf r0 : 00000000
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
正常 启动机器 信息如下:
Booting kernel from Legacy Image at 31000000 ...
Image Name: Linux-2.6.29.4-FriendlyARM
Created: 2012-07-06 17:48:10 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2022400 Bytes = 1.9 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.................................................................................................................................. done, booting the kernel.
Linux version 2.6.29.4-FriendlyARM (hgj@hgj-desktop) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 Sat Jul 7 01:47:43 CST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: FriendlyARM Mini2440 development board
Memory policy: ECC disabled, Data cache writeback
疑惑
明明在 内核的 头部 , 加载地址是30008000
为什么不能加载到这个内存去运行呢 |
|