linux-sunxi / u-boot-sunxi

Allwinner A1x native u-boot support
https://github.com/linux-sunxi/u-boot-sunxi/wiki
316 stars 333 forks source link

Nand support #84

Closed Philippe12 closed 1 year ago

Philippe12 commented 9 years ago

Hi I try to add nand support on uboot.

But I have a question in uboot the nand is normally manage by mtd device but in kernel it manage by block.

Which will it be the best work :

hno commented 9 years ago

lör 2015-05-16 klockan 02:21 -0700 skrev Philippe FOUQUET:

But I have a question in uboot the nand is normally manage by mtd device but in kernel it manage by block.

Allwinner have a block driver ontop of their nand, but normally NAND drivers in the kernel is also MTD.

Which will it be the best work :

  * to add under mtd for uboot and change the driver for kernel.

Yes

Kernel & u-boot MTD drivers is in progress. First kernel version is available mainline. But much help is needed if you are interested.

  * to add like block device in uboot (that no standard) and don't
    change the nand driver in kernel.

The Allwinner block NAND driver is a very odd beast, and is very unlikely to get into mainline Linux or u-boot versions.

Regards Henrik

Philippe12 commented 9 years ago

It's great I worked on and driver on mtd I can read/write and in integer fast boot for android. But it work in FEL mode. I din't find where I must write in nand the SPL for booting?

Philippe12 commented 9 years ago

How can i help you?

hno commented 9 years ago

tis 2015-05-26 klockan 05:20 -0700 skrev Philippe FOUQUET:

How can i help you?

See mailinglist. Discussed a lot recently and a lot of progress is made.

Regards Henrik

Philippe12 commented 1 year ago

to old