Skip to contentSkip to conversation

mccmon6: Stop disabling device tree relocation

PATCH In review Tom Rini 2 participants 2 messages Nov 18, 2025 – Nov 19, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 mccmon6: 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/mccmon6.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/mccmon6.h +0 -1
index b64bf93bcb74..9f401718bfb4 100644
@@ -35,7 +35,6 @@
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	"console=ttymxc0,115200 quiet\0" \
-	"fdt_high=0xffffffff\0" \
 	"initrd_high=0xffffffff\0" \
 	"boot_os=yes\0" \
 	"kernelsize=0x300000\0" \
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · On Tue, 18 Nov 2025 12:04:04 -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/mccmon6.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/mccmon6.h +0 -0
index b64bf93bcb74..9f401718bfb4 100644

include/configs/mccmon6.h line 40

Quoted 7 lines
include/configs/mccmon6.h +0 -1
@@ -35,7 +35,6 @@
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	"console=ttymxc0,115200 quiet\0" \
-	"fdt_high=0xffffffff\0" \
 	"initrd_high=0xffffffff\0" \
 	"boot_os=yes\0" \
 	"kernelsize=0x300000\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