From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 05 Mar 2026 11:06:11 +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 1vy5as-008IGQ-1z for lore@lore.pengutronix.de; Thu, 05 Mar 2026 11:06:11 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vy5as-000861-Ug for lore@pengutronix.de; Thu, 05 Mar 2026 11:06:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tsKSrwyHHB84lMxCJ1/x8PzDxYvrfXhj1MysvGBlvsE=; b=1UHLt4KfYxJJZic5PwnZdlfNKn TylEG1g0Wsq/vMjTbb6Eb7vs1Ezm8lnkYhXjRaJ9pW+wNaSJo9VaW4fO+0kwPEGIn7V22KTWArt5C JZdCIR5jWCZ94nyGqgVAfRZ9LYCZe70pJ6cjWvB7FC+x5AeW29jdwHo03PKByvwtGp0aP/xac2Okq bYMMIh/BRkzPZ/pwNu/upWZ+r8OtaO29AfZ2mL+9QHATJ5ngNFeo7tCEnzf+n+W6pC55YicgJV4H4 ymf3ZDeVtMkHSZNwhi7tJhpFC3jCMwxHAofSajJfhQrTRKOD9IKGdgPy8chJlII2aDgEpTongWiMz AFf7s/RA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vy5aX-00000001W73-24e3; Thu, 05 Mar 2026 10:05:49 +0000 Received: from cczrelay04.in2p3.fr ([134.158.66.154]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vy5aV-00000001W60-3RQF for barebox@lists.infradead.org; Thu, 05 Mar 2026 10:05:48 +0000 Received: from [127.0.1.1] (clrelecpo09w.in2p3.fr [134.158.124.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by cczrelay04.in2p3.fr (Postfix) with ESMTPSA id EAC7A800816; Thu, 5 Mar 2026 10:56:01 +0100 (CET) From: David Picard Date: Thu, 05 Mar 2026 10:55:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260305-b4-sa2-usb-v2-3-cf377c10efd5@clermont.in2p3.fr> References: <20260305-b4-sa2-usb-v2-0-cf377c10efd5@clermont.in2p3.fr> In-Reply-To: <20260305-b4-sa2-usb-v2-0-cf377c10efd5@clermont.in2p3.fr> To: Sascha Hauer , BAREBOX Cc: David Picard X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772704561; l=784; i=david.picard@clermont.in2p3.fr; s=20250917; h=from:subject:message-id; bh=fzmpPmBFTdvT0sAbWLhVwCH6inLkzkki50oQfFSmWX0=; b=hynDFwvJyuIh8+TnpskP1L8JF7P3yV9ElKGr0dXomS0DU7xv5pHUR08q4TVhnvdE2DNbaadba eKE11akzrSCCTt+BC5IIr/cQp9BezgVnEl45jp9g8fiNDIeMtUN0AzM X-Developer-Key: i=david.picard@clermont.in2p3.fr; a=ed25519; pk=Ew2hyxWdBXm7qaK2tHrk3KcOlOjoh3+irqJPSHtq/PU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260305_020547_995449_A0CDF3C9 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v2 3/3] ARM: socfpga: xload: compress image with xz X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) 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. --- 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