[flashrom] [PATCH] Improve messages on failed erases with default verbosity.

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Mon Jul 14 01:54:30 CEST 2014


On Sun,  1 Jun 2014 03:38:29 +0200
Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at> wrote:

> From: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> 
> Without this...
> Erasing and writing flash chip... ERASE FAILED at 0x00001000! Expected=0xff, Read=0xb4, failed byte count from 0x00000000-0x0000ffff: 0xef09
> ERASE FAILED!
> Reading current flash chip contents... done.
> <loooooong break while the next eraser and writing is tried>
> Erase/write done.
> Verifying flash... VERIFIED.
> 
> Even if there is not a long temporal pause, it is very confusing for
> the user to first see a failed erase, followed by a read, a done
> message and eventually the verification message.
> This patch inserts "Looking for another erase function." where there is
> just a silent break above.
> 
> Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>

Self-acked and committed in r1827.

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list