Erasing NAND bad blocks?

Thomas Gleixner tglx at linutronix.de
Wed Aug 10 17:38:47 EDT 2005


On Thu, 2005-08-11 at 08:08 +1200, Charles Manning wrote:
> As this comes around often wrt YAFFS1, I think there are two things that can 
> be done in YAFFS to help address the issue:
> 1) Make the bad block marker used in YAFFS1 something that is easy to 
> recognise (eg. 'Y' ) instead of 0x00. That way it should be easy to recognise 
> yaffs -vs- factory marked bad blocks.
> 2) Add a config in yaffs to not do any bad block marking during board bring 
> up.

2) is the safe way, but it should be blocked in the MTD/NAND layer to
protect all fs developers from the usual complaints resulting from "try
and error bring up"

tglx






More information about the linux-mtd mailing list