[PATCH] i.mx35pdk add nand identification

Eric Bénard eric at eukrea.com
Thu Sep 6 10:39:39 EDT 2012


Hi,

Le Thu, 6 Sep 2012 17:20:41 +0300,
Alex Gershgorin <alexg at meprolight.com> a écrit :

>  
> > > >Hi Alex,
> 
> Le Thu, 6 Sep 2012 16:39:33 +0300,
> Alex Gershgorin <alexg at meprolight.com> a écrit :
> > > Without this patch I get following messages
> > >
> > > Board: Freescale MX35 3Stack
> > > NAND type unknown: ec,d7
> > > No NAND device found (-19)!
> > >
> > what is the part number of the NAND ?
> >
> > If I'm not mistaken
> >  K9LBG08U0D-PCB0
> >
> > > > this seems to be a 4GiB flash with 4k page + 218 OOB, not a 512MiB
> 
> If I understand correctly it should look like
> 
> {__NANDSTR("NAND 4GiB 3,3V 8-bit"), 0xD7, 0, 2048, 0, LP_OPTIONS}
> 
> 
> Right?
no 2048 means 2k page, this nand has 4k page.

kernel has :
{"NAND 4GiB 3,3V 8-bit",	0xD7, 0, 4096, 0, LP_OPTIONS},

which should be the right configuration.

Eric



More information about the barebox mailing list