RE: [Yaffs] ECC byte ordering (Possibly: SIGH, AGAIN?)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Steve Wahl
CC: yaffs
Subject: RE: [Yaffs] ECC byte ordering (Possibly: SIGH, AGAIN?)
Thanx for pointing that out. Sometimes it is easy to forget the
assumptions.



> -----Original Message-----
> From:
> [mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of Steve Wahl
> Sent: Thursday, 10 February 2005 8:16 a.m.
> To: Steve Wahl
> Cc:
> Subject: Re: [Yaffs] ECC byte ordering (Possibly: SIGH, AGAIN?)
>
>
> Hi, again,
>
> I'm committing the wonderful sin of replying to my own
> message! But thinking about this from a newbie's point of
> view, it occured to me that my fundamental disconnect was in
> not recognizing that "Steven Hill's nand_ecc.c" *IS* the "ECC
> functions of the generic MTD-NAND driver", as referred to in
> the original help docs for these two options.
>
> To try and connect the two phrases is probably the biggest
> motivation for me in suggesting changes (repeated below) to
> the Kconfig help strings.
>
> Again, thanks for listening.
>
> --> Steve Wahl
>
> On Wed, Feb 09, 2005 at 10:57:38AM -0600, Steve Wahl wrote:
> >
> > ----------------------Cut here--------------------------------------
> >  +config YAFFS_USE_NANDECC
> >  +    bool "Use ECC functions of the generic MTD-NAND driver"
> >  +    depends on YAFFS_FS
> >  +    default y
> >  +    help
> >  +      This enables the ECC functions of the generic MTD-NAND driver.
> >  +      This will not work if you are using the old mtd.
> >  +
> >  +      NB Use NAND ECC does not work at present with yaffsram.
> > ++
> > ++      NB Use NAND ECC has a different ECC byte order than the
> > ++      normal yaffs_ecc.c, and the resulting filesystem format is
> > ++      binary incompatible with a previously existing yaffs 
> filesystem.
> > ++      (This different ordering is the same as yaffs_ecc.c generates
> > ++      when ECC_WRONG_ORDER is turned on.)
> >  +
> >  +      If unsure, say Y.
> >  +
> >  +config YAFFS_ECC_WRONG_ORDER
> >  +    bool "Use the same ecc byte order as Steven Hill's nand_ecc.c"
> >  +    depends on YAFFS_FS
> >  +    help
> >  +      This makes yaffs_ecc.c use the same ecc byte order as
> > -+      Steven Hill's nand_ecc.c. If not set, then you get the
> > -+      same ecc byte order as SmartMedia.
> > ++      Steven Hill's nand_ecc.c (part of the MTD-NAND driver).
> > ++      If not set, then you get the same ecc byte order as 
> SmartMedia.
> >  +
> >  +      If unsure, say N.
> >  +
> > ----------------------Cut here--------------------------------------

>
> _______________________________________________
> yaffs mailing list
>
> http://stoneboat.aleph1.co.uk/cgi-> bin/mailman/listinfo/yaffs
>