Fwd: Re: JFFS2 NAND support - Mount failure on "good" filesystem

Joshua Wise joshua at joshuawise.com
Sun Feb 8 17:22:19 EST 2004

Hash: SHA1

<tglx1> joshua_: send a patch to the maillist :)

He asked, so I forwarded his patch.

(this patch adds support for chips that need to be sent a command for each 
page of OOB data requested.)


- ----------  Forwarded Message  ----------

Subject: Re: JFFS2 NAND support - Mount failure on "good" filesystem
Date: Sunday 08 February 2004 4:51 pm
From: Thomas Gleixner <tglx at linutronix.de>
To: Joshua Wise <joshua at joshuawise.com>

On Sunday 08 February 2004 20:38, you wrote:
> On Sunday 08 February 2004 3:58 am, Thomas Gleixner wrote:
> > Seems like you managed to corrupt the OOB area, as all your blocks are
> > marked as bad. Your programming algorithm has to take care of the OOB
> > data ! There are some slightly outdated docs on linux-mtd.infradead.org
> My programming algorithm is exactly the same as nandwrite's. I believe that
> the issue is not in JFFS2, but in the NAND driver - do we not need multiple
> pages of OOB data, and does the NAND driver not expect the chip to
> automatically "move on"? My chip seems to be the only NAND chip that does
> not automagically move on to the next page of OOB data...
> jwise

- --
linutronix - competence in embedded & realtime linux
mail: tglx at linutronix.de

- -------------------------------------------------------

- -- 
Joshua Wise | www.joshuawise.com
GPG Key     | 0xEA80E0B3
Quote       | <RockShox> charge up a 50v 1000uf cap and toss it to someone
Version: GnuPG v1.2.2 (GNU/Linux)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand.diff
Type: text/x-diff
Size: 1175 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20040208/732e6d77/attachment.bin 

More information about the linux-mtd mailing list