Martin Kepplinger
0f9f42a879
x230: external_install_bottom: fix automatic detection of chip
in fact, detecting MX25L6406E/MX25L6408E has not worked. only EN25QH64
was detected because the former got overwritten. fix the logic and
detect either one.
Fixes #52
5 years ago
Martin Kepplinger
ba8d1a3782
x230: external scripts: fix chip-not-found case
This fixes a memory leak and the output in case the flash chip is not
found by our scripts.
5 years ago
Martin Kepplinger
7ef03bf804
x230: external scripts: add -b option for rpi spi speed
6 years ago
Martin Kepplinger
c629d4eaf7
x230: fix flashrom chipname detection
We've had a double-quote issue there
6 years ago
Martin Kepplinger
4830d67305
x230: external_install_bottom: bash syntax improvements
6 years ago
Martin Kepplinger
6a36939e20
x230: improve temporary directory creation
Fixes #31
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
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