[U-Boot] [PATCH v2 1/5] 85xx: add boot from NAND/eSDHC/eSPI support

Scott Wood scottwood at freescale.com
Fri Sep 11 20:06:22 CEST 2009


Mingkai Hu wrote:
> The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch
> implements these three bootup methods in a unified way - all of these
> use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM
> which lets us use the SPD to initialize the SDRAM.
> 
> For all three bootup methods, the bootup process can be divided into two
> stages: the first stage will initialize the corresponding controller,
> configure the L2SRAM, then copy the second stage image to L2SRAM and
> jump to it. The second stage image is just like the general U-Boot image
> to configure all the hardware and boot up to U-Boot command line.
> 
> When boot from NAND, the eLBC controller will first load the first stage
> image to internal 4K RAM buffer because it's also stored on the NAND
> flash. The first stage image, also call 4K NADN loader, will initialize

s/NADN/NAND/ here...

> +#ifdef CONFIG_NADN_SPL
>  static void tlbsx (const volatile unsigned *addr)

And more importantly, here.

-Scott


More information about the U-Boot mailing list