public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Questions regarding JFFS2/NAND
@ 2006-09-25  9:11 Ajay Jain
  2006-09-25 10:50 ` Josh Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Ajay Jain @ 2006-09-25  9:11 UTC (permalink / raw)
  To: linux-mtd

Hi All, 

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

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.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Questions regarding JFFS2/NAND
  2006-09-25  9:11 Questions regarding JFFS2/NAND Ajay Jain
@ 2006-09-25 10:50 ` Josh Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2006-09-25 10:50 UTC (permalink / raw)
  To: ajain; +Cc: linux-mtd

On 9/25/06, Ajay Jain <ajain@neomagic.com> wrote:
>
> 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.

The latter.  Unless you attempt to backport the code from 2.6.  And
that is definitely unsupported.

> 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.

You would need newer JFFS2.

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

No, not really.

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

http://linux-mtd.infradead.org/source.html#kernelversions

josh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-25 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25  9:11 Questions regarding JFFS2/NAND Ajay Jain
2006-09-25 10:50 ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox