From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from co202.xi-lite.net ([149.6.83.202]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QPVTN-00067D-OE for linux-mtd@lists.infradead.org; Thu, 26 May 2011 07:59:14 +0000 Date: Thu, 26 May 2011 09:58:36 +0200 From: Ivan Djelic To: Ricard Wanderlof Subject: Re: dangerous NAND_BBT_SCANBYTE1AND6 Message-ID: <20110526075836.GD22192@parrot.com> References: <4DB052DB.7040308@parrot.com> <4DB06A6B.2080806@gmail.com> <4DB14439.1050507@parrot.com> <20110525164107.GA16801@parrot.com> <0A40042D85E7C84DB443060EC44B3FD32A69415800@dekaexchange07.deka.local> <20110525183154.GA20866@parrot.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Cc: Artem Bityutskiy , Matthieu Castet , Ricard =?utf-8?Q?Wanderl=C3=B6f?= , "linux-mtd@lists.infradead.org" , Atlant Schmidt , Brian Norris List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, May 26, 2011 at 08:09:15AM +0100, Ricard Wanderlof wrote: > > On Wed, 25 May 2011, Ivan Djelic wrote: > > >>> ... > >>> 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. > >>> > >> ... > > 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