[U-Boot-Users] I can't debug U-BOOT after relocation in ram

Andre Puschmann andre.puschmann at stud.tu-ilmenau.de
Mon Feb 5 15:07:37 CET 2007


Hey,
another problem can be that you have a wrong address offset for your gdb
after relocation?
i also had problems with the address offset while using this faq.
try to enable uboot debug and have a look at the relocation address that
is printed out or try using gdb to find out the right address before
u-boot relocates itself to ram.


Regards,

Andre





Andre Puschmann wrote:
> Hey Patrick,
> if you can't stop in board_init_r() than most properly there is
> something wrong with your sdram initialization.
> Do you have any serial output?
> 
> 
> Regards,
> 
> 
> Andre
> 
> 
> 
> Patrick URIE wrote:
>> Hello,
>>
>>  
>>
>> I try to debug U-boot in flash with GDB version 6.5 + BDI 2000.
>>
>> I have followed topic about RAM relocation from DENX web.
>>
>> but when U-BOOT is relocated in Ram, I can’t stop it at board_init_r().
>>
>>  
>>
>>  
>>
>> My custom Board configuration is:
>>
>>  
>>
>> Hardware :
>>
>> ---------------
>>
>> -MPC875,
>>
>> -64MB (Top address 0x4000000)
>>
>> -2MB flash
>>
>>  
>>
>> Software :
>>
>> ---------------
>>
>> U-BOOT 1.4.4 in flash at 0xFE000000
>>
>> Relocation address (read in R5 register) is 0x3FB00000
>>
>> DER register value is 0x2006000F
>>
>>  
>>
>> Thank you for your reply.
>>
>>  
>>
>> ---------------------------------------
>> Urié Patrick
>> Software engineer
>> ReFLEX Custom Embedded Systems
>> 6, rue du Velay - SILIC 1743 Lisses
>> 91047 EVRY Cedex - FRANCE
>> Phone  : +33 (0) 169 870 255 (ext. 140)
>> Fax    : +33 (0) 164 972 859
>>
>> ---------------------------------------
>>
>>  
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier.
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> U-Boot-Users mailing list
>> U-Boot-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642





More information about the U-Boot mailing list