OneNAND: Update OOB free table

Timo Teras timo.teras at solidboot.com
Fri Dec 15 06:19:00 EST 2006


On Fri, Dec 15, 2006 at 12:41:53PM +0200, Artem Bityutskiy wrote:
> On Fri, 2006-12-15 at 02:38 +0000, Kyungmin Park wrote:
> > How about the the change the JFFS2 logic to skip the eccpos in cleanmark check.
> > In onenand_oob_64, it describes the eccpos. So the JFFS2 skip the eccpos
> 
> May you refine what is the problem please?

jffs2_check_oob_empty() check that the whole OOB area contains only 0xff
bytes except for the clean marker area. This is broken on OneNAND as writing
clean marker to OOB area will change ECC bytes.

Also the clean marker is not written properly as only the first oobfree
table element is used. But this is a different issue.

- Timo




More information about the linux-mtd mailing list