#138: Flashrom cannot read/verify (-rv) from v2-R3923 ----------------------------------------+----------------------------------- Reporter: bothlyn@… | Owner: somebody Type: defect | Status: new Priority: minor | Milestone: flashrom v1.0 Component: flashrom | Version: v2 Keywords: | Dependencies: Patchstatus: patch needs review | ----------------------------------------+----------------------------------- flashrom 0.9.0 R545 cannot process -rv (Verification always fails)
This appears to be due to read_flash being moved and parameters being changed in v2-R3923
This means that uint8_t *buf, declared in main, is empty when verify_flash is called.
flashrom -r <filename>
followed by
flashrom -v <filename>
Still works.
Attached patch to flashrom.c appears effective against v2-R4294
#138: Flashrom cannot read/verify (-rv) from v2-R3923 -----------------------------------------+---------------------------------- Reporter: bothlyn@… | Owner: somebody Type: defect | Status: closed Priority: minor | Milestone: flashrom v1.0 Component: flashrom | Version: v2 Resolution: fixed | Keywords: Dependencies: | Patchstatus: patch needs review -----------------------------------------+---------------------------------- Changes (by hailfinger):
* status: new => closed * resolution: => fixed
Comment:
Thanks for your patch.
The read/verify combination (to be more precise, any combination of read/verify/erase/write) is forbidden in newer releases, so this should no longer be a problem.
You can still read, then verify in another step.
I'm closing this issue. If you feel your problem is still there, please reopen.