Hi Albert, On Fri, Sep 5, 2014 at 3:41 PM, Magnus Lilja <[email protected]> wrote: > Hi > > On 3 September 2014 23:32, Benoît Thébaudeau > <[email protected]> wrote: >> Some boards, like mx31pdk and tx25, require the beginning of the SPL >> code to be position-independent. For these two boards, this is because >> they use the i.MX external NAND boot, which starts by executing the >> first NAND Flash page from the NFC page buffer. The SPL then needs to >> copy itself to its actual link address in order to free the NFC page >> buffer and use it to load the non-SPL image from Flash before running >> it. This means that the SPL runtime address differs from its link >> address between the reset and the initial copy performed by >> board_init_f(), so this part of the SPL binary must be >> position-independent. >> >> This requirement was broken by commit 41623c9 'arm: move exception >> handling out of start.S files', which used an absolute address to branch >> to the reset routine. This new commit restores the original behavior, >> which just performed a relative branch. This fixes the boot of mx31pdk >> and tx25. >> >> Signed-off-by: Benoît Thébaudeau <[email protected]> >> Reported-by: Helmut Raiger <[email protected]> >> Cc: Albert Aribaud <[email protected]> >> Cc: Magnus Lilja <[email protected]> >> Cc: John Rigby <[email protected]> >> --- > > Tested-by: Magnus Lilja <[email protected]>
Should this one go through your tree? _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

