From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 04 Jun 2025 11:44:41 +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 1uMkfp-003c1R-26 for lore@lore.pengutronix.de; Wed, 04 Jun 2025 11:44:41 +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 1uMkfo-0005Dd-5u; Wed, 04 Jun 2025 11:44:40 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uMkfl-0005DL-5a; Wed, 04 Jun 2025 11:44:37 +0200 Message-ID: Date: Wed, 4 Jun 2025 11:44:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Roland Hieber References: <20250602081232.3334190-1-a.fatoum@pengutronix.de> <1749029124-18d5039ed4d170c7ec330ccc@pty> From: Ahmad Fatoum Content-Language: en-US, de-DE, de-BE In-Reply-To: <1749029124-18d5039ed4d170c7ec330ccc@pty> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [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: 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 Hello Roland, On 6/4/25 11:28, Roland Hieber wrote: > On Mon, Jun 02, 2025 at 10:12:32AM +0200, Ahmad Fatoum wrote: >> 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 > > Note: this is already effectively included in my barebox unification series: > <20250526101147.1953428-5-rhi@pengutronix.de> (2025-05-26, Roland Hieber: > "[DistroKit] [PATCH 05/11] v7a: stm32mp: switch to upstream barebox recipe") > (where the size of the partition is removed in favour of specifying it in the > fit image config). Nice, this patch can be disregarded then. Thanks, Ahmad > > - Roland > >> --- >> 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 > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |