From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 02 Jun 2025 10:12:40 +0200 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 1uM0Hg-002tRc-28 for lore@lore.pengutronix.de; Mon, 02 Jun 2025 10:12:40 +0200 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 1uM0Hg-0006xa-91; Mon, 02 Jun 2025 10:12:40 +0200 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 1uM0HZ-0006wB-PP; Mon, 02 Jun 2025 10:12:33 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uM0HZ-001QDn-1v; Mon, 02 Jun 2025 10:12:33 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1uM0HZ-00DzNk-1a; Mon, 02 Jun 2025 10:12:33 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Mon, 2 Jun 2025 10:12:32 +0200 Message-Id: <20250602081232.3334190-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH] v7a: images: stm32mp: double STM32MP15 fip partition size to 2M 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: Ahmad Fatoum 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 Our FIP image contains barebox as non-trusted firmware, a hardware device tree and a very small firmware config as well as the secure monitor, either from TF-A or OP-TEE. This clocks in at 617K for STM32MP15, where we don't use OP-TEE and 986K on STM32MP13, where we do use it. The STM32MP13 has a separate genimage config, which has a 2M FIP partition already. Let's follow suit for STM32MP15 to allow for more convenient experimentation and debugging, e.g. enabling Kernel AddressSanitizer in barebox already makes it to big to fit inside a 1M fip partition. Signed-off-by: Ahmad Fatoum --- configs/platform-v7a/config/images/stm32mp.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/platform-v7a/config/images/stm32mp.config b/configs/platform-v7a/config/images/stm32mp.config index 888f83b360b1..8f784ad8b9fc 100644 --- a/configs/platform-v7a/config/images/stm32mp.config +++ b/configs/platform-v7a/config/images/stm32mp.config @@ -16,7 +16,7 @@ image @IMAGE@ { } partition fip { image = "@STM32MP_BOARD@@SCMI@.fip" - size = 1M + size = 2M } partition barebox-environment { -- 2.39.5