[U-Boot] [PATCH v2 4/8] nios2: enlarge the code relocation range

Thomas Chou thomas at wytron.com.tw
Sun Sep 6 15:49:20 CEST 2015


Hi Marek,

On 09/06/2015 09:18 PM, Marek Vasut wrote:
> Why so? The EPCS is memory mapped and U-Boot starts from it, right ? So
> U-Boot can relocate itself to the end of DRAM , right ?

No. EPCS contains a default boot copier which I said earlier.

Please take a look at this,

https://www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-alt-boot-methods.html

Though the default EPCS boot copier works, it is not easy to update 
u-boot(-dtb).bin image with u-boot sf command. So I used a modified 
version, which copies the u-boot image from a fixed location on EPCS/sf 
to the end of DRAM.

Best regards,
Thomas Chou


More information about the U-Boot mailing list