Re: [U-Boot] U-Boot Relocation (all sections, not just .text)

2008-10-10 Thread Andrew Dyer
On Fri, Oct 10, 2008 at 6:55 AM, Haavard Skinnemoen <[EMAIL PROTECTED]> wrote: > "Graeme Russ" <[EMAIL PROTECTED]> wrote: >> - Am I looking at the problem the wrong way? > > No, I think you're on the right track. > >> - Has anyone here looked into making U-Boot 100% relocatable before? > > I've l

Re: [U-Boot] U-Boot Relocation (all sections, not just .text)

2008-10-10 Thread Haavard Skinnemoen
"Graeme Russ" <[EMAIL PROTECTED]> wrote: > - Am I looking at the problem the wrong way? No, I think you're on the right track. > - Has anyone here looked into making U-Boot 100% relocatable before? I've looked at it briefly and come to the conclusion that -pie is probably the way to go. But I

[U-Boot] U-Boot Relocation (all sections, not just .text)

2008-10-09 Thread Graeme Russ
Hi All, I am trying to fully relocate U-Boot out of the Boot Flash into RAM on my i386 (AMD sc520) board in order to allow the Boot Flash to be flashed from within U-Boot itself (upgrade in place) I have added code to patch the command table so all the code can be relocated. Further investigation