mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pbl: set IMAGE_COMPRESSION per default to lz4
@ 2022-12-06 11:26 Marco Felsch
  2022-12-16  6:36 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Felsch @ 2022-12-06 11:26 UTC (permalink / raw)
  To: afa, ejo, barebox

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pbl: set IMAGE_COMPRESSION per default to lz4
  2022-12-06 11:26 [PATCH] pbl: set IMAGE_COMPRESSION per default to lz4 Marco Felsch
@ 2022-12-16  6:36 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-12-16  6:36 UTC (permalink / raw)
  To: Marco Felsch; +Cc: afa, ejo, barebox

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-16  6:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 11:26 [PATCH] pbl: set IMAGE_COMPRESSION per default to lz4 Marco Felsch
2022-12-16  6:36 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox