#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