From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 18 Mar 2024 15:18:03 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rmDoR-00COg1-2H for lore@lore.pengutronix.de; Mon, 18 Mar 2024 15:18:03 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rmDoR-0004LJ-7J; Mon, 18 Mar 2024 15:18:03 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rmDoP-0004Kx-6L; Mon, 18 Mar 2024 15:18:01 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmDoO-00760M-QC; Mon, 18 Mar 2024 15:18:00 +0100 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rmDoO-005Wpz-2L; Mon, 18 Mar 2024 15:18:00 +0100 Date: Mon, 18 Mar 2024 15:18:00 +0100 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20240318140633.1997386-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240318140633.1997386-1-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH] v8a: barebox: compress with XZ X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Olbrich , distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 > Signed-off-by: Ahmad Fatoum > --- > 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 |