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 <[email protected]> --- 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
