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 does
> 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
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
compatable.
-- CHarles