From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Mon, 22 Sep 2008 22:57:42 +1000 Subject: [U-Boot] 'Relocation' for sc520 (i386) based boards In-Reply-To: <48D7951D.9020401@gmail.com> References: <48D600F8.9080801@gmail.com> <48D6848B.3000900@gmail.com> <48D7951D.9020401@gmail.com> Message-ID: <48D79646.8000705@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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