Questions regarding JFFS2/NAND

Ajay Jain ajain at
Mon Sep 25 05:11:30 EDT 2006

Hi All, 

I have a few questions. Please help me to answer them, if you find

1. Is it possible to run JFFS2 on NAND Flash on 2.4. I am seeing that
the mtd website mentions that it is not supported. I do not clearly
understand what it means. Does it mean that mtd guys do not support it,
or does it mean that you can't run JFFS2 on nand in 2.4 at all.

2. On version 2.4.21, we see that 'ecc' is always disabled. It does not
really matter, as what value we set. Is anybody you aware of this issue.

3. Because of this, we backported 'mtd' from 2.6 version. Now the mtd
appears to be reasonably stable. But we still have the old jffs2 in
place. The new mtd does not allow unaligned writes, but jffs2 (the old
one) keeps sending unaligned requests. We modified the mtd layer to
handle this, but then the issue is that we are writing to the same page
again and again, as the writes are unaligned. But the ecc value can only
be written once. So this solution will not work either. It does work if
we switch off the ecc. Are you aware of any of these issues, is my
observation correct.

4. Is it realistically possible to backport 2.6 JFFS2 to 2.4.

Please help me to solve these issues. We want to run JFFS2 on 2.4/NAND.


More information about the linux-mtd mailing list