[PATCH] vexpress_aemv8: Stop disabling device tree relocation

Tom Rini trini at konsulko.com
Wed Nov 19 15:55:41 CET 2025


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.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
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 <fenghua at phytium.com.cn>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Peter Hoyes <Peter.Hoyes at arm.com>
---
 include/configs/vexpress_aemv8.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/vexpress_aemv8.h b/include/configs/vexpress_aemv8.h
index 5eee13b3fc01..fc4727b4a380 100644
--- a/include/configs/vexpress_aemv8.h
+++ b/include/configs/vexpress_aemv8.h
@@ -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;"			\
-- 
2.43.0



More information about the U-Boot mailing list