diff options
author | Andrew Davis <afd@ti.com> | 2022-08-01 16:40:07 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-08-05 08:29:17 -0500 |
commit | 7a0f1d4288ad361086ef677c05ec7056556e434f (patch) | |
tree | 557660a3618a33850ee43fc55ae9f6d40059fcec /recipes-bsp | |
parent | 60f83864410abe0d8bdf4e7c3e45e44bfef55e6a (diff) | |
download | meta-ti-7a0f1d4288ad361086ef677c05ec7056556e434f.tar.gz |
ti-sci-fw: Use SYSFW_TIBOOT3 to point to the SYSFW image
Currently we reuse UBOOT_* names which usually are the same we
want to give to the name of the SYSFW binary. This isn't always
correct, we should use a SYSFW specific variable in case the
UBOOT names are changed.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index 1bb4fd3e..1b2ea184 100644 --- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | |||
@@ -37,6 +37,8 @@ SYSFW_PREFIX_am62xx-evm-k3r5 = "fs" | |||
37 | 37 | ||
38 | SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin" | 38 | SYSFW_TISCI = "${S}/ti-sysfw/ti-${SYSFW_PREFIX}-firmware-${SYSFW_SOC}-*.bin" |
39 | 39 | ||
40 | SYSFW_TIBOOT3 = "tiboot3-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.bin" | ||
41 | |||
40 | SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb" | 42 | SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb" |
41 | SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb" | 43 | SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb" |
42 | SYSFW_IMAGE = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb" | 44 | SYSFW_IMAGE = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb" |
@@ -78,10 +80,9 @@ do_install() { | |||
78 | fi | 80 | fi |
79 | fi | 81 | fi |
80 | 82 | ||
81 | if [ -f "${WORKDIR}/imggen/${UBOOT_BINARY}" ]; then | 83 | if [ -f "${WORKDIR}/imggen/${SYSFW_TIBOOT3}" ]; then |
82 | install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} | 84 | install -m 644 ${WORKDIR}/imggen/${SYSFW_TIBOOT3} ${D}/boot/${SYSFW_TIBOOT3} |
83 | ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK} | 85 | ln -sf ${SYSFW_TIBOOT3} ${D}/boot/tiboot3.bin |
84 | ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} | ||
85 | fi | 86 | fi |
86 | } | 87 | } |
87 | 88 | ||
@@ -100,10 +101,9 @@ do_deploy () { | |||
100 | fi | 101 | fi |
101 | fi | 102 | fi |
102 | 103 | ||
103 | if [ -f "${WORKDIR}/imggen/${UBOOT_BINARY}" ]; then | 104 | if [ -f "${WORKDIR}/imggen/${SYSFW_TIBOOT3}" ]; then |
104 | install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} | 105 | install -m 644 ${WORKDIR}/imggen/${SYSFW_TIBOOT3} ${DEPLOYDIR}/${SYSFW_TIBOOT3} |
105 | ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} | 106 | ln -sf ${SYSFW_TIBOOT3} ${DEPLOYDIR}/tiboot3.bin |
106 | ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} | ||
107 | fi | 107 | fi |
108 | 108 | ||
109 | install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ | 109 | install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ |