mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] ARM: i.MX8MN-EVK: Fix maximum load size
Date: Sat, 20 Dec 2025 18:00:29 +0100	[thread overview]
Message-ID: <20251220170029.2691798-1-s.hauer@pengutronix.de> (raw)

The i.MX8MN has 512 KiB of SRAM from which 0x70000 bytes can be used.
Adjust the loadaddr and max_load_address accordingly.

The i.MX8MN EVK PBL is much bigger than most other PBLs as it contains
the firmware files for DDR4 and LPDDR4 RAM setup. Depending on the
features compiled into the PBL the previously configured area became
too small, but fortunately the SRAM is much bigger than previously
configured.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg b/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
index f47ea08266..1876ba5f3d 100644
--- a/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
+++ b/arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
@@ -2,8 +2,8 @@
 
 soc imx8mn
 
-loadaddr 0x912000
-max_load_size 0x3f000
+loadaddr 0x910000
+max_load_size 0x70000
 ivtofs 0x0
 
 #include <mach/imx/flexspi-imx8mp-cfg.h>
-- 
2.47.3




             reply	other threads:[~2025-12-20 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-20 17:00 Sascha Hauer [this message]
2025-12-20 22:00 ` 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=20251220170029.2691798-1-s.hauer@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