All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Puschmann <andre.puschmann@stud.tu-ilmenau.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] I can't debug U-BOOT after relocation in ram
Date: Mon, 05 Feb 2007 15:07:37 +0100	[thread overview]
Message-ID: <eq7dnf$jmk$1@sea.gmane.org> (raw)
In-Reply-To: <eq7bgj$9mg$1@sea.gmane.org>

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

      reply	other threads:[~2007-02-05 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='eq7dnf$jmk$1@sea.gmane.org' \
    --to=andre.puschmann@stud.tu-ilmenau.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.