From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 7 Sep 2015 02:53:31 +0200 Subject: [U-Boot] [PATCH v2 4/8] nios2: enlarge the code relocation range In-Reply-To: <55ECD8DC.9090305@wytron.com.tw> References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <201509061723.52036.marex@denx.de> <55ECD8DC.9090305@wytron.com.tw> Message-ID: <201509070253.31192.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 Monday, September 07, 2015 at 02:22:52 AM, Thomas Chou wrote: > Hi Marek, Hi! > On 09/06/2015 11:23 PM, Marek Vasut wrote: > > Uh oh, is this copying something the U-Boot SPL cannot do for us ? > > Though U-Boot SPL can do, it will need 64KB onchip memory. While the > EPCS controller needs only 512B onchip memory. So we didn't ever > consider SPL for nios2. Where did that 64KB figure come from ? :O I assume the simple loader is just a copy loop, huh ? And you synthesise a small RAM or ROM into the FPGA and point NIOS to boot from that, right? What about U-Boot TPL, can that cook the loader ? (yes, I'd like to be as independent of the external code as possible). Best regards, Marek Vasut