[PATCH] adi: Stop disabling device tree relocation

Greg Malysa malysagreg at gmail.com
Wed Nov 26 08:31:00 CET 2025


On Tue, Nov 18, 2025 at 9:26 AM 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: Nathan Barrett-Morrison <nathan.morrison at timesys.com>
> Cc: Greg Malysa <malysagreg at gmail.com>
> Cc: Ian Roberts <ian.roberts at timesys.com>
> Cc: Vasileios Bimpikas <vasileios.bimpikas at analog.com>
> Cc: Utsav Agarwal <utsav.agarwal at analog.com>
> Cc: Arturs Artamonovs <arturs.artamonovs at analog.com>
> Cc: adsp-linux at analog.com
> ---
>  include/env/adi/adi_boot.env | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/env/adi/adi_boot.env b/include/env/adi/adi_boot.env
> index d56b14f51726..e266c89b110f 100644
> --- a/include/env/adi/adi_boot.env
> +++ b/include/env/adi/adi_boot.env
> @@ -20,10 +20,8 @@ ethaddr=02:80:ad:20:31:e8
>  eth1addr=02:80:ad:20:31:e9
>  uart_console=CONFIG_UART_CONSOLE
>  #ifdef CONFIG_SC59X_64
> -fdt_high=0xffffffffffffffff
>  initrd_high=0xffffffffffffffff
>  #else
> -fdt_high=0xffffffff
>  initrd_high=0xffffffff
>  #endif
>
> --
> 2.43.0
>

Hi Tom,

Thanks for this fix. Works for me on the sc573 and sc598 boards, and
there's no reason it should not work on any other boards. We primarily
boot FIT images which include an explicit fdt load address anyway.

Tested-by: Greg Malysa <malysagreg at gmail.com>


More information about the U-Boot mailing list