Skip to contentSkip to conversation

dragonboard820c: Stop disabling device tree relocation

PATCH Applied Tom Rini 2 participants 2 messages Nov 19, 2025 – Jan 16

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 dragonboard820c: 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 Jorge Ramirez-Ortiz <[email protected]>
---
 include/configs/dragonboard820c.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/dragonboard820c.h +0 -1
index c6d9182ccc9d..8e408d8aec3e 100644
@@ -27,7 +27,6 @@
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x95000000\0" \
-	"fdt_high=0xffffffffffffffff\0" \
 	"initrd_high=0xffffffffffffffff\0" \
 	"linux_image=uImage\0" \
 	"kernel_addr_r=0x95000000\0"\
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.

Applied, thanks!

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

      https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/57a5305948f3

Best regards,

Signature · 1 line
// Casey (she/they)