summaryrefslogtreecommitdiff
path: root/resources/scripts/blobs/inject
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2022-11-22 22:45:18 +0000
committerLeah Rowe <leah@libreboot.org>2022-11-22 22:45:18 +0000
commite1bbdadc9584291cf062660d67128e9f17ab788e (patch)
tree2584bd344394f51baea1bc334be31dc228c43dbf /resources/scripts/blobs/inject
parent7629dfb8afa81af71ead2d7e1b2c3a7b91849c8d (diff)
build/roms: remove seabios_grubfirst logic
the intended use-case scenario was one in which vga rom initialisation would be used, on desktop configurations, but without coreboot itself handling vga rom initialisation, instead leaving that task to seabios it was assumed that grub, when running on the bare metal with build option "--with-platform=coreboot" would be able to display like this, but it is not so when tested in such setups (add-on gpu with grub payload), it is necessary to extract the video bios and insert it into the coreboot rom, having coreboot handle such execution. this is beyond the scope of lbmk, in context of automated building, because we cannot reliably predict things such as PCI IDs do away with this build option entirely, for it does not serve the intended purpose. it will be necessary to run PC GRUB instead (build option --with-platform=i386-pc). PC GRUB can still read from CBFS, and you could provide it as a floppy image file inside CBFS for SeaBIOS to execute. in this setup, GRUB would function as originally intended by the seabios_withgrub option; such a configuration is referred to as "SeaGRUB" by the libreboot project, and experimentation was done with it in the past, to no avail it's better to keep things simple, in the libreboot project. simpler for users, that is
Diffstat (limited to 'resources/scripts/blobs/inject')
-rwxr-xr-xresources/scripts/blobs/inject2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/blobs/inject b/resources/scripts/blobs/inject
index fbf5fe4d..18d91f2c 100755
--- a/resources/scripts/blobs/inject
+++ b/resources/scripts/blobs/inject
@@ -55,7 +55,7 @@ Detect_board(){
grub_*)
board=$(cut -d '_' -f2-3 <<<${filename})
;;
- seabios_grubfirst_*|seabios_withgrub_*)
+ seabios_withgrub_*)
board=$(cut -d '_' -f3-4 <<<${filename})
;;
*)