[U-Boot] [RFC] Sunxi NAND support for U-Boot

Hans de Goede
2015-06-06T15:11:30Z

Hi,

On 05-06-15 13:52, Roy Spliet wrote:
> Following up on earlier SPL patches, here a series based on Yassin Jaffer's
> work to bring NAND support to U-boot. RFC because I know that the sunxi nand
> configuration options are dependent on a work-in-progress by Daniel - trying
> to deliver a single SPL for both MMC and NAND boot.
> Given I have spent the past few weeks learning how Boris' original driver
> works, I have probably grown a bit blind for potentially existing issues.
> Please provide plenty of feedback so I can bring this in good shape.
>
> Patches tested on an Olimex Lime with 4GB Hynix nand. Has a partition as
> defined in sunxi-common.h with two UBIFS partitions (boot, rootfs) set up in
> Linux. To me it feels self-explanatory how to set this up, but I've spent the
> last few weeks full-time on this, implying my view of the world and how it
> revolves around MTD is rather distorted. Feel free to ask directed questions
> if youdesire assistance in setting up and/or testing.

p.s.

If you want me to I can merge this, or the next version into my sunxi-wip
branch so that people can play with it. Chances are I will do that anyways
one of these days to play with it myself.

Talking about playing with this, can you provide a quick step by step on
howto setup the ubifs stuff under Linux, assuming a kernel + dts with
working nand support are present ?

Regards,

Hans