summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-21 02:22:40 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-21 03:26:54 +0100
commit762c7ff43ebd065de62f26fbe5729d221110c5a0 (patch)
treee61a91b987761e52cca04f3a2b6dc0d0c26c2d47 /config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch
parent86e7aa80c51979767208b858dac5f38d7e83914e (diff)
coreboot/default: Update, c247f62749b (8 Feb 2025)
This is currently the latest revision of coreboot. Other coreboot trees to follow. The "next" tree will also be merged with coreboot/default, in a follow-up commit. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch')
-rw-r--r--config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch b/config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch
new file mode 100644
index 00000000..51928bd6
--- /dev/null
+++ b/config/coreboot/default/patches/0024-Disable-compression-on-refcode-insertion.patch
@@ -0,0 +1,31 @@
+From 1380f0f6f3c73bbd994228acdbcbbc06da7c6cb2 Mon Sep 17 00:00:00 2001
+From: Leah Rowe <info@minifree.org>
+Date: Tue, 31 Dec 2024 14:42:24 +0000
+Subject: [PATCH 24/24] Disable compression on refcode insertion
+
+Compression is not reliably reproducible. In an lbmk release
+context, this means we cannot rely on vendorfile insertion.
+
+Therefore, use uncompressed refcode.
+
+Signed-off-by: Leah Rowe <info@minifree.org>
+---
+ Makefile.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.mk b/Makefile.mk
+index 3969bfbd05..15346569f8 100644
+--- a/Makefile.mk
++++ b/Makefile.mk
+@@ -1392,7 +1392,7 @@ endif
+ cbfs-files-$(CONFIG_HAVE_REFCODE_BLOB) += $(CONFIG_CBFS_PREFIX)/refcode
+ $(CONFIG_CBFS_PREFIX)/refcode-file := $(REFCODE_BLOB)
+ $(CONFIG_CBFS_PREFIX)/refcode-type := stage
+-$(CONFIG_CBFS_PREFIX)/refcode-compression := $(CBFS_COMPRESS_FLAG)
++$(CONFIG_CBFS_PREFIX)/refcode-compression := none
+
+ cbfs-files-$(CONFIG_SEABIOS_VGA_COREBOOT) += vgaroms/seavgabios.bin
+ vgaroms/seavgabios.bin-file := $(CONFIG_PAYLOAD_VGABIOS_FILE)
+--
+2.39.5
+