From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address
Date: Wed, 28 Nov 2012 10:24:35 +0100 [thread overview]
Message-ID: <20121128092435.71FD320104E@gemini.denx.de> (raw)
In-Reply-To: <1354059376.5475.6.camel@home.hno.se>
Dear Henrik Nordstr?m,
In message <1354059376.5475.6.camel@home.hno.se> you wrote:
>
> > How am I going to script gdb to figure out the relocation address when
> > I'm just running it on the image to get symbols, not actually
> > connecting to the target?
>
> It can be calculated from ram size and size of your u-boot binary
> including bss (reported by size on the elf binary).
This works only in very basic configurations of U-Boot.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A UNIX saleslady, Lenore,
Enjoys work, but she likes the beach more.
She found a good way
To combine work and play:
She sells C shells by the seashore.
next prev parent reply other threads:[~2012-11-28 9:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 5:44 [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address Tetsuyuki Kobayashi
2012-11-21 5:44 ` [U-Boot] [PATCH 1/2] DEBUG: fix relocation address Tetsuyuki Kobayashi
2012-11-21 8:24 ` Wolfgang Denk
2012-11-21 5:44 ` [U-Boot] [PATCH 2/2] DEBUG: make u-boot_r which is linked for fixed " Tetsuyuki Kobayashi
2012-11-21 8:22 ` [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address Wolfgang Denk
2012-11-27 22:22 ` Scott Wood
2012-11-27 23:36 ` Henrik Nordström
2012-11-28 9:24 ` Wolfgang Denk [this message]
2012-11-28 6:45 ` Wolfgang Denk
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=20121128092435.71FD320104E@gemini.denx.de \
--to=wd@denx.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.