dangerous NAND_BBT_SCANBYTE1AND6
Ricard Wanderlof
ricard.wanderlof at axis.com
Thu May 26 03:09:15 EDT 2011
On Wed, 25 May 2011, Ivan Djelic wrote:
>>> <digression> ...
>>> And recent Micron devices do not store markers in flash; they just
>>> return 0x00 for any byte read in a bad block (instead of the real
>>> data), using an internal bad block table.
>>> </digression>
>> ...
> Note that the usual bad block detection still works on those Micron devices.
> They just do not store markers in flash.
>
> You can still mark a block gone bad either by writing your own marker into the
> block or (better) in a separate BBT. The internal Micron table is hard-wired
> and only used to shortcut access to factory bad blocks AFAIK.
Does this also mean that if you for some reason screw up and mark lots of
(good) blocks as bad, you can just erase all blocks in the flash; the
factory-bad ones will refuse to be erased thanks to the on-chip bbt?
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
More information about the linux-mtd
mailing list