DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] v7a: images: stm32mp: double STM32MP15 fip partition size to 2M
@ 2025-06-02  8:12 Ahmad Fatoum
  2025-06-04  9:28 ` Roland Hieber
  0 siblings, 1 reply; 3+ messages in thread
From: Ahmad Fatoum @ 2025-06-02  8:12 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

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 <a.fatoum@pengutronix.de>
---
 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-04  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-02  8:12 [DistroKit] [PATCH] v7a: images: stm32mp: double STM32MP15 fip partition size to 2M Ahmad Fatoum
2025-06-04  9:28 ` Roland Hieber
2025-06-04  9:44   ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox