System76 darp5, galp2, galp3, galp3-b, and galp3-c support

This commit is contained in:
Jeremy Soller
2019-02-07 16:37:47 -07:00
parent 7bbed26ca9
commit 891cc9a939
123 changed files with 10828 additions and 9 deletions

19
system76/flash.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -ex
D="$(dirname "$(realpath "$0")")"
for N in "$@"
do
P="$D/$N"
if [ ! -d "$P" ]
then
echo "$0 [model]"
exit 1
fi
sudo "$P/flashrom" \
-p internal:laptop=force_I_want_a_brick \
-w "$P/coreboot"
done