nand_imx 4k support ?
Eric Bénard
eric at eukrea.com
Sun Apr 1 08:45:18 EDT 2012
Hi Baruch and Gabriel,
Le Sun, 1 Apr 2012 13:49:35 +0300,
Baruch Siach <baruch at tkos.co.il> a écrit :
> On Sun, Apr 01, 2012 at 11:58:53AM +0200, Gabriel Tisan wrote:
> > Has anybody started to implement support for flashes with 4k page size
> > on nand_imx driver ?
>
> 4k flashes should be supported in nand_imx since version v2011.05. See commit
> 4b4958dbb73e6fb553aaf91d539ff3e22bfe9e40 (mtd/nand_imx: add support for page
> size of 4k). I've tested it on i.MX25.
>
newer flashs are using ONFI and thus some 4k flashes are not properly
detected actually in barebox which may be the problem that Gabriel
actually have.
http://en.wikipedia.org/wiki/Open_NAND_Flash_Interface_Working_Group
http://onfi.org/specifications/
I have the same requirement on an i.MX53 board (for the moment I
hard coded the right values to bypass the flash detection which
returned wrong results, the 4k falsh being detected as a 2k one) and
plan to work on this during april but hard to say when so that may be
beginiong of may.
Eric
More information about the barebox
mailing list