Martin Kepplinger
d92b4d5729
x230: scripts: improve checking for installed programs
6 years ago
Martin Kepplinger
0f377d8753
x230: add preliminary support for CH341A based programmers
6 years ago
Martin Kepplinger
ffa93851b7
x230: add better error messages for programs not found
6 years ago
Martin Kepplinger
6600121ed3
x230: rename scripts and prepare to support more hardware flashers
Now our scripts start with _where_ it should be run. x230_*.sh should
be run on the x230 where Skulls should be installed. external_*.sh
obviously not.
This also adds the -f <flasher> option and an interactive menu if not
specified.
6 years ago
Martin Kepplinger
4a50b3383a
x230: remove -a option and autodetect the chip by default
Also, this updates our script commands in the documentation and moves the
"flashrom chip config" section under the "background" section.
Closes #26
6 years ago
Martin Kepplinger
8860fe6036
x230: flashrom scripts: fix chip detection
we stick with set -e so we need to catch errors manually if need be
6 years ago
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
c129882d20
x230: flashrom_rpi_bottom_unlock.sh: improve status output
6 years ago
Martin Kepplinger
c49d3b6c11
x230: run flashrom to find chipname if not given
6 years ago
Martin Kepplinger
83fad021e8
x230: flashrom_rpi_bottom_unlock.sh: make colored output more consistent
6 years ago
Martin Kepplinger
a204ee5312
refactor to make the project hold any other devices too
6 years ago
Martin Kepplinger
86d040a849
flashrom_rpi_bottom_unlock.sh: add -l option for re-locking the flash
6 years ago
Martin Kepplinger
f7fb9361e6
flashrom_rpi_bottom_unlock.sh: various fixes while testing
6 years ago
Martin Kepplinger
3f9836bb6c
flashrom_rpi_bottom_unlock.sh: Fix commandline parsing
6 years ago
Martin Kepplinger
ebb8d94a3d
add flashrom_rpi_bottom_unlock.sh for unlocking the 8m chip
6 years ago