[flashrom] [PATCH] Improve error messages, protect the user

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Aug 19 15:56:36 CEST 2009


On 19.08.2009 15:54, Carl-Daniel Hailfinger wrote:
> Disallow erase/write for known bad chips so people won't try without a
> clear understanding. Allow override with --force.
>
> If write/erase failed, warn the user to get help and not shutdown/reboot
> the computer.
>
> Warn that the result of a forced read is often garbage. Too many users
> believed that a forced read meant that everything was fine.
>
> Wait 1 second between erase and verify. This fixes a few reports where
> verify directly after erase had unpleasant side effects like corrupting
> flash or at least getting incorrect verify results.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
> Acked-by: Stefan Reinauer <stepan at coresystems.de>
>   

Committed in r692. Thanks for the reviews!

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list