Anyone using mtd on NAND flash? (Was: The archives [looking for info on AM29LV640 flash])

David Woodhouse dwmw2 at infradead.org
Fri Aug 25 08:15:59 EDT 2000


bjorn at brannstrom.se said:
>  I've just been across the hall to strangle our hardware engineer (who
> happens to also be my boss). He /intended/ to use the AM29LV640 part
> but had problems finding a reliable source for them so we're using
> Samsungs KM29U128 part instead.

Don't strangle him. Have him hung, drawn and quartered.

The KM29U128 is an _entirely_ different beast. NAND flash is quite 
different to NOR flash.

With NOR flash, you can keep clearing bits individually until they're all
zero. With NAND flash you can only do 10 write cycles in each 512-byte page
before it becomes unreliable and you have to erase it again. JFFS currently
exceeds that number.

Also, NAND flash is permitted to ship with bad blocks and you're expected to
work round them. JFFS doesn't, and JFFS-on-NAND should probably use an error
correcting checksum rather than the simple checksum it currently uses.

He's just replaced something you could use with the current code with 
something we're not going to support for some time, unless you care to do 
the necessary work yourself.

You can't use NFTL, as we do on the DiskOnChip, because it's patented, and
even if you were only going to distribute within the Free World, the NFTL
code requires the built-in ECC support provided by the DiskOnChip ASIC.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list