[U-Boot] Antw: Re: [PATCH v4 6/6] MX31: Add NAND SPL boot support to i.MX31 PDK board.

Ulrich Gerster gersteru at dhbw-loerrach.de
Tue Jun 30 12:06:52 CEST 2009


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 <lilja.magnus at gmail.com> 23.06.09 23.31 Uhr >>>
>Hi

>>2009/6/22 Ulrich Gerster <gersteru at dhbw-loerrach.de>:
>> 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



More information about the U-Boot mailing list