Add minipro dump/flash scripts

This commit is contained in:
Jeremy Soller
2022-02-24 15:32:09 -07:00
parent 86cdf54e96
commit 55ebe812ba
6 changed files with 60 additions and 0 deletions

18
scripts/minipro-dump.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -e
if [ -z "$1" ]
then
echo "$0 [model]" >&2
exit 1
fi
MODEL="$1"
source scripts/_minipro.sh
sudo minipro --device "${CHIP}" --pin_check --read build/dump.rom
./coreboot/build/cbfstool build/dump.rom read -r CONSOLE -f build/dump.log
less build/dump.log