免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2667 | 回复: 1
打印 上一主题 下一主题

[BootLoader] uboot自动重启问题分析 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-09 10:09 |只看该作者 |倒序浏览
本帖最后由 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
为什么不能加载到这个内存去运行呢

论坛徽章:
0
2 [报告]
发表于 2012-07-09 10:16 |只看该作者
  估计 是因为 内核里面有  代码从定位功能吧 ,可能这个功能有点问题,只能大于30008000
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP