From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 1/3] ARM: k3: am62x: move stack to end of SRAM
Date: Mon, 18 May 2026 11:26:38 +0200 [thread overview]
Message-ID: <20260518-k3-am62x-image-size-fixes-v1-1-ab723d79922d@pengutronix.de> (raw)
In-Reply-To: <20260518-k3-am62x-image-size-fixes-v1-0-ab723d79922d@pengutronix.de>
Our available SRAM ends at 0x43c3e000. Move the initial stack the to not
waste 0x1000 bytes of scarce SRAM.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/am625-sk/entry-r5.S | 2 +-
arch/arm/boards/beagleplay/entry-r5.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/am625-sk/entry-r5.S b/arch/arm/boards/am625-sk/entry-r5.S
index e724e5550c..c0ece084a0 100644
--- a/arch/arm/boards/am625-sk/entry-r5.S
+++ b/arch/arm/boards/am625-sk/entry-r5.S
@@ -3,7 +3,7 @@
#define SRAM_BASE 0x43c00000
-#define STACK_TOP SRAM_BASE + 0x3d000
+#define STACK_TOP SRAM_BASE + 0x3e000
.arm
.section .text_head_entry_start_am625_sk_r5;
diff --git a/arch/arm/boards/beagleplay/entry-r5.S b/arch/arm/boards/beagleplay/entry-r5.S
index 712f0f4b8c..8f961651eb 100644
--- a/arch/arm/boards/beagleplay/entry-r5.S
+++ b/arch/arm/boards/beagleplay/entry-r5.S
@@ -3,7 +3,7 @@
#define SRAM_BASE 0x43c00000
-#define STACK_TOP SRAM_BASE + 0x3d000
+#define STACK_TOP SRAM_BASE + 0x3e000
.arm
.section .text_head_entry_start_beagleplay_r5;
--
2.47.3
next prev parent reply other threads:[~2026-05-18 9:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 9:26 [PATCH 0/3] k3: am62x: image size fixes Sascha Hauer
2026-05-18 9:26 ` Sascha Hauer [this message]
2026-05-18 9:26 ` [PATCH 2/3] ARM: k3: am62x: make more space for r5 barebox binary Sascha Hauer
2026-05-18 9:41 ` Ahmad Fatoum
2026-05-18 9:26 ` [PATCH 3/3] ARM: k3: k3-r5_defconfig: limit image size to maximum available space Sascha Hauer
2026-05-18 9:37 ` Ahmad Fatoum
2026-05-18 10:38 ` Sascha Hauer
2026-05-18 13:33 ` [PATCH 0/3] k3: am62x: image size fixes Sascha Hauer
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=20260518-k3-am62x-image-size-fixes-v1-1-ab723d79922d@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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