[U-Boot-Users] U-Boot-1.2.0 - NAND bad block management

Vaibhav Hiremath hvaibhav at gmail.com
Wed Oct 3 15:13:46 CEST 2007


Hi,

I have ported  U-Boot-1.2.0 to ARM11176 core, which supports NAND
booting (big page NAND device).

I have one query -
How U-boot-1.2.0 handles bad block?
As I understand at the booting time U-Boot-1.2.0 scans whole NAND
device and maintains BBT. This absolutely fine with me, but what will
happen if read operation fails after that, say page read has generated
ECC error. U-Boot-1.2.0 doesn't mark this block as a bad block.

Is this some kind of loop hole in U-Boot NAND support? Since there is
no other cause appart from Write and Erase fail which will mark the
blcok as a bad.
Ideally it should mark that block as a bad for ECC error, since it's
failing of read operation.

Thanks in advance.

Thanks,
Vaibhav




More information about the U-Boot mailing list