Problems with NAND support

David Woodhouse dwmw2 at
Tue Aug 7 12:01:22 EDT 2001

laurajames at said:
> We're going to be working on a new board with large amounts of NAND
> flash in the immediate future. It would seem to be a much better idea
> to go with jffs2 than jffs.  What will we need to do to get it
> working? 

> Any pointers you can give will be very much appreciated.


1. Deal with the 10-write-per-page restriction on NAND chips. Probably just 
by keeping track of the number of writes to a page and when dishing out the 
tenth chunk (which will be rare, most nodes will be greater than 1/10 of a 
page) mark the remainder of the page as obsolete.

2. Ideally, we should do ECC instead of just the CRC we have at the moment.
We need to invent two new node types with ECC to parallel the original inode
and dirent nodes.

3. Be better about detecting bad blocks and treating them appropriately. 


More information about the linux-mtd mailing list