[Yaffs-archive] Re: Restore the bad block flag in OOB of NAND flash

Thomas Gleixner tglx@linutronix.de
Fri, 18 Apr 2003 00:20:58 +0200


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@linutronix.de


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.