[PATCH][MTD][NAND]Bad Block Management

Zhao Shengzhe-a18689 a18689 at motorola.com
Wed Aug 27 06:53:51 EDT 2008


See my comments below

-----Original Message-----
From: Ricard Wanderlof [mailto:ricard.wanderlof at axis.com] 
Sent: Wednesday, August 27, 2008 6:42 PM
To: Zhao Shengzhe-a18689
Cc: linux-mtd at lists.infradead.org
Subject: Re: [PATCH][MTD][NAND]Bad Block Management


On Wed, 27 Aug 2008, Sheng-Zhe Zhao wrote:

> Here come our patch and a short introduction for this patch. Any 
> comments are welcome.

I tried to find it in the code but failed, I was wondering, how are bad blocks detected - I mean ones that develop over time, not factory-marked bad blocks.
[Shengzhe Zhao]
The bad blocks will be detected by low-level hardware driver. The NAN devices have a Status Register that indicates whether an operation is successful or not. Additional Bad Blocks are identified when attempts to program or erase give errors in the Status Register. Since our patch is in MTD layer, so you cannot find the codes for detecting bad blocks.

> This patch implements "reserve block method" on Motorola's SCUM-A11 
> platform mobile devices.  With the Reserved Block method, any exist 
> bad

Why is it limited to this platform? The code looks generic enough.
[Shengzhe Zhao]
This patch is not limited to Moto platform only. Here we mentioned Moto platform just want to say it has been used in real product already. 

/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