dangerous NAND_BBT_SCANBYTE1AND6

Ivan Djelic ivan.djelic at parrot.com
Thu May 26 03:58:36 EDT 2011


On Thu, May 26, 2011 at 08:09:15AM +0100, Ricard Wanderlof wrote:
> 
> 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?

Exactly.

Ivan



More information about the linux-mtd mailing list