All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Avoiding Relocation on ARM When Earlier Bootloader Inits RAM?
@ 2011-02-14 17:01 Tim Kryger
  2011-02-14 18:07 ` Albert ARIBAUD
  2011-02-14 18:21 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Tim Kryger @ 2011-02-14 17:01 UTC (permalink / raw)
  To: u-boot

Hello,

After looking at code, searching the mailing list archive, and reviewing the git
commit log, I now understand that for ARM relocation is performed unless U-Boot
is already running at its final destination as computed within board_init_f. 
Since this computation attempts to back off from the end of RAM the resulting
address varies when U-Boot changes size.  On my board I have an earlier
bootloader that initializes RAM.  Presently, it copies U-Boot near the start of
RAM and lets U-Boot relocate itself to the end.  This is inefficient and I would
like to eliminate the extra copy.  I suspect that my situation is not unique and
would be grateful to anyone willing to share their thoughts or experiences on
how best to deal with this.

Thanks,
Tim Kryger

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-14 22:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 17:01 [U-Boot] Avoiding Relocation on ARM When Earlier Bootloader Inits RAM? Tim Kryger
2011-02-14 18:07 ` Albert ARIBAUD
2011-02-14 19:59   ` Tim Kryger
2011-02-14 18:21 ` Wolfgang Denk
2011-02-14 19:51   ` Tim Kryger
2011-02-14 21:22     ` Wolfgang Denk
2011-02-14 22:22       ` Tim Kryger

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.