From mboxrd@z Thu Jan 1 00:00:00 1970 From: J. William Campbell Date: Mon, 04 Oct 2010 22:41:50 -0700 Subject: [U-Boot] [RFC] [PATCH] arm: arm926ejs: use ELF relocations In-Reply-To: <20101005053017.324B51539A0@gemini.denx.de> References: <1286229705-16019-1-git-send-email-albert.aribaud@free.fr> <4CAA50AA.3000608@free.fr> <20101005053017.324B51539A0@gemini.denx.de> Message-ID: <4CAABA9E.6050609@comcast.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/4/2010 10:30 PM, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message<4CAA50AA.3000608@free.fr> you wrote: >> Remember: this patch only applies to boards which boot from NOR FLASH! >> You can test it on other types of boards (NAND-based, etc) for >> regression testing, but nothing more. > Assuming the NAND loder does not load U-Boot to it's final location > at the upper end of RAM, but - say - somewhere in lower memory, the > standard relocation preocess will be running, so I think there should > be no real difference between (such) NAND booting systems and NOR > booting ones - or am I missing something? FWIW I think you are right. If u-boot is linked for the address where the NAND loader put it, everything should work fine. It can size memory, move a copy of u-boot to the top of memory, and branch to the entry point that continues initialization. Bill Campbell > Best regards, > > Wolfgang Denk >