hydrafw: HydraBus hangs when using flashrom (fixed)
HydraBus is supposed to be binary compatible with the Bus Pirate, so flashrom should work out of the box (flashrom has a bus pirate mode).
However, when trying to ID a chip using flashrom (the most basic operation before a read or write), flashrom just hangs:
tools > sudo flashrom -p buspirate_spi:dev=/dev/ttyACM0,spispeed=8M
flashrom v0.9.9-r1954 on Linux 4.4.76-grsec+ (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
<HANGS FOREVER>
Issue requested by “Balda” in IRC.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (4 by maintainers)
Commits related to this issue
- Add serprog protocol Serprog is fully supported by flashrom. This fixes #76 (...) — committed to Baldanos/hydrafw by Baldanos 4 years ago
Since the PR (https://github.com/flashrom/flashrom/pull/21) is open for nearly three years now, I took some time to reimplement the Serprog protocol in HydraFW.
This works on any recent flashrom :
Hello @afiskon !
I found a bug in my flashrom patch. It should be fixed now. Can you please test again ?
@afiskon Great news !
FYI, I ported the patch to the current flashrom revision here : https://github.com/Baldanos/flashrom/tree/master
I hope the PR will get merged soon.