Fwd: [PATCH 3/3] ARM: socfpga: xload: compress image with xz

David Picard david.picard at clermont.in2p3.fr
Thu Mar 5 00:16:27 PST 2026




-------- Message transféré --------
Sujet : 	[PATCH 3/3] ARM: socfpga: xload: compress image with xz
Date : 	Wed, 04 Mar 2026 14:51:25 +0100
De : 	David Picard <david.picard at clermont.in2p3.fr>
Pour : 	David Picard <david.picard at clermont.in2p3.fr>



Compress the image of the first stage of Barebox with xz because it
features a good compression ratio.
Rationale: on some devices, the image has to fit in a ROM as small
as 64KiB.
---
arch/arm/configs/socfpga-xload_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/socfpga-xload_defconfig 
b/arch/arm/configs/socfpga-xload_defconfig
index 22bab8d607..ec966c91a8 100644
--- a/arch/arm/configs/socfpga-xload_defconfig
+++ b/arch/arm/configs/socfpga-xload_defconfig
@@ -12,6 +12,7 @@ CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
# CONFIG_ARM_EXCEPTIONS is not set
CONFIG_NAME="socfpga-xload_defconfig"
# CONFIG_MEMINFO is not set
+CONFIG_IMAGE_COMPRESSION_XZKERN=y
CONFIG_MMU=y
CONFIG_MALLOC_SIZE=0x0
CONFIG_MALLOC_DUMMY=y

-- 
2.43.0




More information about the barebox mailing list