aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
author4 of 7 (Leah Rowe) <info@minifree.org>2016-11-16 15:47:41 +0000
committer4 of 7 (Leah Rowe) info@minifree.org <info@minifree.org>2017-01-22 04:01:43 +0000
commit54681098aa9d0514bef71b47123dc2af74792e95 (patch)
tree9caa00968dd0b867cbe10d59ada230198b5a297c /resources
parent754dbc615f3ef07e02a48768b4c380c630eed740 (diff)
downloadlibrebootfr-54681098aa9d0514bef71b47123dc2af74792e95.tar.gz
librebootfr-54681098aa9d0514bef71b47123dc2af74792e95.zip
build/roms/withgrub: disable loading option ROMs in SeaGRUB
This is a workaround for the PIKE2008 module on D16, in case the user forgets to blank out the LSI ROM.
Diffstat (limited to 'resources')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper
index 8ee63146..c4e14b29 100755
--- a/resources/scripts/helpers/build/roms/withgrub_helper
+++ b/resources/scripts/helpers/build/roms/withgrub_helper
@@ -129,6 +129,9 @@ do
# that horrible interface that seabios has
./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add-int -i 0 -n etc/show-boot-menu || "already exists"
+ # Add a file to CBFS that tells SeaBIOS not to load option ROMs
+ ./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add-int -i 0 -n etc/pci-optionrom-exec || "already exists"
+
# keyboard spinup timeout
./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" remove -n etc/ps2-keyboard-spinup || printf "does not exist"
./util/cbfstool/cbfstool "${boardtarget}_${romtype}.rom" add-int -i 3000 -n etc/ps2-keyboard-spinup || printf "already exists"