rom.sh: Don't build txtmode U-Boot images

U-Boot needs a VESA framebuffer or native coreboot
framebuffer to work properly.

Signed-off-by: Leah Rowe <leah@libreboot.org>
Leah Rowe 2024-11-21 17:56:50 +00:00
parent 7d1fd1cc6a
commit 6ab05e2224
1 changed files with 4 additions and 3 deletions

View File

@ -95,7 +95,6 @@ mkcorebootbin()
initmode="${defconfig##*/}"; displaymode="${initmode##*_}"
initmode="${initmode%%_*}"
[ -n "$displaymode" ] && displaymode="_$displaymode"
cbfstool="elf/cbfstool/$tree/cbfstool"
[ "$payload_uboot_i386" = "y" ] && \
@ -155,7 +154,8 @@ add_seabios()
[ "$payload_grub" = "y" ] && add_grub
cprom
[ "$payload_uboot_amd64" = "y" ] && pname="seauboot" && cprom "seauboot"
[ "$payload_uboot_amd64" = "y" ] && [ "$displaymode" != "txtmode" ] && \
pname="seauboot" && cprom "seauboot"
[ "$payload_grub" = "y" ] && pname="seagrub" && mkseagrub; :
}
@ -211,7 +211,8 @@ add_uboot()
cprom()
{
newrom="bin/$target/${pname}_${target}_$initmode$displaymode.rom"
newrom="bin/$target/${pname}_${target}_$initmode.rom"
[ -n "$displaymode" ] && newrom="${newrom%.rom}_$displaymode.rom"
[ $# -gt 0 ] && [ "$1" != "seauboot" ] && \
newrom="${newrom%.rom}_${1%.gkb}.rom"