[U-Boot] [PATCH v2 4/8] nios2: enlarge the code relocation range
Marek Vasut
marex at denx.de
Sat Sep 5 14:50:46 CEST 2015
On Saturday, September 05, 2015 at 04:17:05 AM, Thomas Chou wrote:
> Hi Marek,
Hi,
> On 09/04/2015 09:59 PM, Marek Vasut wrote:
> > Can't you just call relocate_code the same way arm does it in
> > arch/arm/lib/crt0.S ?
>
> We didn't include relocation records in nios2 binary image, so there is
> no real relocation like that of ARM.
Can we add them instead ?
> Altera provides small boot loaders for cfi/sf along with their nios2
> jtag flash programmer, which will load the image to the linked address
> in sdram. The relocating loop in start.S works only if such Altera boot
> loader is not used, ie, booting directly from cfi flash.
Hm, Im not using the Altera loader :)
Best regards,
Marek Vasut
More information about the U-Boot
mailing list