[PATCH] pbl: set IMAGE_COMPRESSION per default to lz4

Sascha Hauer sha at pengutronix.de
Thu Dec 15 22:36:52 PST 2022


On Tue, Dec 06, 2022 at 12:26:14PM +0100, Marco Felsch wrote:
> 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(-)

Applied, thanks

Sascha

> 
> 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
> 
> 
> 

-- 
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