Martin Kepplinger
b3fd293aee
add x230t as new board
4 years ago
Benjamin Slade
bfb7842860
modify scripts to fallback to traditional commands if no systemd
4 years ago
Martin Kepplinger
106d9ff19a
x230: add flashrom options similar to what Heads does
Fixes #142
4 years ago
Martin Kepplinger
0fe7c1df1f
x230_heads: fixes to extended flashing commands
5 years ago
Martin Kepplinger
33905f73b1
x230_heads: add extended image flashing
5 years ago
Martin Kepplinger
3ecfde0aea
use whereis to find flashrom and dmidecode
5 years ago
Martin Kepplinger
9a99381e3e
x230: support running scripts from anywhere
change to working dir for the scripts that use util/.
5 years ago
Martin Kepplinger
0450134d64
x230: move functions.sh to util directory
5 years ago
Martin Kepplinger
81659c7371
x230: remove temporary output directory after flashing
5 years ago
Martin Kepplinger
2d39c3ab11
x230: fix output dir variable usage
5 years ago
Martin Kepplinger
6e6faf0511
x230: remove redefinition of color codes
5 years ago
Martin Kepplinger
c9df776f0f
x230: rename check_x230_root to force_x230_and_root
5 years ago
Martin Kepplinger
8520560d62
x230: rename skulls_common to functions
5 years ago
Martin Kepplinger
cfc7f700d9
x230: add skulls_common script for functions
also, we use the check for x230 in the flashing scripts now. They have
to be run as root now.
6 years ago
Martin Kepplinger
35a0d6cdbf
x230: add battery check for flashing scripts
6 years ago
Martin Kepplinger
ea2c88754f
x230: make rebooting after flashing the default choice
6 years ago
Martin Kepplinger
22d553922e
x230: x230_heads: UI improvements
6 years ago
Martin Kepplinger
0d19d3dba8
x230: x230_heads: bash syntax fixes
6 years ago
Martin Kepplinger
976f877ae4
x230: improve help texts for internal flashing scripts
6 years ago
Martin Kepplinger
3cdff0a0c7
x230: fix instructions for internal flashing
6 years ago
Martin Kepplinger
b6cf5497ba
x230: add a script to install Heads
6 years ago
Martin Kepplinger
2f4a22ebd5
x230: rename x230_update.sh to x230_skulls.sh
6 years ago
Martin Kepplinger
2115021540
x230: x230_update.sh: replace filenames with variables
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
4c1bc87833
x230: x230_update.sh: add interactive file select if image not given on commandline
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
0c242f9029
x230: prepare_internal_flashing.sh: ask wheather to flash directly
6 years ago
Martin Kepplinger
a204ee5312
refactor to make the project hold any other devices too
6 years ago
Martin Kepplinger
f125875177
prepare_internal_flashing: add license headers
6 years ago
Martin Kepplinger
6e7befb4cb
prepare_internal_flashing: fix printed flashrom command
6 years ago
Martin Kepplinger
f3c6e8cfa2
prepare_internal_flashing: fix output filename for template flashrom command
6 years ago
Martin Kepplinger
d27aa540fb
prepare_internal_flashing: improve input / output file/path handling
6 years ago
Martin Kepplinger
5c2ec90dab
prepare_internal_flashing: add inputfilesize check
6 years ago
Martin Kepplinger
cb9972224b
add script to create 12MB image from 4MB release image for internal flashing
work in progress #18
6 years ago