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

Kumar Gala kumar.gala at freescale.com
Fri Sep 11 20:07:48 CEST 2009


On Sep 11, 2009, at 1:06 PM, Scott Wood wrote:

> 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...

will fix this one.

>> +#ifdef CONFIG_NADN_SPL
>> static void tlbsx (const volatile unsigned *addr)
>
> And more importantly, here.

I've fixed that one.. see my latest v4 patch.

- k


More information about the U-Boot mailing list