[PATCH] ARM: dts: imx6-dhcom: Remove fdt_high and initrd_high env variables

Remove both "fdt_high" and "initrd_high" environment variables in favor of "bootm_size" to safely contain a kernel, device tree and initrd for relocation inside of 256 MiB region of DRAM.
Signed-off-by: Marek Vasut marex@denx.de --- Cc: Andreas Geisreiter ageisreiter@dh-electronics.de Cc: Christoph Niedermaier cniedermaier@dh-electronics.com Cc: Fabio Estevam festevam@denx.de Cc: Marek Vasut marex@denx.de Cc: Peng Fan peng.fan@nxp.com Cc: Tim Harvey tharvey@gateworks.com Cc: Tom Rini trini@konsulko.com Cc: u-boot@dh-electronics.com Cc: u-boot@lists.denx.de --- NOTE: If mainline Linux does not boot, this is the prime suspect. Non-8-byte aligned DT address is then a dead giveaway: Booting using the fdt blob at 0x126d6bac ^ --- include/configs/dh_imx6.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 9b6f03f6856..09354936d73 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -36,10 +36,9 @@ #endif
#define CFG_EXTRA_ENV_SETTINGS \ + "bootm_size=0x10000000\0" \ "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" \ "ramdisk_addr_r=0x18000000\0" \

On Tue, Oct 15, 2024 at 8:45 PM Marek Vasut marex@denx.de wrote:
Remove both "fdt_high" and "initrd_high" environment variables in favor of "bootm_size" to safely contain a kernel, device tree and initrd for relocation inside of 256 MiB region of DRAM.
Signed-off-by: Marek Vasut marex@denx.de
Reviewed-by: Fabio Estevam festevam@gmail.com

On Tue, Oct 15, 2024 at 8:45 PM Marek Vasut marex@denx.de wrote:
Remove both "fdt_high" and "initrd_high" environment variables in favor of "bootm_size" to safely contain a kernel, device tree and initrd for relocation inside of 256 MiB region of DRAM.
Signed-off-by: Marek Vasut marex@denx.de
Applied, thanks.
participants (2)
-
Fabio Estevam
-
Marek Vasut