Block numbers of BEB

Woody Wu narkewoody at gmail.com
Sun Oct 5 08:58:12 PDT 2014



On October 5, 2014 10:53:21 PM GMT+07:00, Richard Weinberger <richard at nod.at> wrote:
>Am 05.10.2014 17:49, schrieb Woody Wu:
>> What I said of checking /proc is wrong. What I indeed checked was
>/sys/class/ubi as you mentioned. The problem is, under the
>/sys/class/ubi, there is no information about what blocks are marked as
>bad, there is only information about the total number of bad blocks.
>
>Ah, you don't want the number of bad blocks, you want a map of bad
>blocks.

Yes, exactly!

>IIRC UBI does not expose this information.

I am afraid, some initial bad blocks actually came with the Flash manufacturer and recorded in some starting blocks of the Flash, is that right?

>
>Thanks,
>//richard

-- 
sent from mobile



More information about the linux-mtd mailing list