Re: [Yaffs] Problem with Yaffs on Routerboard RB112 andkerne…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David Goodenough
Date:  
To: yaffs
Subject: Re: [Yaffs] Problem with Yaffs on Routerboard RB112 andkernel2.6.19
On Thursday 17 May 2007, Alexandros C. Couloumbis wrote:
> Claudio Lanconelli <lanconelli.claudio <at> eptar.com> writes:
> > static struct nand_ecclayout nand_oob_16 = {
> >     .eccbytes = 6,
> >     .eccpos = { 8, 9, 10, 13, 14, 15 },
> >     .oobfree = { { 0, 4 }, { 6, 2 }, { 11, 2 } }
> > };

> >
> > with CONFIG_NAND_ECC_SMC = Y
> >
> > Be sure to use default Yaffs configuration.
> > Especially CONFIG_YAFFS_DOES_ECC = N
> >
> > The translate functions (translate_spare2oob) in mtdif.c should work
> > fine untouched.
>
> should this be a
> CONFIG_NAND_ECC_SMC = Y
> or
> CONFIG_MTD_NAND_ECC_SMC = Y
>
> regards,
>
> --alex

Neither. This approach does not work, Ian McDonnell is reworking
mtdif1.c and when that works we should have a complete solution but
as of now for some reason it does not work on 2.6.19 although it appears
to work on Ian's 2.6.21.

David