[U-Boot] 'Relocation' for sc520 (i386) based boards

Graeme Russ graeme.russ at gmail.com
Mon Sep 22 14:57:42 CEST 2008


Sorry, but the mailing list seems to keep cutting off half my
message at one of the blank lines - deleting them

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