From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 6 Sep 2015 17:23:51 +0200 Subject: [U-Boot] [PATCH v2 4/8] nios2: enlarge the code relocation range In-Reply-To: <55EC4460.30504@wytron.com.tw> References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <201509061518.30258.marex@denx.de> <55EC4460.30504@wytron.com.tw> Message-ID: <201509061723.52036.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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