Skip to contentSkip to conversation

kp_imx53: Stop disabling device tree relocation

PATCH In review Tom Rini 2 participants 2 messages Nov 18, 2025 – Nov 19, 2025 Arm i.MX and Layerscape

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 kp_imx53: Stop disabling device tree relocation

Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS.

---
If there is some window of memory that must be used for where the device tree is relocated to, bootm_low + bootm_size (or often just bootm_size) or bootm_mapsize are the correct way do this. Please see doc/usage/environment.rst for more details.

Cc Lukasz Majewski <[email protected]>
---
 include/configs/kp_imx53.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/kp_imx53.h +0 -1
index 78c6c67ab99f..bb136b7e1290 100644
@@ -18,7 +18,6 @@
 #define CFG_EXTRA_ENV_SETTINGS \
 	"console=ttymxc1,115200\0"	\
 	"fdt_addr=0x75000000\0"		\
-	"fdt_high=0xffffffff\0"		\
 	"scriptaddr=0x74000000\0"	\
 	"kernel_file=fitImage\0"\
 	"silent=1\0"\
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · On Tue, 18 Nov 2025 12:04:00 -0600 Tom Rini <[email protected]> wrote:

Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS.

---
If there is some window of memory that must be used for where the device tree is relocated to, bootm_low + bootm_size (or often just bootm_size) or bootm_mapsize are the correct way do this. Please see doc/usage/environment.rst for more details.

Cc Lukasz Majewski <[email protected]>
---
 include/configs/kp_imx53.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/kp_imx53.h +0 -0
index 78c6c67ab99f..bb136b7e1290 100644

include/configs/kp_imx53.h line 23

Quoted 7 lines
include/configs/kp_imx53.h +0 -1
@@ -18,7 +18,6 @@
 #define CFG_EXTRA_ENV_SETTINGS \
 	"console=ttymxc1,115200\0"	\
 	"fdt_addr=0x75000000\0"		\
-	"fdt_high=0xffffffff\0"		\
 	"scriptaddr=0x74000000\0"	\
 	"kernel_file=fitImage\0"\
 	"silent=1\0"\
Signature · 10 lines
Best regards,

Lukasz Majewski

--
Nabla Software Engineering GmbH
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Managing Director : Stefano Babic