Re: data loss on jffs2 filesystem on dataflash

Artem B. Bityutskiy
2005-09-21T13:37:41Z

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 :-)