Skip to contentSkip to conversation

hikey960: 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 hikey960: 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 Manivannan Sadhasivam <[email protected]>
---
 include/configs/hikey960.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/hikey960.h +0 -1
index 40d5e653c3f1..9cbdbd9a9342 100644
@@ -34,7 +34,6 @@
 				"fdt_addr_r=0x10000000\0" \
 				"kernel_addr_r=0x11000000\0" \
 				"scriptaddr=0x00020000\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] hikey960: Stop disabling device tree relocation

      commit: dd3f5eac8c0e060751502813303b5736b4fc646e
Signature · 1 line
Tom