Skip to contentSkip to conversation

am335x_shc: Stop disabling device tree relocation

PATCH In review Tom Rini 2 participants 3 messages Nov 19, 2025 – Dec 4, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 am335x_shc: 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 Heiko Schocher <[email protected]>
---
 include/configs/am335x_shc.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/am335x_shc.h +0 -1
index 55d5190b221c..afbad9c2c4de 100644
@@ -25,7 +25,6 @@
 	"loadaddr=0x80200000\0" \
 	"kloadaddr=0x84000000\0" \
 	"fdtaddr=0x85000000\0" \
-	"fdt_high=0xffffffff\0" \
 	"rdaddr=0x81000000\0" \
 	"bootfile=uImage\0" \
 	"fdtfile=am335x-shc.dtb\0" \
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Hello Tom,

Quoted 12 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.

---
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.

Quoted 4 lines
Cc Heiko Schocher <[email protected]>
---
  include/configs/am335x_shc.h | 1 -
  1 file changed, 1 deletion(-)

Thanks!

bye,
Heiko

Signature · 5 lines
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Geschäftsführer : Stefano Babic
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] am335x_shc: Stop disabling device tree relocation

      commit: 5b6432484df4a2b781e3156d2347e7db019ec6a8
Signature · 1 line
Tom