summaryrefslogtreecommitdiffstats
path: root/lenovobios_firstflash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-09 05:03:59 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-11-09 05:03:59 (EST)
commit1a59ef004801a0ef266b49b078a6f8379351d8cc (patch)
tree72661d8806847c00ccc78111ecd07f3f94e1e594 /lenovobios_firstflash
parent622cda56ab18957846245af6116afffa45159b55 (diff)
downloadlibreboot-1a59ef004801a0ef266b49b078a6f8379351d8cc.zip
libreboot-1a59ef004801a0ef266b49b078a6f8379351d8cc.tar.gz
libreboot-1a59ef004801a0ef266b49b078a6f8379351d8cc.tar.bz2
flashing scripts: Remove obnoxious warnings.
These are already mentioned in the documentation. They should not show in the output of these scripts. Scripts: flash, lenovobios_firstflash, lenovobios_secondflash, macbook21_firstflash
Diffstat (limited to 'lenovobios_firstflash')
-rwxr-xr-xlenovobios_firstflash13
1 files changed, 2 insertions, 11 deletions
diff --git a/lenovobios_firstflash b/lenovobios_firstflash
index 611abf4..efe377e 100755
--- a/lenovobios_firstflash
+++ b/lenovobios_firstflash
@@ -38,19 +38,10 @@ if [ ! -f $1 ]; then
exit
fi
-echo "Don't panic. See docs/index.html for an explanation of what BUC.TS is."
-
-echo "MAKE SURE THAT YOU SEE 'Updated BUC.TS=1' IF NOT CHECK #libreboot ON FREENODE"
+# needed for first flashing, otherwise machine will be bricked
./bucts/bucts 1
-echo "READ THE BIG WARNING ABOVE!"
-echo "MAKE SURE THAT YOU SEE 'DO NOT SHUT DOWN OR REBOOT' (YOU WANT TO SEE THAT. MEANS IT WORKED). IF NOT CHECK #libreboot ON FREENODE"
-echo "If (when) you see 'DO NOT SHUTDOWN OR REBOOT' do not panic. That is normal, expected and very good. And you will ignore what it says."
+# run both. one will fail (and be harmless), the other will succeed.
./flashrom/flashrom_lenovobios_sst -p internal -w $1
./flashrom/flashrom_lenovobios_macronix -p internal -w $1
-echo "READ THE BIG WARNING ABOVE!"
-echo "Now you will SHUT DOWN (ignore the flashrom warning) but first keep in mind before you then boot:"
-echo "Use 'Search for GRUB configuration on local storage' if the normal menus don't work, or check docs/index.html or #libreboot on freenode."
-echo "SHUT DOWN NOW!!!! WAIT A FEW SECS!!!! THEN BOOT."
-echo "DON'T PANIC."