Re: [Yaffs] cvs YAFFS + MTD cvs + 2.4.27-vrs1 problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Timofei V. Bondarenko
Date:  
To: Aras Vaichas
CC: yaffs
Subject: Re: [Yaffs] cvs YAFFS + MTD cvs + 2.4.27-vrs1 problems
Hi.

Aras Vaichas wrote:
> Thomas Gleixner wrote:


>>>Surely it's not the easy to "break" a NAND chip? Can my original NAND be recovered?
>>>
>> It's quite easy, if the timing is wrong or if the rdy/busy check is not
>> reliable.
>
> Is there a utility that writes to every single page, reads back the data and then marks the pages correctly? Or are those "bad eraseblocks" permanently lost?
>


AFAIK, the eraseall can't erase blocks already marked bad.

To do it i'm just comment out a 'goto' near "attempt to erase bad block"
warning in drivers/mtd/nand/nand_base.c
Not the best way, though there were no appropriate ioctl to do it else.
You'll have to reboot after eraseall, since bad block list still reside
in memory.

Regards.
    Timofei.