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

2008-09-22 Thread yusuf khan
Hi Graeme you can have a look at cpu/pxa/start.S, in this it relocates the complete code including .text to ram. I dont think you need to do anything in the compiler or linker. Ya man it works, i have already ported u-boot on two boards -- Thanks & Regards Yusuf A Khan Multitech Software Syst

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

2008-09-22 Thread Graeme Russ
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 definite

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

2008-09-22 Thread Graeme Russ
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 wi

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

2008-09-22 Thread Graeme Russ
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 wi

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

2008-09-21 Thread Graeme Russ
Thanks again for you rapip response Jerry On Mon, Sep 22, 2008 at 3:29 AM, Jerry Van Baren <[EMAIL PROTECTED]> wrote: > Graeme Russ wrote: >> >> I started pondering if I should attempt to relocate U-Boot into RAM. > > Yes. All u-boot ports that I am aware of relocate themselves and run out of > R

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

2008-09-21 Thread Jerry Van Baren
Graeme Russ wrote: > Hi All, > > I've been thinking about where U-Boot runs in memory on my sc520 > based board and it appears that it is always executing from ROM and > I started pondering if I should attempt to relocate U-Boot into RAM. Yes. All u-boot ports that I am aware of relocate themsel

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

2008-09-21 Thread Graeme Russ
Hi All, I've been thinking about where U-Boot runs in memory on my sc520 based board and it appears that it is always executing from ROM and I started pondering if I should attempt to relocate U-Boot into RAM. Note: Please correct me if I am mistaken and U-Boot does indeed run from RAM on i386 /