Skip to contentSkip to conversation

novena: Stop disabling device tree relocation

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

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 novena: 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/novena.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/novena.h +0 -1
index 059b8104e4b4..12fb759afe20 100644
@@ -53,7 +53,6 @@
 
 /* Extra U-Boot environment. */
 #define CFG_EXTRA_ENV_SETTINGS					\
-	"fdt_high=0xffffffff\0"						\
 	"initrd_high=0xffffffff\0"					\
 	"consdev=ttymxc1\0"						\
 	"baudrate=115200\0"						\
Signature · 1 line
2.43.0
Acked-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]>