Martin Kepplinger
6791931256
x230: flashrom scripts: add -a option for autodetecting the chip
This adds an experimental option to choose a chip from flashrom's list
using our own heuristics. If successful this should become the default
behaviour when when "-c" is not specified.
Basically this should completely replace the documentation section
"flashrom chip config" at some point.
Adresses issue #26
6 years ago
Martin Kepplinger
c49d3b6c11
x230: run flashrom to find chipname if not given
6 years ago
Martin Kepplinger
26bb506904
x230: flashrom_rpi_top_write.sh: make output color more consistent
6 years ago
Martin Kepplinger
a204ee5312
refactor to make the project hold any other devices too
6 years ago
Martin Kepplinger
db6172bd2d
flashrom_rpi_top_write.sh: Minor fix
6 years ago
Martin Kepplinger
40ba8d6964
flashrom_rpi_top_write.sh: improve output messages
6 years ago
Martin Kepplinger
b7d4c6a069
rename flashrom_rpi_write to flashrom_rpi_top_write and add 4M check
6 years ago
Martin Kepplinger
27a187ed12
flashrom_rpi_write: add size check before flashing
flashrom might do it anyways, but we have the read image and can
make sure the user didn't by accident provide the other image, for
example.
6 years ago
Martin Kepplinger
e04371cefd
add untested flashrom wrapper for hardware-flashing on a RPi
6 years ago