Hi,
On 07.05.20 18:11, Felix Held wrote:
I'd say that flashrom only verifying the section it writes by default would be less surprising behavior than the current behavior.
we'd need a distinction between reliable and unreliable programmers first. Because not verifying everything with the latter can be fatal (we don't even know if commands / addresses were correctly received by the flash). And that's just the biggest problem. Restrictions of internal programmers (e.g. Intel) can cause trouble too (what erase command does the PCH send? oops, did the chip ignore the least signi- ficant address bits?).
So, "the section it writes by default" is pretty much unknown. We could still have a better default ofc. In this particular case (Intel restricts reading) we could default to read everything that can be read (usually, parts of the chip that can't be read also can't be written, so that should be safe). But that's a bigger change (very big given flashrom's development pace).
Nico