Skip to contentSkip to conversation

socfpga_vining_fpga: Stop disabling device tree relocation

PATCH In review Tom Rini 2 participants 2 messages Nov 19, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 socfpga_vining_fpga: 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 Marek Vasut <[email protected]>
---
 include/configs/socfpga_vining_fpga.h | 1 -
 1 file changed, 1 deletion(-)
include/configs/socfpga_vining_fpga.h +0 -1
index 4bb15cf46293..ad13f1345b01 100644
@@ -40,7 +40,6 @@
 	"hostname=vining_fpga\0"					\
 	"kernel_addr_r=0x10000000\0"					\
 	"fdt_addr_r=0x20000000\0"					\
-	"fdt_high=0xffffffff\0"						\
 	"initrd_high=0xffffffff\0"					\
 	"dfu_alt_info=qspi0 sf 0:0;qspi1 sf 0:1\0"			\
 	"mtdparts_0_16m=ff705000.spi.0:" /* 16MiB+128MiB SF config */	\
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 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 8 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 Marek Vasut <[email protected]>

This board should be just fine without fdt_high, DTTO for other CV/AV SoCFPGA . Thanks !