[U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

Marek Vasut marex at denx.de
Tue Nov 24 14:53:35 CET 2015


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


More information about the U-Boot mailing list