NAND diskonchip driver broken with NFTL DOC 2000

David Woodhouse dwmw2 at infradead.org
Fri Feb 2 12:12:22 EST 2007


On Mon, 2007-01-29 at 17:10 -0800, Michael Marineau wrote:
> I have been having a bit of an adventure trying to get a DiskOnChip
> 2000 (NFTL model) working properly with nandwrite/nanddump utilities
> and jffs2.  With the current version in 2.6.20-rc6 nandwrite/nanddump
> can properly read and write the main data area but writes to the oob
> area didn't do anything and reads just got garbage.  jffs2 was
> similar, generally working but could never find clearmarkes.
> 
> If I use the generic nand_read/write_oob_std functions from
> nand_base.c instead of nand_read/write_syndrome then
> nandwrite/nanddump operates perfectly for both the data area and oob.
> Unfortunatly with those oob functions swapped jffs2 is unhappy,
> throwing ecc errors constantly.  I didn't check if jffs2 was able to
> read the clearmarkers from oob. 

Does Artem's patch to use MTD_OOB_AUTO fix this?

-- 
dwmw2





More information about the linux-mtd mailing list