aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2016-11-16 15:47:41 +0000
committerLeah Rowe <info@minifree.org>2016-11-16 15:47:41 +0000
commit439be1b3f0ab75ff695f05a4648d097a33656408 (patch)
tree0ccdf4693487cbc60548f6754becfcb7de9cf660 /resources
parentbf278968f2f5de46f92f0f5e2cf43742abaa60c3 (diff)
downloadlibrebootfr-439be1b3f0ab75ff695f05a4648d097a33656408.tar.gz
librebootfr-439be1b3f0ab75ff695f05a4648d097a33656408.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 869410e9..1e45f156 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"