[Yaffs] [PATCH YAFFS2] yaffs1-ecc-fix

Luc Van Oostenryck lkml at looxix.net
Mon Aug 1 21:24:51 BST 2005


Artis Kugevics wrote:
> Hello,
> 
> I highly recommend adding this patch to yaffs2 for it to work correctly with 
> yaffs1 partitions.
> It is required to specify eccbytes for current MTD version, otherwise ECC will 
> fail.
> It is required to check return value after mtd->write_ecc() call, otherwise 
> write failures will not be detected.
> 
> Thanks,
> -Artis
> 

Yes, this solve the problem that I had yesterday.
I've applied it in my queue and will be put in CVS very soon.

Thanks.


Luc




More information about the yaffs mailing list