* [U-Boot-Users] I can't debug U-BOOT after relocation in ram
@ 2007-02-05 12:50 Patrick URIE
2007-02-05 13:29 ` Andre Puschmann
0 siblings, 1 reply; 3+ messages in thread
From: Patrick URIE @ 2007-02-05 12:50 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] I can't debug U-BOOT after relocation in ram
2007-02-05 12:50 [U-Boot-Users] I can't debug U-BOOT after relocation in ram Patrick URIE
@ 2007-02-05 13:29 ` Andre Puschmann
2007-02-05 14:07 ` Andre Puschmann
0 siblings, 1 reply; 3+ messages in thread
From: Andre Puschmann @ 2007-02-05 13:29 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] I can't debug U-BOOT after relocation in ram
2007-02-05 13:29 ` Andre Puschmann
@ 2007-02-05 14:07 ` Andre Puschmann
0 siblings, 0 replies; 3+ messages in thread
From: Andre Puschmann @ 2007-02-05 14:07 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-05 14:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 12:50 [U-Boot-Users] I can't debug U-BOOT after relocation in ram Patrick URIE
2007-02-05 13:29 ` Andre Puschmann
2007-02-05 14:07 ` Andre Puschmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox