[PATCH] kp_imx6q_tpc: Stop disabling device tree relocation

Łukasz Majewski lukma at nabladev.com
Wed Nov 19 10:41:42 CET 2025


On Tue, 18 Nov 2025 12:04:02 -0600
Tom Rini <trini at konsulko.com> wrote:

> 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.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> 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: Lukasz Majewski <lukma at nabladev.com>
> ---
>  include/configs/kp_imx6q_tpc.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/configs/kp_imx6q_tpc.h
> b/include/configs/kp_imx6q_tpc.h index c0cb3db23e7a..e89e9601ae82
> 100644 --- a/include/configs/kp_imx6q_tpc.h
> +++ b/include/configs/kp_imx6q_tpc.h
> @@ -19,7 +19,6 @@
>  #define CFG_EXTRA_ENV_SETTINGS	\
>  	"console=ttymxc0,115200\0"	\
>  	"fdt_addr=0x18000000\0"		\
> -	"fdt_high=0xffffffff\0"		\
>  	"initrd_high=0xffffffff\0"	\
>  	"kernel_addr_r=0x10008000\0"	\
>  	"fdt_addr_r=0x13000000\0"	\

Reviewed-by: Łukasz Majewski <lukma at nabladev.com>

-- 
Best regards,

Lukasz Majewski

--
Nabla Software Engineering GmbH
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: office at nabladev.com
Managing Director : Stefano Babic


More information about the U-Boot mailing list