]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
env: ti: k3_dfu: load only the next stage binary
authorAnshul Dalal <anshuld@ti.com>
Mon, 18 May 2026 08:22:52 +0000 (13:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 29 May 2026 20:02:18 +0000 (14:02 -0600)
In the TI's K3 bootflow of tiboot3.bin -> tispl.bin -> u-boot.img:
                             (R5 SPL)      (A53 SPL)

We currently provide a common dfu_alt_info_ram for both R5 SPL and A53
SPL which is not intuitive in a regular bootflow where each binary
should only request it's immediate next stage.

This patch updates dfu_alt_info_ram such that the R5 SPL would only
request for tispl.bin and A53 SPL would only request u-boot.img.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
board/ti/am62x/am6254atl.env
include/env/ti/k3_dfu.env

index ea5a33d8cc312ca6034062ede4493cfb037469be..dabc77245d414daa295b2dfd735b6b2dbcd6849d 100644 (file)
@@ -28,8 +28,11 @@ splashpos=m,m
 splashsource=sf
 
 dfu_alt_info_ram=
-       tispl.bin ram 0x82000000 0x200000;
+#if CONFIG_ARM64
        u-boot.img ram 0x82f80000 0x400000
+#else
+       tispl.bin ram 0x82000000 0x200000
+#endif
 
 #if CONFIG_BOOTMETH_ANDROID
 #include <env/ti/android.env>
index b42cf21d98602211ea220189d75f6e547d7e539a..0f82a8afb4208fc4a8187e70afc1de53c59fa593 100644 (file)
@@ -25,6 +25,9 @@ dfu_alt_info_ospi=
        rootfs raw 0x800000 0x3800000
 
 dfu_alt_info_ram=
-       tispl.bin ram 0x80080000 0x200000;
+#if CONFIG_ARM64
        u-boot.img ram 0x81000000 0x400000
+#else
+       tispl.bin ram 0x80080000 0x200000
+#endif