mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX8MN-EVK: Fix maximum load size
@ 2025-12-20 17:00 Sascha Hauer
  2025-12-20 22:00 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-12-20 17:00 UTC (permalink / raw)
  To: Barebox List

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




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

end of thread, other threads:[~2025-12-20 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-20 17:00 [PATCH] ARM: i.MX8MN-EVK: Fix maximum load size Sascha Hauer
2025-12-20 22:00 ` Sascha Hauer

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