[PATCH v3 3/3] ARM: socfpga: xload: compress image with xz
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Mar 5 04:56:15 PST 2026
On 3/5/26 1:46 PM, David Picard wrote:
> Compress the image of the first stage of Barebox with xz because it
> features a good compression ratio.
> as 64KiB.
>
> Rationale: on some devices, the image has to fit in a ROM as small
That commit message got gobbled up.
It should read:
Rationale: on some devices, the image has to fit in a ROM as small
as 64KiB.
> Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> Signed-off-by: David Picard <david.picard at clermont.in2p3.fr>
> ---
> 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
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list