[PATCH] nandwrite: add --nobad to write bad blocks

Jon Povey Jon.Povey at racelogic.co.uk
Wed Sep 29 23:51:22 EDT 2010


linux-mtd-bounces at lists.infradead.org wrote:
> On Wed, Sep 29, 2010 at 08:59, Artem Bityutskiy wrote:
>> But speaking about erasing bad eraseblocks, which we also discussed,
>> I think you have a good point - we should probably distinguish
>> between factory-marked bad eraseblocks and user-marked. AFAIR, the
>> OOB marker for them was even different, or in BBT, do not really
>> remember.

> i think you're correct here too.  i havent seen any indication that
> factory-marked bad blocks are distinguished in any way from
> user-marked bad blocks.  either in the software BBT or in the OOB
> layout. -mike

I remember reading somewhere that the BBT is designed to distinguish
them, e.g. here:
http://wiki.laptop.org/go/NAND_Flash_Bad_Block_Table#Bad_Block_Table_Format

I haven't looked in the code to see if that's actually used, though.


--
Jon Povey
jon.povey at racelogic.co.uk

Racelogic is a limited company registered in England. Registered number 2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB .

The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network





More information about the linux-mtd mailing list