Tom
9983230cd9
Initial support for ThinkPad X230 Tablet
4 years ago
Martin Kepplinger
c581a22a5e
external scripts: create sha256 hash for backup images
see #100
5 years ago
Martin Kepplinger
ebf5d55062
x230: add support to flash any 4M image using external_install_top.sh
put some emphasis on choosing an image and support flashing any 4M image
externally.
5 years ago
Martin Kepplinger
48be671b7b
x230: external_install_top: fix the usage text
5 years ago
Martin Kepplinger
131baa6e91
x230: top: support detection for EN25QH32
This feels like the last piece of the puzzle in chip-detection.
Fixes #82
5 years ago
Martin Kepplinger
c20203d8be
x230: increase rpi's spispeed
While I think I have initially used 128 from some libreboot docs and never
had problems with it, I don't really see anybody use less than 512 right
now.
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
9f326cc383
x230: external scripts: be a little less verbose in the success path
It feelds a little more streamlined when not repeating everything the
user does.
6 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
2dcfb638b9
x230: external_install_top: bash syntax fixes
6 years ago
Martin Kepplinger
6a36939e20
x230: improve temporary directory creation
Fixes #31
6 years ago
Martin Kepplinger
4678300e6e
x230: fix scripts in case no image found in working directory
6 years ago
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