Corrupt empty space

Artem Bityutskiy dedekind1 at gmail.com
Tue Mar 11 03:46:40 EDT 2014


On Tue, 2014-03-11 at 05:31 +0000, Kent Li wrote:
> Frederic,
> 
> I'm not sure if this is the unstable bit issue, but I just resolved such issue by enhancing my Nand driver in both Uboot code and Linux code.
> 
> The main idea is:
> Read a page
> If ( ECC fail ) ;then
> 	Check the how many 0 bit there is.
> 	If ( 0 bit number > tolerance value) //tolerance value is depends on the ECC correctable bits.
> 		Print "Fail to recover by ECC"
> 	Else
> 		Force change the 0 bits to 1
> 	fi
> fi

Off the top of my head, this sounds reasonable. Too bad people people do
not just go and fix this in upstream...

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list