Hello,

thanks for this explanation. It help a lot to understand what is going on in 
the NAND_SPL.
But I have an addittional question.

I'm wondering where the initialization of the ram is done? Because I think the 
ram has to be set up before copying the 2kB preloader into the ram. 

Another thing I don't understand yet is how the boot mode of the mx31 is set? 
According the ref. manual the inputs NFC_FMS, /NF8BOOT, /NF16BOOT and 
NF_16BIT_SEL in the NANDFC have to be set to determine what kind of NAND Flash 
is used. I cannot find these settings anywhere in the u-boot code.

Thanks in advance.
Best Regards,
Ulrich Gerster

>>>> Magnus Lilja <[email protected]> 23.06.09 23.31 Uhr >>>
>Hi

>>2009/6/22 Ulrich Gerster <[email protected]>:
>> Hello,
>>
>> I'm trying to boot from my board with a i.MX31 and small page (512Byte) NAND 
>> Flash. I applied the patches in v4 which introduce the CONFIG_PRELOADER 
>> macro. The only example I found where this macro is used is in part 6/6 of 
>> the patch. There a separate folder structure in nand_spl for the PDK Board 
>> is created.
>> Could you describe the mode of operation of the CONFIG_PRELOADER macro and 
>> in particular NAND SPL? I'm not sure how to use this functionality in my 
>> case.

>The whole NAND booting procedure is described i
>http://lists.denx.de/pipermail/u-boot/2009-April/051826.html  . That
>description is still valid with the addition that CONFIG_PRELOADER is
>now defined when compiling the NAND SPL (in step 2). Also
>nand_boot_mx31.c has been renamed to nand_boot_fsl_nfc.c.

>Regards, Magnus

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to