Skip to contentSkip to conversation

sifive-unleashed: Stop disabling device tree relocation

PATCH New Tom Rini 1 participant 1 message Nov 19, 2025 SiFive drivers

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 sifive-unleashed: 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 Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Anup Patel <[email protected]>
Cc Atish Patra <[email protected]>
 include/configs/sifive-unleashed.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/sifive-unleashed.h +0 -1
index cd8d0438ba67..862c24570245 100644
@@ -37,7 +37,6 @@
 	"name=system,size=-,bootable,type=${type_guid_gpt_system};"
 
 #define CFG_EXTRA_ENV_SETTINGS \
-	"fdt_high=0xffffffffffffffff\0" \
 	"initrd_high=0xffffffffffffffff\0" \
 	"kernel_addr_r=0x84000000\0" \
 	"kernel_comp_addr_r=0x88000000\0" \
Signature · 1 line
2.43.0