[Yaffs-archive] Re: Restore the bad block flag in OOB of NA…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Gleixner
Date:  
To: manningc2, Paul, linux-mtd, yaffs list
Subject: [Yaffs-archive] Re: Restore the bad block flag in OOB of NAND flash
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:


---------------------------------------------------------------------------------------
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 with the text "unsubscribe"
(without the quotes) as the subject.