I can't debug U-BOOT after relocation in ram
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
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070205/d847c016/attachment.htm
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
Quoted 77 lines · Patrick URIE
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
0xFE000000Relocation address (read in R5 register) is
0x3FB00000DER register value is
0x2006000FThank 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
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
Quoted 98 lines · Andre Puschmann
Hey Patrick,
if you can't stop inboard_init_r()than most properly there is something wrong with your sdram initialization.
Do you have any serial output?Regards,
Andre
Quoted 71 lines · Patrick URIE
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
0xFE000000Relocation address (read in R5 register) is
0x3FB00000DER register value is
0x2006000FThank 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=121642Quoted 6 lines
------------------------------------------------------------------------
_______________________________________________
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