GPMI-NAND Status?
Lin Tony-B19295
B19295 at freescale.com
Mon Aug 15 02:30:58 EDT 2011
> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-
> kernel-bounces at lists.infradead.org] On Behalf Of Lothar Wa?mann
> Sent: Monday, August 15, 2011 1:41 PM
> To: Ivan Djelic
> Cc: Koen Beel; Wolfram Sang; Huang Shijie-B32955; linux-
> mtd at lists.infradead.org; Shawn Guo; linux-arm-kernel at lists.infradead.org
> Subject: Re: GPMI-NAND Status?
>
> Hi,
>
> Ivan Djelic writes:
> > On Fri, Aug 05, 2011 at 02:51:33PM +0100, Wolfram Sang wrote:
> > (...)
> > >
> > > problem overwriting all-0xff data in NAND [2]
> > > =============================================
> > >
> > > Although it occured only when writing JFFS2 images so far, this is a
> > > generic issue and needs to be fixed, right?
> > >
> > >
> > (...)
> > > [2]
> > > http://lists.infradead.org/pipermail/linux-mtd/2011-July/037104.html
> >
> > As explained in the thread linked above, this issue should be fixed in
> > your flashing tool, _not_ in your driver. The nand device you are
> > using does not support programming pages multiple times in a row;
> > pretending it does in the
> >
> It's not a problem of the device (Samsung K9F1G08U0B in my case)! The
> problem is that the controller generates an ECC code that is non-FF for
> all-FF data, which JFFS2 cannot handle properly.
>
As I know, this is BCH algorithm limitation for ECC.(non-FF ECC code for all-FF data)
So that BCH engine will ignore the ECC error when all data are 0xFF. That's the BCH usage for ECC.
Under such condition, I think it's the JFFS2 that should handle such case instead
Of BCH. So far more and more SOCs are using BCH for NAND ECC, JFFS2 can't escaping such problem if
Not changed.
>
> Lothar Waßmann
> --
> ___________________________________________________________
>
> Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
> Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
> Geschäftsführer: Matthias Kaussen
> Handelsregistereintrag: Amtsgericht Aachen, HRB 4996
>
> www.karo-electronics.de | info at karo-electronics.de
> ___________________________________________________________
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
More information about the linux-arm-kernel
mailing list