[Yaffs] ECC for 2k pages

Charles Manning manningc2@actrix.gen.nz
Wed, 16 Mar 2005 13:00:54 +1300


On Wednesday 16 March 2005 12:19, Lance Ware wrote:
>     I am currently working on support for a Samsung 512 MB Nand flash. =
 The
> nandwrite and nanddump utilites seem to work correct on the device but
> yaffs seems to overwrite the bad block marker on the pages. It only doe=
s
> this when i turn on ecc support for the NAND driver.  is there a change
> that needs to be make in order for ecc to work with the yaffs.
>

You need to choose whether you're using YAFFS' ECC handling or mtd's. You=
=20
cannot use them both because they can fight and stomp each other.

It is perhaps best to use the mtd ECC. That should keep things more=20
compatable.

-- CHarles