[flashrom] [PATCH] revamp the warning of failing to set BIOS write enable in enable_flash_ich

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Mon Jun 20 15:15:30 CEST 2011


and if we are at it... shouldn't we tell the user, that writes will
most probably fail in cases where we could not enable bios writes?

e.g. the dell optiplex in the "It is hard to report a bug...."-thread:
BIOS Lock Enable: enabled, BIOS Write Enable: disabled, BIOS_CNTL is 0x2
tried to set 0xdc to 0x3 on ICH8/ICH8R failed (WARNING ONLY)

as far as i understand this, an SMI is triggered and in this case the
SMM prohibits us from setting the BIOS WE bit, but this may not be
always the case. is there a way around it? i don't know enough about SMM
to be sure if that's correct.

in any case we won't be able to erase/write if the WE bit is not set and
we should indicate this clearly to the user imho. what do you think?

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




More information about the flashrom mailing list