Skip to contentSkip to conversation

pico-imx8mq: Stop disabling device tree relocation

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

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 pico-imx8mq: 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 Marek Vasut <[email protected]>
---
 include/configs/pico-imx8mq.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/pico-imx8mq.h +0 -1
index f80773f2bc11..a0d587860d5b 100644
@@ -29,7 +29,6 @@
 	"image=Image\0"							\
 	"console=ttymxc0,115200\0"					\
 	"fdt_addr=0x43000000\0"						\
-	"fdt_high=0xffffffffffffffff\0"					\
 	"fdt_file=imx8mq-pico-pi.dtb\0"					\
 	"initrd_addr=0x43800000\0"					\
 	"initrd_high=0xffffffffffffffff\0"				\
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Tom Rini

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.

Quoted 8 lines

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

This fdt_high won't be missed, thank you very much.