On Sat, Aug 17, 2013 at 2:37 PM, Woody Wu <narkewoody@xxxxxxxxx> 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@xxxxxxxxx> 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. -- Thanks, //richard _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies