Yaffs2 on None-ECC MTD

Woody Wu narkewoody at gmail.com
Sun Aug 18 02:22:48 EDT 2013


On Sat, Aug 17, 2013 at 05:43:56PM +0200, richard -rw- weinberger wrote:
> On Sat, Aug 17, 2013 at 2:37 PM, Woody Wu <narkewoody at gmail.com> wrote:
> > On Sat, Aug 17, 2013 at 12:58:41PM +0200, richard -rw- weinberger wrote:
> >> On Sat, Aug 17, 2013 at 10:28 AM, Woody Wu <narkewoody at gmail.com> wrote:
> >> > Hi,
> >> >
> >> > Does Yaffs2 file system has its own capabilities to do ECC? My NAND
> >> > driver for some reason cannot enable ECC yet.  Also I want to ask the
> >> > same question to Jffs2.
> >>
> >> The Linux MTD subsystem is able to do software ECC.
> >>
> > By far, I cannot enable any kind of ECC from MTD yet, since my u-boot
> > has some problem cannot do correct ECC and my root file system image is
> > flashed by u-boot. If I enabled ECC from MTD, my root file system cannot
> > mount.
> 
> Then fix your uboot. Or at least hire someone to do so.
> Otherwise you *will* encounter massive problems.
> 
> > Do you know whethe Yaffs2/Jffs2 has their own build-in ECC function?
> > Googled this but not get clear answer.
> 
> IIRC yaffs2 has it's own ECC stuff. It writes into the spare area which is
> a no-go and one of the reasons why it's not mainline.
> 

Hi, Richard,

Many thanks for your information and suggestions. I will be doing some
homework and tryings before come back.

-- 
I can't go back to yesterday - because I was a different person then



More information about the Kernelnewbies mailing list