Martin Kepplinger
2682f2836e
x230: fix usage of find
6 years ago
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
07e7bdc410
x230: external_install_top.sh: add input file selection if -i is omitted
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
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