mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] k3: am62x: image size fixes
@ 2026-05-18  9:26 Sascha Hauer
  2026-05-18  9:26 ` [PATCH 1/3] ARM: k3: am62x: move stack to end of SRAM Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Sascha Hauer @ 2026-05-18  9:26 UTC (permalink / raw)
  To: BAREBOX

With the current configuration the initial barebox image for the AM62x
is limited to 0x3a800 bytes. the current image fits well into it, but
Let's make a bit more space available by moving DMDATA up to offset
0x3d000 giving us another 10KiB for the initial barebox image. Also set
CONFIG_BAREBOX_MAX_IMAGE_SIZE in the k3-r5_defconfig to 0x3d000 to not
exceed this limit unnoticed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (3):
      ARM: k3: am62x: move stack to end of SRAM
      ARM: k3: am62x: make more space for r5 barebox binary
      ARM: k3: k3-r5_defconfig: limit image size to maximum available space

 arch/arm/boards/am625-sk/entry-r5.S   | 2 +-
 arch/arm/boards/beagleplay/entry-r5.S | 2 +-
 arch/arm/configs/k3-r5_defconfig      | 2 +-
 images/Makefile.k3                    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: c7bdd78be7cc9449a49a429a342c83f8085b1475
change-id: 20260518-k3-am62x-image-size-fixes-3af12ef5b363

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-05-18 15:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18  9:26 [PATCH 0/3] k3: am62x: image size fixes Sascha Hauer
2026-05-18  9:26 ` [PATCH 1/3] ARM: k3: am62x: move stack to end of SRAM Sascha Hauer
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

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