DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 1/2] v7a: barebox: verify MLO size at build time
Date: Fri, 12 Mar 2021 23:28:13 +0100	[thread overview]
Message-ID: <20210312222814.24177-1-a.fatoum@pengutronix.de> (raw)

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

             reply	other threads:[~2021-03-12 22:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 22:28 Ahmad Fatoum [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210312222814.24177-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox