[Yaffs-archive] Re: Latest CVS

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: yaffs list, tglx
Subject: [Yaffs-archive] Re: Latest CVS
I downloaded the latest mtd cvs and overwrote 2.4.19-rmk4 with the mtd parts
from drivers/mtd and include/mtd. I then added back the fujitsu NAND part
defs and the balloon specific NAND drivers modifying them to use the new
orthodoxy using NAND_ECC_NONE and it is all just fine.

The HOWTO will now not suggest patching nand.c as previously posted.

I haven't incorporated the latest suggestions of Thomas' re yaffs speedups
as that is for Charles to decide on.

I also support the per-mtd-partition rather than per-mtd-device ecc mode
support as that would enable multiple file systems to reside on the same
device. This would have been helpful to me during development. Instead I
used two devices.

Nick Bane

----- Original Message -----
From: "Thomas Gleixner" <>
To: "Nick Bane" <>; "yaffs list"
<>
Sent: Friday, November 22, 2002 3:38 PM
Subject: Re: Latest CVS


> On Friday 22 November 2002 11:00, Nick Bane wrote:
>
> > 1) Patch the nand.c in mtd to ignore the ecc calculations if

NAND_ECC_NONE
> > is selected.
> > 3) Do ones own nand interface and make sure that NAND_ECC_NONE is

asserted
> > (be aware that this makes the rest of the chip unsuitable for

CRAMFS/JFFS2)
> Maybe it would be more conveniant to use the latest nand-code from

mtd-cvs,.
> where a lot of speedups were done and the selection of ECC is possible
> through the filesystem driver, as I posted on 9-25-02 on this list. The
> actual JFFS2 code supports this new behaviour and it should be no big deal

to
> modify yaffs to use it too. So you can use both on one system.
>
> This would surely increase the chance to get it into the kernel code

sometime.
>
> --
> Thomas
> ____________________________________________________
> linutronix - competence in embedded & realtime linux
> http://www.linutronix.de
> mail:
>
>



---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.