From eb14a176bc8e2b943ab0e36159fd86b4a556708e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 20 Nov 2024 01:19:27 +0000 Subject: Only boot 32-bit u-boot from grub, 64 from seabios For some reason, 32-bit U-Boot only works when executed from GRUB, but not SeaBIOS; 64-bit U-Boot only works from SeaBIOS! This will have to be investigated. Standalone U-Boot, where U-Boot is the primary payload, has not yet been tested in Libreboot, and will not be provided for some time due to stability concerns. More testing is needed! Signed-off-by: Leah Rowe --- include/rom.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/rom.sh b/include/rom.sh index 808f83a4..96c7081a 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -187,8 +187,9 @@ add_uboot() [ "$payload_uboot_amd64" = "y" ]; then ubcbfsargs="-l 0x1110000 -e 0x1110000" # 64-bit and 32-bit # on 64-bit, 0x1120000 is the SPL, and stub before that - ubpath="img/u-boot" + ubpath="img/u-boot" # 64-bit ubtarget="amd64coreboot" + [ "$payload_uboot_i386" = "y" ] && ubpath="u-boot" # 32-bit [ "$payload_uboot_i386" = "y" ] && ubtarget="i386coreboot"; : fi -- cgit v1.2.1