DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time
@ 2021-03-12 22:28 Ahmad Fatoum
  2021-03-12 22:28 ` [DistroKit] [PATCH 2/2] v7a: barebox: am335x-mlo: use XZ compression to reduce size Ahmad Fatoum
  2021-03-15  9:17 ` [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time Robert Schwebel
  0 siblings, 2 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2021-03-12 22:28 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

SRAM0 on the AM335x is 109K in size. Specify this in the config, so we
get a build error if our MLO exceeds this size.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Please order before Uwe's series to avoid the intermittent breakage.
---
 configs/platform-v7a/barebox-am335x-mlo.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
index 618d8e77bb3a..7245cd662d0c 100644
--- a/configs/platform-v7a/barebox-am335x-mlo.config
+++ b/configs/platform-v7a/barebox-am335x-mlo.config
@@ -48,7 +48,7 @@ CONFIG_CPU_32v7=y
 # processor features
 #
 # CONFIG_BOOT_ENDIANNESS_SWITCH is not set
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x1b400
 
 #
 # OMAP Features
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2021-03-15  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 22:28 [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time Ahmad Fatoum
2021-03-12 22:28 ` [DistroKit] [PATCH 2/2] v7a: barebox: am335x-mlo: use XZ compression to reduce size Ahmad Fatoum
2021-03-15  9:17   ` Robert Schwebel
2021-03-15  9:17 ` [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time Robert Schwebel

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