[Yaffs] Re: Bad eraseblock
Thomas Gleixner
tglx@linutronix.de
Tue, 07 Jun 2005 14:59:05 +0200
On Tue, 2005-06-07 at 12:03 +0000, Sergei Sharonov wrote:
> Hi,
>
> > The MTDutils will help you with the erasing. I'm not sure if anyone has
> > actually hacked a tool foris job yet or if you have to mess with nandwrite
> > so that it will let you nobble the bad blocks.
>
> You need to hack both flash_eraseall and mtd (nand_base.c : nand_erase_nand())
> to bypass bad block checking.
Its sufficient to tweak the nand_block_checkbad() function to return 0.
tglx