Skip to content

RFC DEBUG: relocate to fixed address

Wolfgang Denk u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address

Dear Henrik Nordstr?m,

Quoted 7 lines · In message <[email protected]> you wrote:
Quoted 4 lines

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

Signature · 8 lines
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.