Restore the bad block flag in OOB of NAND flash

Thomas Gleixner tglx at linutronix.de
Thu Apr 17 18:20:58 EDT 2003


On Thursday 17 April 2003 22:49, Charles Manning wrote:
>
> One way to achieve what you want is to hack mkyaffs. mkyaffs erases the
> blocks in the partition, but first checks for bad block markers. If you
> comment out the check then it will erase the block regardless. This will
> set all the bits in the block to 1 (including the bad block marker).

Only if you hack drivers/mtd/nand/nand.c too, as there is a senity check, 
which refuses to erase bad blocks :)

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de




More information about the linux-mtd mailing list