Mark bad eraseblock back to good

Singh, Vimal vimalsingh at ti.com
Tue Oct 21 05:28:54 EDT 2008


> >Does anybody have a modified flash_eraseall that marks bad eraseblock
>  >back to good. Or any scripts that does that?
> 
> 
> Hi
> 
> If you are using u-boot, there is a u-boot command (I can not remember
> its name) to mark bad eraseblocks as good.
> 
Use 'nand scrub' (from u-boot), it really cleans NAND erasing bad blocks.

NOTE: scrub option will erase all factory set bad blocks! There is no reliable way to recover them. 

vimal


More information about the linux-mtd mailing list