
Scott Wood scottwood@freescale.com wrote on 2010/10/12 21:20:26:
On Tue, 12 Oct 2010 21:13:19 +0200 Joakim Tjernlund joakim.tjernlund@transmode.se wrote:
Kim Phillips kim.phillips@freescale.com wrote on 2010/10/12
20:19:38:
On Tue, 12 Oct 2010 19:41:56 +0200 Joakim Tjernlund joakim.tjernlund@transmode.se wrote:
Kim Phillips kim.phillips@freescale.com wrote on 2010/10/12
19:31:25:
that moderate size increase in start.S breaks nand builds:
One thing I wonder about: How come NAND_SPL need GOT2 relocs but no FIXUPs? I figured either none or both.
I don't know; apparently FIXUPs aren't needed?
Fixups are needed unless your link address == load address. I guess you link at the load address? If so you should not need to relocate the GOT either.
We do need to relocate with NAND SPL. We start in the NAND buffer, but we have to move to RAM to free up the buffer for loading the rest of U-Boot.
Sure, but do you move to a specific RAM address and is it the same as your link address?