Skip to contentSkip to conversation

vexpress_aemv8: Stop disabling device tree relocation

PATCH In review Tom Rini 2 participants 3 messages Nov 19, 2025 – Dec 4, 2025 Arm/versatile express platform

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 vexpress_aemv8: 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 David Feng <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Peter Hoyes <[email protected]>
---
 include/configs/vexpress_aemv8.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/vexpress_aemv8.h +0 -1
index 5eee13b3fc01..fc4727b4a380 100644
@@ -179,7 +179,6 @@
 		"  bootm ${boot_addr_r} ${boot_addr_r} ${fdt_addr_r};"	\
 		"else"							\
 		"  if load hostfs - ${kernel_addr_r} ${kernel_name}; then"	\
-		"    setenv fdt_high 0xffffffffffffffff;"		\
 		"    setenv initrd_high 0xffffffffffffffff;"		\
 		"    if test -n load hostfs - ${fdt_addr_r} ${fdtfile}; then"			\
 		"        fdt move $fdtcontroladdr $fdt_addr_r;"			\
Signature · 1 line
2.43.0
#1 lore raw
Quoted 6 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 1 line

- " setenv fdt_high 0xffffffffffffffff;" \

I have no idea why this is there, but Andre may know since he added it, so paging him!

Yours,
Linus Walleij

author
#2 lore raw
In reply to Tom Rini
Quoted 6 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.

Applied to u-boot/next, thanks!

[1/1] vexpress_aemv8: Stop disabling device tree relocation

      commit: 59f9fcc1f514762674ac07c13c2a85f7aace7250
Signature · 1 line
Tom