public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alexander Holler <holler@ahsoftware.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] OMAP3: relocation and bss usage (timer, gpmc, ...)
Date: Thu, 02 Dec 2010 15:56:34 +0100	[thread overview]
Message-ID: <4CF7B3A2.4080407@ahsoftware.de> (raw)
In-Reply-To: <30358424.post@talk.nabble.com>

Am 02.12.2010 14:33, schrieb zfsdk:
>
> Maybe in init sequens asm func, i used turn on led to check which func faild.
>

Using a LED for debugging is time consuming. And you won't see which 
code still uses BSS before relocation as such code does not have to fail 
(it still might work). I prefer reading source. Using JTAG should help 
too, but I think, using JTAG and a debugger might got somewhat harder, 
at least after the code got relocated.
Anyway, a JTAG-debugger could help a lot searching the stuff which 
currently goes wrong before relocation. I assume single stepping the few 
dozen lines which are executed before relocation could be done in a few 
hours and it should reveal most of the code which accesses BSS before 
relocation.

Regards,

Alexander

      reply	other threads:[~2010-12-02 14:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30 16:28 [U-Boot] OMAP3: relocation and bss usage (timer, gpmc, ...) Alexander Holler
2010-11-30 18:21 ` Premi, Sanjeev
2010-11-30 22:59   ` Alexander Holler
2010-12-02 13:33     ` zfsdk
2010-12-02 14:56       ` Alexander Holler [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=4CF7B3A2.4080407@ahsoftware.de \
    --to=holler@ahsoftware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox