Skip to contentSkip to conversation

capricorn: Stop disabling device tree relocation

PATCH In review Tom Rini 3 participants 3 messages Nov 19, 2025 – Nov 20, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 capricorn: 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 Alexander Sverdlin <[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Walter Schweizer <[email protected]>
---
 board/siemens/capricorn/capricorn_default.env | 1 -
 1 file changed, 1 deletion(-)
board/siemens/capricorn/capricorn_default.env +0 -1
index 4c26e9d43eb5..c8b5b3d7da34 100644
@@ -11,7 +11,6 @@ console=ttyLP2
 dtb_name_default=default
 ethprime=eth1
 fdt_addr=0x83000000
-fdt_high=0xffffffffffffffff
 flash_self=run mmc_boot
 flash_self_test=setenv testargs test loglevel=3 systemd.unit=test.target; run mmc_boot
 hostname=capricorn
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Tom!

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.

Quoted 25 lines

---
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 Alexander Sverdlin <[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Walter Schweizer <[email protected]>

---
 board/siemens/capricorn/capricorn_default.env | 1 -

 1 file changed, 1 deletion(-)
board/siemens/capricorn/capricorn_default.env +0 -0
index 4c26e9d43eb5..c8b5b3d7da34 100644
@@ -11,7 +11,6 @@ console=ttyLP2

 dtb_name_default=default
 ethprime=eth1
 fdt_addr=0x83000000
-fdt_high=0xffffffffffffffff
 flash_self=run mmc_boot
 flash_self_test=setenv testargs test loglevel=3 systemd.unit=test.target; run mmc_boot hostname=capricorn

Signature · 3 lines
Alexander Sverdlin
Siemens AG
www.siemens.com
Reviewed-by on v1 1/1
#2 lore raw
In reply to Tom Rini

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 6 lines
Cc Alexander Sverdlin <[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Walter Schweizer <[email protected]>
---
  board/siemens/capricorn/capricorn_default.env | 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