data loss on jffs2 filesystem on dataflash

Artem B. Bityutskiy dedekind at infradead.org
Wed Sep 21 09:36:10 EDT 2005


On Wed, 2005-09-21 at 12:27 +0200, Peter Menzebach wrote:
> My assumptions now:
> 
> We have to set the jffs2->sector_size to 8 * dataflash pagesize
> We have to set the jffs2->wbuf_size to dataflash pagesize (528/1056)
Yes, IMO.

> We have to set the mtd->erasesize to 8 * dataflash pagesize
For JFFS2 it is OK. But for other purposes it may be not OK. So, that's
up to you. MTD is NOR/NAND-centric at the moment. You may fix this.

> And still I didn't get the point, why it isn't working today....
Me too so far :-) If you send me a DataFlash-ed board - I'll dig
this :-)

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.





More information about the linux-mtd mailing list