DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Michael Olbrich <mol@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH] v8a: barebox: compress with XZ
Date: Mon, 18 Mar 2024 15:18:00 +0100	[thread overview]
Message-ID: <ZfhNGFCYlsuHNmTB@pengutronix.de> (raw)
In-Reply-To: <20240318140633.1997386-1-a.fatoum@pengutronix.de>

On Mon, Mar 18, 2024 at 03:06:33PM +0100, Ahmad Fatoum wrote:
> This saves us 124K, which we dearly need, because otherwise barebox
> would overlap the environment partition. The environment partition
> is reserved in the genimage config, but it's used due to the description
> in the barebox device tree. We may want to change both, but for now, buy
> us some time by switching from LZO to XZ.

Applied to next. We really should review the partitioning.

> Reported-by: Michael Olbrich <mol@pengutronix.de>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  configs/platform-v8a/barebox.config | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/configs/platform-v8a/barebox.config b/configs/platform-v8a/barebox.config
> index 26be35533173..699b4f324afa 100644
> --- a/configs/platform-v8a/barebox.config
> +++ b/configs/platform-v8a/barebox.config
> @@ -163,9 +163,9 @@ CONFIG_USE_COMPRESSED_DTB=y
>  CONFIG_PBL_RELOCATABLE=y
>  CONFIG_IMAGE_COMPRESSION=y
>  # CONFIG_IMAGE_COMPRESSION_LZ4 is not set
> -CONFIG_IMAGE_COMPRESSION_LZO=y
> +# CONFIG_IMAGE_COMPRESSION_LZO is not set
>  # CONFIG_IMAGE_COMPRESSION_GZIP is not set
> -# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
> +CONFIG_IMAGE_COMPRESSION_XZKERN=y
>  # CONFIG_IMAGE_COMPRESSION_NONE is not set
>  CONFIG_MMU=y
>  CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
> @@ -1063,7 +1063,14 @@ CONFIG_ZLIB=y
>  # CONFIG_BZLIB is not set
>  # CONFIG_LZ4_DECOMPRESS is not set
>  # CONFIG_ZSTD_DECOMPRESS is not set
> -# CONFIG_XZ_DECOMPRESS is not set
> +CONFIG_XZ_DECOMPRESS=y
> +CONFIG_XZ_DEC_X86=y
> +CONFIG_XZ_DEC_POWERPC=y
> +CONFIG_XZ_DEC_IA64=y
> +CONFIG_XZ_DEC_ARM=y
> +CONFIG_XZ_DEC_ARMTHUMB=y
> +CONFIG_XZ_DEC_SPARC=y
> +CONFIG_XZ_DEC_ARM64=y
>  # CONFIG_BASE64 is not set
>  CONFIG_GENERIC_FIND_NEXT_BIT=y
>  CONFIG_PROCESS_ESCAPE_SEQUENCE=y
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



      parent reply	other threads:[~2024-03-18 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 14:06 Ahmad Fatoum
2024-03-18 14:10 ` Marco Felsch
2024-03-18 14:17   ` Ahmad Fatoum
2024-03-18 14:21     ` Marco Felsch
2024-03-18 14:18 ` Robert Schwebel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZfhNGFCYlsuHNmTB@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=mol@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox