Booting a large kernel Image with the current fdt_addr_r address may
overwrite the device tree and make the boot fail:
Moving Image from 0x40480000 to 0x40600000, end=0x430a0000
ERROR: Did not find a cmdline Flattened Device Tree
Apply the same layout used for msc_sm2s_imx8mp in commit 3a6a7a8dda69
("msc_sm2s_imx8mp: Adjust the initrd_addr location"):
fdt_addr_r = moved loadaddr + 128 MiB = 0x48600000
initrd_addr = fdt_addr_r + 512 KiB = 0x48680000
Signed-off-by: Dario Binacchi <[email protected]>
---
include/configs/imx8mp_icore_mx8mp.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/imx8mp_icore_mx8mp.h
b/include/configs/imx8mp_icore_mx8mp.h
index 0a861a107b26..2cb916afc8c0 100644
--- a/include/configs/imx8mp_icore_mx8mp.h
+++ b/include/configs/imx8mp_icore_mx8mp.h
@@ -33,10 +33,10 @@
"kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
"image=Image\0" \
"console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200\0" \
- "fdt_addr_r=0x43000000\0" \
+ "fdt_addr_r=0x48600000\0" \
"boot_fdt=try\0" \
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
- "initrd_addr=0x43800000\0" \
+ "initrd_addr=0x48680000\0" \
"bootm_size=0x10000000\0" \
"mmcpart=1\0" \
"mmcroot=/dev/mmcblk1p2 rootwait rw\0" \
---
base-commit: 03e45557e1f38a39a0c80fe30483130ff376cf92
branch: imx8mp-icore-fdt-addr-upstream
--
2.43.0