[PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

Adam Ford aford173 at gmail.com
Wed Aug 19 21:11:08 CEST 2020


The loading address is too close to the kernel address, so newer kernels
may overlap memory space, so loading the device tree may corrupt zImage.

This patch moves the fdt_addr_r to 0x18000000 which is also consistent
with some other i.MX6Q boards.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/include/configs/imx6_logic.h b/include/configs/imx6_logic.h
index 63662dd18d..58862e4c49 100644
--- a/include/configs/imx6_logic.h
+++ b/include/configs/imx6_logic.h
@@ -34,7 +34,7 @@
 	"script=boot.scr\0" \
 	"image=zImage\0" \
 	"bootm_size=0x10000000\0" \
-	"fdt_addr_r=0x13000000\0" \
+	"fdt_addr_r=0x18000000\0" \
 	"ramdisk_addr_r=0x14000000\0" \
 	"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
 	"ramdisk_file=rootfs.cpio.uboot\0" \
-- 
2.25.1



More information about the U-Boot mailing list