From 3f1ee01507444335bda531b394bcdf36b5a47495 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 8 May 2023 19:45:32 +0100 Subject: seabios: do normal config, disable oprom in vgarom previously, "normal" initmode relied on the vgarom-based seabios config, which enables option roms, but then lbmk would insert pci-optionrom-exec 0 for vgarom, and 2 for normal in libreboot, coreboot roms with "vgarom" in the filename do pci option rom execution from coreboot, and "normal" roms do execution from seabios(where seabios is the only payload provided on normal setups) this is because payloads like grub can also be used, on vgarom setups, where coreboot must handle oprom execution --- resources/scripts/build/payload/seabios | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'resources/scripts/build/payload') diff --git a/resources/scripts/build/payload/seabios b/resources/scripts/build/payload/seabios index af2840d8..4a7ba626 100755 --- a/resources/scripts/build/payload/seabios +++ b/resources/scripts/build/payload/seabios @@ -2,7 +2,7 @@ # helper script: builds SeaBIOS source code # -# Copyright (C) 2020, 2021 Leah Rowe +# Copyright (C) 2020, 2021, 2023 Leah Rowe # Copyright (C) 2022 Ferass El Hafidi # # This program is free software: you can redistribute it and/or modify @@ -55,6 +55,14 @@ make -j$(nproc) mv out/bios.bin.elf ../payload/seabios/seabios_vgarom.elf rm .config +# for normal setup: +[ -f Makefile ] && make distclean +cp ../resources/seabios/config/normal .config +make silentoldconfig -j$(nproc) +make -j$(nproc) +mv out/bios.bin.elf ../payload/seabios/seabios_normal.elf +rm .config + # clean it again. gotta keep it clean! [ -f Makefile ] && make distclean -- cgit v1.2.1