[PATCH] pbl: set IMAGE_COMPRESSION per default to lz4

Marco Felsch m.felsch at pengutronix.de
Tue Dec 6 03:26:14 PST 2022


The LZO compression hasn't been updated since 2017 and embedded build
tools like Yocto dropping the support for it [1]. So switch to LZ4 as
default since this seems to be the most comparable compression standard
according Ahmads measurements [2] and the kernel suggestion [3].

[1] https://lore.kernel.org/all/20220524152401.1663317-9-ross.burton@arm.com/
[2] https://lore.barebox.org/barebox/20220713100922.1880282-1-a.fatoum@pengutronix.de/
[3] https://lkml.org/lkml/2020/7/1/848

Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
 pbl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbl/Kconfig b/pbl/Kconfig
index ba809af2d5..91970c19bc 100644
--- a/pbl/Kconfig
+++ b/pbl/Kconfig
@@ -63,7 +63,7 @@ if IMAGE_COMPRESSION
 
 choice
 	prompt "Compression"
-	default IMAGE_COMPRESSION_LZO
+	default IMAGE_COMPRESSION_LZ4
 
 config IMAGE_COMPRESSION_LZ4
 	bool "lz4"
-- 
2.30.2




More information about the barebox mailing list