[U-Boot] 'Relocation' for sc520 (i386) based boards
Graeme Russ
graeme.russ at gmail.com
Mon Sep 22 14:52:45 CEST 2008
I seem to be getting into a habit of (partially) answering my own
questions, but I figure these self answered questions may help
someone in the future...
Firstly, the i386 port definitely does not relocate - Two sources of
proof -1) /cpu/i386/start.S is where bss and data get initialised in
RAM with no copy of .text and 2) the startup banner gives it all away
U-Boot code: 38040000 -> 3805158F data: 00400000 -> 00400A57
^^^^^^^^^^^^^^^^^^^^
BSS: 00400A58 -> 00404463 stack: 00404464 -> 0040C463
start.S sets up the stack, copies .data & .got to 0x400000, and
clears .bss
More information about the U-Boot
mailing list