> > If you're lucky "flash_eraseall" (from mtd utils) will do it... > > If not and you really really want to wipe all information about bad > blocks away from your nand, you can hack the kernel file > "drivers/mtd/nand/nand_base.c" and the method "nand_block_isbad" and > force it to return 0. > Use that new kernel, and then erase the flash with "flash_eraseall". > > NOTE: this will also wipe all the factory marked ones away! > > I've used this strategy myself after having marked the *entire* device > bad. This is where my situation differs from yours, since only part of > yours has been marked. > > BR, > Martin Egholm > > > _______________________________________________ > yaffs mailing list > yaffs@stoneboat.aleph1.co.uk > http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs Thanks, Actually, flash_eraseall (I have the old eraseall version with an old mtd...) didn't work. So I used the hack in mtd, and it worked. But I didn't identified the problem's source yet... I'll investigate. Regards. Ludovic.