找回密码
 注册
搜索
查看: 589|回复: 1

[讨论] 有关u-boot-1.1.6引导linux 2.6的问题

[复制链接]
发表于 2007-4-17 22:25:26 | 显示全部楼层 |阅读模式
通过tftp将uImage下载到a0008000  
然后执行以下命令,如下,然后就重起了  
uboot# bootm a0008000  
## Booting image at a0008000 ...  
   Image Name:   Linux-2.6.20  
   Image Type:   ARM Linux Kernel Image (uncompressed)  
   Data Size:    1038640 Bytes = 1014.3 kB  
   Load Address: a0008000  
   Entry Point:  a0008000  
   Verifying Checksum ... OK  
   XIP Kernel Image ... OK  
No initrd  
## Transferring control to Linux (at address a0008000) ...  
                                                            
Starting kernel ...  
                     
undefined instruction  
pc : [<a000800c>]    lr : [<a3f11880>]  
sp : a3edfc3c  ip : 00000010  fp : 00000000  
r10: a3edfce0  r9 : ffd703b0  r8 : a3edffdc  
r7 : a3f149b4  r6 : a3f1b1cc  r5 : a0008040  r4 : 00000000  
r3 : a0008000  r2 : a0000100  r1 : 0000052b  r0 : 0012ea00  
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32  
Resetting CPU ...  
                    
resetting ...  
  
  
如果不是下载到a0008000,比如下载到a0200000,则会出现以下情形:  
boot# bootm a0200000  
## Booting image at a0200000 ...  
   Image Name:   Linux-2.6.20  
   Image Type:   ARM Linux Kernel Image (uncompressed)  
   Data Size:    1038640 Bytes = 1014.3 kB  
   Load Address: a0008000  
   Entry Point:  a0008000  
   Verifying Checksum ... OK  
OK  
No initrd  
## Transferring control to Linux (at address a0008000) ...  
                                                            
Starting kernel ...  
                     
Uncompressing Linux...........................................................
.......... done, booting the kernel.  
然后就动不了了。
发表于 2007-5-21 16:25:23 | 显示全部楼层
如果可以booting kernel了,那么就说明bootloader是好的,而且下载位置是对的吧!那问题应该就在image上了。我想是这样的。至于为什么a0008000这个地址不可以就不知道了!
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-10-7 02:22 , Processed in 0.046301 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表