From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 24 Nov 2015 14:53:35 +0100 Subject: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10 In-Reply-To: <1448372051.2057.7.camel@altera.com> References: <1447968947-8395-1-git-send-email-dinguyen@opensource.altera.com> <201511241031.12916.marex@denx.de> <1448372051.2057.7.camel@altera.com> Message-ID: <201511241453.35944.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 Tuesday, November 24, 2015 at 02:34:11 PM, Chin Liang See wrote: > Hi Marek, [...] > > > For this support, user can use U-Boot to load arbitrarily-sized U > > > -Boot > > > that run on SDRAM. > > > > > > One of the nice thing of U-Boot over SPL is the console support and > > > ability to troubleshoot. > > > This is possible with Arria 10 SoC as we have larger OCRAM (256kB > > > vs CV > > > SoC 64kB). > > > > OK, that's not really the point here -- the point is, if you compile > > enough > > features into U-Boot, it will be bigger than those 256k. What will > > you do > > then ? > > For this case, we will have 4 boot stages where a minimal U-Boot that > run on OCRAM to load a larger U-Boot which will run on SDRAM. For > better explanation, here are the events for this 4 boot stages. > > 1. BootROM load minimal U-Boot to OCRAM > 2. Minimal U-Boot initialize all the critical HW such as clocks, DDR > 3. Minimal U-Boot load larger U-Boot to SDRAM > 4. Larger U-Boot will then load Linux > 5. Linux boot Well replace the "minimal U-Boot" with SPL, that should be much simpler task to implement. Best regards, Marek Vasut