
On Sunday, September 06, 2015 at 03:49:20 PM, Thomas Chou wrote:
Hi Marek,
Hi,
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/intellectu al-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.
Uh oh, is this copying something the U-Boot SPL cannot do for us ?
Sorry, I might be a bit lost in the "official" ways because I'm too used to mainline ;-)
Best regards, Marek Vasut