Re: [Yaffs] Re: Bad eraseblock

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Gleixner
Date:  
To: Sergei Sharonov
CC: yaffs
Subject: Re: [Yaffs] Re: Bad eraseblock
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