Count bad blocks on NAND -

Martin Langhoff martin.langhoff at gmail.com
Tue Sep 1 11:01:59 EDT 2009


On Tue, Sep 1, 2009 at 1:48 PM, Martin
Langhoff<martin.langhoff at gmail.com> wrote:
> Note: The number is over-reported by 4 when you compare it with OFW --
> I am not sure why the accounting done by the MTD driver differs from
> the accounting done by OFW.

Looking at strace output over several XOs, it is always the last 4
blocks on the MTD device that are marked as 'bad'.

Maybe my patch is overshooting the mark somehow. Clearly those 4 "bad"
blocks are bogus.



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list