flash_eraseall reports incorrect percentage

Stefan Roese sr at denx.de
Wed Jan 30 08:03:13 EST 2008


It seems that the flash_eraseall utility doesn't report the correct percentage 
upon completion. After erasing the last sector, the output seems not to get 
updated anymore. This leads to something like this on a partition with only 2 
sectors:

flash_eraseall /dev/mtd6
Erasing 256 Kibyte @ 40000 -- 50 % complete.

I'm just posting this report as a reference. Perhaps somebody has a little 
time to fix it.

Thanks.

Best regards,
Stefan



More information about the linux-mtd mailing list