Repairing at the lowest level: - copy whatever block data is still readable (if useful) to a new block.
- mark the old block as bad so it will be skipped in the future. - adjust the file system administration to use the new block. If you use the MTD layer it does not implement this internally, you will need to do that in the application layer. A filesystem like JFFS2 or YAFFS should do it for you, but I tink JFFS2 does not implement full recovery after a block failure. Maybe the newer UBI and UBIFS layers fix this problem, UBI should have much better error recovery. See http://www.linux-mtd.infradead.org/faq/general.html Kind regards, Arie de Muijnck ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, January 15, 2009 12:09 To: [email protected]; [email protected] Subject: RE: ECC Error in NAND Hi Steven, Thanks for your response. Does anyone know how to fix ECC errors? Regards, Jitendra ________________________________ From: Gorwood, Steve [mailto:[email protected]] Sent: Monday, January 12, 2009 8:41 PM To: Jain, Jitendra [PROTOOL/RTC/IN]; [email protected] Subject: RE: ECC Error in NAND Normally that error indicates that more than 4 errors were found in a 512 byte sector of the NAND device, so that the ECC could not fix all errors. Regards, Steven Gorwood ________________________________ From: davinci-linux-open-source-bounces+sgorwood=ti....@linux.davincidsp.com [mailto:[email protected] sp.com] On Behalf Of [email protected] Sent: Monday, January 12, 2009 4:12 AM To: [email protected] Subject: ECC Error in NAND Hi all, I am getting error in ECC_STATE bits of NANDFSR register. Error is "Errors cannot be corrected". I am using DM355 based custom board. Does anyone know the cause for this error? Regards, Jitendra -------------------------------------------------------- CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify Arie de Muijnck by telephone or [email protected] and delete the original transmission and its attachments without reading or saving in any manner.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
