Skip to content

Commit

Permalink
imx: update fdt_addr and initrd_addr
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
  • Loading branch information
jenswi-linaro authored and jforissier committed Jan 14, 2025
1 parent f3a1ecf commit 05f265e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imx/u-boot_boot_script
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -19,4 +21,4 @@ else
echo "Booting on the persistent file system ..."
run loadimage;run mmcargs;
booti ${loadaddr} - ${fdt_addr};
fi;
fi;

0 comments on commit 05f265e

Please sign in to comment.