From 05f265e0f8daeb67ae0944cece0c102176bde1f8 Mon Sep 17 00:00:00 2001 From: Jens Wiklander Date: Tue, 14 Jan 2025 11:34:33 +0100 Subject: [PATCH] imx: update fdt_addr and initrd_addr The kernel has grown and overwrites fdt_addr when loaded. Fix this by updating the fdr_addr and initrd_addr variables the addresses further up in memory. Signed-off-by: Jens Wiklander Acked-by: Jerome Forissier --- imx/u-boot_boot_script | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imx/u-boot_boot_script b/imx/u-boot_boot_script index a2ee4feb..d9958518 100644 --- a/imx/u-boot_boot_script +++ b/imx/u-boot_boot_script @@ -1,3 +1,5 @@ +env set fdt_addr 0x45000000; +env set initrd_addr 0x45800000; run loadfdt; fdt addr ${fdt_addr}; fdt get value optee_compatible /firmware/optee compatible; @@ -19,4 +21,4 @@ else echo "Booting on the persistent file system ..." run loadimage;run mmcargs; booti ${loadaddr} - ${fdt_addr}; -fi; \ No newline at end of file +fi;