From: David Picard <david.picard@clermont.in2p3.fr>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: David Picard <david.picard@clermont.in2p3.fr>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v4 3/3] ARM: socfpga: xload: compress image with xz
Date: Thu, 05 Mar 2026 14:09:25 +0100 [thread overview]
Message-ID: <20260305-b4-sa2-usb-v4-3-52ef8d83fc5e@clermont.in2p3.fr> (raw)
In-Reply-To: <20260305-b4-sa2-usb-v4-0-52ef8d83fc5e@clermont.in2p3.fr>
Compress the image of the first stage of Barebox with xz because it
features a good compression ratio.
Rationale: on some devices, the image has to fit in a ROM as small
as 64KiB.
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: David Picard <david.picard@clermont.in2p3.fr>
---
arch/arm/configs/socfpga-xload_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/socfpga-xload_defconfig b/arch/arm/configs/socfpga-xload_defconfig
index 22bab8d607..ec966c91a8 100644
--- a/arch/arm/configs/socfpga-xload_defconfig
+++ b/arch/arm/configs/socfpga-xload_defconfig
@@ -12,6 +12,7 @@ CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
# CONFIG_ARM_EXCEPTIONS is not set
CONFIG_NAME="socfpga-xload_defconfig"
# CONFIG_MEMINFO is not set
+CONFIG_IMAGE_COMPRESSION_XZKERN=y
CONFIG_MMU=y
CONFIG_MALLOC_SIZE=0x0
CONFIG_MALLOC_DUMMY=y
--
2.43.0
prev parent reply other threads:[~2026-03-05 13:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 13:09 [PATCH v4 0/3] ARM: socfpga: Enclustra SA2: enable HS USB David Picard
2026-03-05 13:09 ` [PATCH v4 1/3] ARM: socfpga: Enclustra SA2: add defconfig options David Picard
2026-03-05 13:09 ` [PATCH v4 2/3] ARM: socfpga: Enclustra SA2: enable USB1 HS David Picard
2026-03-05 13:09 ` David Picard [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=20260305-b4-sa2-usb-v4-3-52ef8d83fc5e@clermont.in2p3.fr \
--to=david.picard@clermont.in2p3.fr \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@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