Re: [Yaffs] Yaffs2 erasure issue on MT29 NAND part

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: yaffs@piments.com
Date:  
To: YAFFS ML
Subject: Re: [Yaffs] Yaffs2 erasure issue on MT29 NAND part
> > Yes, do some manual operations on an unmounted yaffs partition.
>
> Thanks for the help Charles
>
> I did this with mtd-utils and writing to the mtdblock device using dd. I
> didn't seem to have any issues. The blocks that YAFFS2 were saying
> couldn't be erased were erased successfully (and thus not marked bad). I
> will test a bit more with it.


Is using dd to write to mtdblock device safer or better than using
hacked flash_eraseall that ignores bad blocks?

Is the block size relevant in the way it writes to the underlying device
or is it best to specify bs=2048 for a 2k NAND device?

TIA.