Skip to contentSkip to conversation

hikey: Stop disabling device tree relocation

PATCH In review Tom Rini 1 participant 2 messages Nov 19, 2025 – Dec 4, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 hikey: 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 Peter Griffin <[email protected]>
---
 include/configs/hikey.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/hikey.h +0 -1
index 36bf22b1870e..3b49079881ae 100644
@@ -47,7 +47,6 @@
 				"kernel_addr_r=0x00080000\0" \
 				"fdtfile=hi6220-hikey.dtb\0" \
 				"fdt_addr_r=0x02000000\0" \
-				"fdt_high=0xffffffffffffffff\0" \
 				"initrd_high=0xffffffffffffffff\0" \
 				BOOTENV
 
Signature · 1 line
2.43.0
author
#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.

Applied to u-boot/next, thanks!

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

      commit: c404db942c8e5ecce50bef24b8715f891128f3c0
Signature · 1 line
Tom