computersforpeace at gmail.com
Fri Aug 12 19:11:58 EDT 2011
On Fri, Aug 12, 2011 at 12:56 PM, ANDY KENNEDY <ANDY.KENNEDY at adtran.com> wrote:
> We have chosen to update from a very old NAND flash to MT29F1G08ABADAWP.
> This is a replacement part with internal ECC. I remember someone asking
> the list about whether this device is supported in the current kernel.
> Could someone help me refresh my memory and let me know whether this
> device should work with the current mtd drivers?
According to the data sheet, your driver would need to implement the
following for its read commands:
"When internal ECC is enabled, the READ STATUS (70h) command is
required after the
completion of the data transfer (tR_ECC) to determine whether an
error occured. (tR_ECC is the data transferred with internal ECC enabled.)"
I doubt that most (any?) of the in-kernel drivers do this currently.
But just in case, which driver are you using?
Also, it looks like this chip can come with internal ECC enable or
disabled, and this configuration is allegedly reflected in its chip ID
string. Don't know if this is configurable, but if so, then you could
disable internal ECC and use it with the current drivers.
For reference, you can check out the NAND support table here:
Some of the info is, admittedly, difficult to read for anybody but the
author :) Perhaps I'll fix it up some and include information about
internal ECC (since I overlooked that feature).
BTW, I couldn't find whatever previous request you are referring to. I
don't see MT29F1G08ABADAWP mentioned in the MTD archives.
More information about the linux-mtd