#106: flashrom: Add -T to automatically test all flash chip operations ----------------------------+----------------------------------------------- Reporter: stuge | Owner: somebody Type: enhancement | Status: reopened Priority: major | Milestone: flashrom v1.0 Component: flashrom | Version: Resolution: | Keywords: testing Dependencies: | Patchstatus: there is no patch ----------------------------+----------------------------------------------- Changes (by stuge):
* status: closed => reopened * dependencies: #103 => * resolution: duplicate =>
Comment:
Carl-Daniel Hailfinger wrote:
The self-test mode has to execute:
- read (and store on disk)
I think the point is that it goes to disk to allow out-of-band restoration in case writing back with flashrom fails?
I would prefer no file. I don't want to have to remove files after testing, and not having a file would encourage testing strictly with flash chips without valuable contents. I think that is a very good thing™!
There's always -r to do a manual backup first, but I like the idea of making the difficult path more labor intense, to discourage testing with critical flash chips.
- write (old contents)
I think it has to write all 0 to the chip rather than the original contents. If the chip is blank to begin with there would be a false positive when erase or write does not work, and flashrom can't tell.