]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: traverse: ten64: update DPAA2 (network) binary path on sdcards
authorMathew McBride <matt@traverse.com.au>
Fri, 21 Jul 2023 04:39:19 +0000 (04:39 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:50 +0000 (09:40 -0400)
Change the firmware on microSD path to "firmware/traverse/ten64"
as per EBBR section 4.2[1].

The Traverse firmware tools now locate the DPAA2 firmware
and configuration files under that path on the rescue
SD card image.
If a user then installs a standard Linux
distribution over the top of that sdcard, (in theory)
it will be left alone by distribution boot tooling.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
[1] https://arm-software.github.io/ebbr/index.html#firmware-partition-filesystem

Reviewed-by: Peng Fan <peng.fan@nxp.com>
include/configs/ten64.h

index 1601fb733e2973b93f6343d2dd536eab79b61df1..63fbafd1325274d29fcf4e5084e5f7ddd3cf600c 100644 (file)
@@ -15,6 +15,8 @@
 #define QSPI_NOR_BOOTCOMMAND   "run distro_bootcmd"
 #define SD_BOOTCOMMAND         "run distro_bootcmd"
 
+#define SD_FIRMWARE_PATH "firmware/traverse/ten64/"
+
 #define QSPI_MC_INIT_CMD                               \
        "sf probe 0:0 && sf read 0x80000000 0x300000 0x200000 &&"       \
        "sf read 0x80200000 0x5C0000 0x40000 &&"                                \
        "sf read 0x8E000000 0x580000 0x40000 && fsl_mc lazyapply DPL 0x8E000000 && "\
        "echo 'default DPL loaded'\0"
 #define SD_MC_INIT_CMD                         \
-       "mmcinfo; fatload mmc 0 0x80000000 mcfirmware/mc_ls1088a.itb; "\
-       "fatload mmc 0 0x80200000 dpaa2config/dpc.0x1D-0x0D.dtb; "\
+       "mmcinfo; fatload mmc 0 0x80000000 " SD_FIRMWARE_PATH "mc_ls1088a.itb; "\
+       "fatload mmc 0 0x80200000 " SD_FIRMWARE_PATH "dpc.0x1D-0x0D.dtb; "\
        "fsl_mc start mc 0x80000000 0x80200000 && "     \
-       "fatload mmc 0 0x8E000000 dpaa2config/eth-dpl-all.dtb && " \
+       "fatload mmc 0 0x8E000000 " SD_FIRMWARE_PATH "eth-dpl-all.dtb && " \
        "fsl_mc lazyapply DPL 0x8E000000 && echo 'default DPL loaded'\0"
 
 #define BOOT_TARGET_DEVICES(func) \