[U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards.

Magnus Lilja
2009-06-19T09:19:36Z

Hi

2009/6/19 Ulrich Gerster <gersteru@dhbw-loerrach.de>:
> Hi everybody
> and especially developers of i.MX31 NAND boot patches,
>
> I wrote an e-mail yesterday asking about the need of the mx31_nand.c file in drivers/mtd/nand/ folder. Since nobody answerd I tried to review the development of the latest patch "[PATCH v4 0/6] MX31: NAND boot for PDK boards." historically. It's probably a stupid question but for me as a u-boot newbe it would be very helpful.
>
> I started in August 2008 where I found the first patch called "[PATCH RFC 0/5] Add NAND Support..." and later two patches with the same title and the prefix [PATCH v2 0/6] and [PATCH v3 0/6] from Magnus Lilja.
> In October Mr. Assis posted a patch regarding to this topic aswell.
> In December and January Maxim Artamonov postet a patches to introduce NAND SPL support.
> In April then another series of patches from Magnus Lilja were posted with the title "[RFC 0/5] MX31: NAND boot for phyCORE and PDK boards." I think based on this in April version 2 and and in June now version 3 and 4 were posted by Magnus Lilja.
>
> As I can see the latest patch includes all the necessary code from the previous patches. So no other patch has to be applied to boot u-boot from a NAND Flash on a board with the i.MX31 ?

That's correct.

> But I had a very hard time doing this review and I'm not 100% sure if I'm correct
> Would be very nice if someone could tell me if I'm right and if not tell me what I need more to boot from a NAND flash.

Booting U-Boot from NAND Flash on i.MX31 PDK requires nothing else.
However, the current U-Boot does not have support to have the U-Boot
environment or kernel in NAND since the mx31_nand.c driver is missing.
There have been a number of patches containing such a driver but so
far no one has been accepted.

Regards, Magnus