Use a prebuilt version of this firmware from ti-linux-firmware. This removes the need to build this locally.
Signed-off-by: Andrew Davis <[email protected]> --- .../recipes-bsp/ipumm-fw/ipumm-fw_git.bb | 55 ++----------------- 1 file changed, 6 insertions(+), 49 deletions(-) diff --git a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb index 246255e3..c1fac30d 100644 --- a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb +++ b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb @@ -1,7 +1,7 @@ SUMMARY = "Firmware for IPU to suppor Accelerated MM decode and encode" LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=5cc572579f07af266ab57fc17d762c7f" +LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a" COMPATIBLE_MACHINE = "am57xx" @@ -9,64 +9,21 @@ inherit features_check REQUIRED_MACHINE_FEATURES = "mmip" -SRC_URI = "git://git.ti.com/git/ivimm/ipumm.git;protocol=https;branch=master" - -SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" +require recipes-bsp/ti-linux-fw/ti-linux-fw.inc PV = "3.00.15.00" -PR = "r7" - -require recipes-ti/includes/ti-paths.inc +PR = "r8" inherit update-alternatives -DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos" - -export HWVERSION = "ES10" -export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti" - -export XDCVERSION = "ti-xdctools-tree" -export BIOSVERSION = "ti-sysbios-tree" -export IPCVERSION = "ti-ipc-tree" -export CEVERSION = "ti-codec-engine-tree" -export FCVERSION = "ti-framework-components-tree" -export XDAISVERSION = "ti-xdais-tree" - -export TMS470CGTOOLPATH = "${M4_TOOLCHAIN_INSTALL_DIR}" -export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" - -EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}" - -do_configure() { - oe_runmake unconfig - oe_runmake vayu_smp_config -} - -do_compile() { - oe_runmake -} - TARGET = "dra7-ipu2-fw.xem4" -TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map" do_install() { - install -d ${D}${nonarch_base_libdir}/firmware - install -m 0644 ${S}/${TARGET} ${D}${nonarch_base_libdir}/firmware/${TARGET}.${BPN} - install -m 0644 ${S}/${TARGET_MAP} ${D}${nonarch_base_libdir}/firmware/${TARGET}.map + install -d ${D}${nonarch_base_libdir}/firmware/ti-ce-fw + install -m 0644 ${S}/ti-ce-fw/${TARGET} ${D}${nonarch_base_libdir}/firmware/ti-ce-fw/${TARGET} } ALTERNATIVE:${PN} = "dra7-ipu2-fw.xem4" ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGET}" -ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGET}.${BPN}" +ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/ti-ce-fw/${TARGET}" ALTERNATIVE_PRIORITY = "20" - -FILES:${PN} += "${nonarch_base_libdir}/firmware/*" - -# Disable the "buildpaths" check while we figure out how we are -# going to address this issue. -# -# The ti-cgt-arm compiler is a custom TI compiler. It does not -# currently support reproducible builds and is provided via a -# binary blob download that we cannot patch in the recipe to address -# the issue. -INSANE_SKIP:${PN} += "buildpaths" -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19533): https://lists.yoctoproject.org/g/meta-ti/message/19533 Mute This Topic: https://lists.yoctoproject.org/mt/117861233/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
