UBIFS and bad blocks

Daniel Drake dsd at laptop.org
Fri Sep 16 13:56:11 EDT 2011


Hi Tony,

On Sat, Jun 18, 2011 at 11:19 AM,  <forster at ozonline.com.au> wrote:
>> If you tell us the addresses of the first 10-or-so bad blocks, we
>> could set up a laptop in the same way and try to reproduce. You can do
>> this by booting with the game-key-up cheat code
>> (http://wiki.laptop.org/go/Cheat_codes) and then using the arrow keys
>> to move to the first red block. When you get there it will say
>> something like "28f Marked bad in Bad Block Table". 28f is the
>> address. Then collect addresses of the next 9.
>
> rocker up gave me pong but scan-nand works
>
> bad blocks:
> a
> 1a
> 2a
> 3a
> 4a
> ... the a's through to fa
>
> then ok for a while
>
> the a's  30a thru to 3ba
> the a's  50a thru to 5ca
>
> first bad block thats not 'a' is at 6b1

I tried to reproduce this by setting all those bad blocks in my NAND,
but 11.3.0 build 5 still booted fine. I guess you have already
reproduced on this build.

I marked as bad:
a 1a 2a 3a 4a 5a 6a 7a 8a 9a aa ba ca da ea fa
30a 31a 32a 33a 34a 35a 36a 37a 38a 39a 3aa 3ba
50a 51a 52a 53a 54a 55a 56a 57a 58a 59a 5aa 5ba 5ca
6b1
and I also have 4 bad blocks of my own.

Could you give me the address of *all* your bad blocks?
Sorry to be a pain!

If you have a serial console kit, you could instead hook it up and run
"test /nandflash" from the OFW prompt and simply copy/paste the
results into an email. That test will list all the bad blocks in
numerical form.

cheers
Daniel



More information about the Devel mailing list