Skip to contentSkip to conversation

tqma6: Stop disabling device tree relocation

PATCH In review Tom Rini 2 participants 2 messages Nov 18, 2025 – Nov 20, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 tqma6: 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 Markus Niebel <[email protected]>
---
 include/configs/tqma6.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/tqma6.h +0 -1
index 329fe3c86ed9..7a360e382178 100644
@@ -203,7 +203,6 @@
 	"fdt_addr="__stringify(TQMA6_FDT_ADDRESS)"\0"                          \
 	"console=" CONSOLE_DEV "\0"                                            \
 	"cma_size="__stringify(TQMA6_CMA_SIZE)"\0"                             \
-	"fdt_high=0xffffffff\0"                                                \
 	"initrd_high=0xffffffff\0"                                             \
 	"rootfsmode=ro\0"                                                      \
 	"addcma=setenv bootargs ${bootargs} cma=${cma_size}\0"                 \
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw

Am 18.11.25 um 19:04 schrieb Tom Rini:

Quoted 12 lines

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 5 lines
Cc Markus Niebel <[email protected]>
---
  include/configs/tqma6.h | 1 -
  1 file changed, 1 deletion(-)
Signature · 7 lines
Best regards,
Max

TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/