[PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location

Fabio Estevam festevam at gmail.com
Wed Jul 3 19:57:27 CEST 2024


From: Fabio Estevam <festevam at denx.de>

Booting an initramfs with the current address may lead to initramfs
corruption and boot failure.

Move it 0x48000000 which avoids initramfs overlap and allows a
successful initramfs boot.

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
 include/configs/msc_sm2s_imx8mp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/msc_sm2s_imx8mp.h b/include/configs/msc_sm2s_imx8mp.h
index 3c7d96cb3c0a..2a52455ace34 100644
--- a/include/configs/msc_sm2s_imx8mp.h
+++ b/include/configs/msc_sm2s_imx8mp.h
@@ -39,7 +39,7 @@
 	"fdt_addr_r=0x43000000\0"			\
 	"boot_fdt=try\0" \
 	"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
-	"initrd_addr=0x43800000\0"		\
+	"initrd_addr=0x48000000\0"		\
 	"bootm_size=0x10000000\0" \
 	"mmcpart=1\0" \
 	"mmcroot=/dev/mmcblk1p2 rootwait rw\0" \
-- 
2.34.1



More information about the U-Boot mailing list