DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 2/2] v7a: barebox: am335x-mlo: use XZ compression to reduce size
Date: Fri, 12 Mar 2021 23:28:14 +0100	[thread overview]
Message-ID: <20210312222814.24177-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20210312222814.24177-1-a.fatoum@pengutronix.de>

With the upcoming update, our current MLO config will exceed the maximum
size allowed. Work around this by using XZ compression instead, which
reduces size from 115K to 101K, which gives us a further 8K we can
munch.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Please order before Uwe's series to avoid the intermittent breakage.
---
 configs/platform-v7a/barebox-am335x-mlo.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
index 7245cd662d0c..c24227aeaa64 100644
--- a/configs/platform-v7a/barebox-am335x-mlo.config
+++ b/configs/platform-v7a/barebox-am335x-mlo.config
@@ -114,9 +114,9 @@ CONFIG_PBL_MULTI_IMAGES=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_MMU_EARLY=y
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  reply	other threads:[~2021-03-12 22:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 22:28 [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time Ahmad Fatoum
2021-03-12 22:28 ` Ahmad Fatoum [this message]
2021-03-15  9:17   ` [DistroKit] [PATCH 2/2] v7a: barebox: am335x-mlo: use XZ compression to reduce size Robert Schwebel
2021-03-15  9:17 ` [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time Robert Schwebel

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=20210312222814.24177-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@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