diff options
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | 41 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc | 3 |
3 files changed, 45 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb new file mode 100644 index 00000000..af77b394 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | SUMMARY = "Chips&Media codec firmware files" | ||
| 2 | |||
| 3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
| 4 | |||
| 5 | inherit deploy | ||
| 6 | inherit update-alternatives | ||
| 7 | |||
| 8 | LICENSE = "BSD-3-Clause" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0" | ||
| 10 | |||
| 11 | PV = "${CNM_WAVE521_FW_VERSION}" | ||
| 12 | PR = "${INC_PR}.0" | ||
| 13 | |||
| 14 | CLEANBROKEN = "1" | ||
| 15 | |||
| 16 | COMPATIBLE_MACHINE = "j7" | ||
| 17 | |||
| 18 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | TARGET_WAVE215C = "wave521c_codec_fw.bin" | ||
| 22 | |||
| 23 | ALTERNATIVE_LINK_NAME[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/${TARGET_WAVE215C}" | ||
| 24 | ALTERNATIVE_TARGET[wave521c_codec_fw.bin] = "${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE215C}" | ||
| 25 | ALTERNATIVE_PRIORITY = "10" | ||
| 26 | |||
| 27 | # Set up names for the firmwares | ||
| 28 | ALTERNATIVE_${PN}:j7 = "\ | ||
| 29 | wave521c_codec_fw.bin" | ||
| 30 | |||
| 31 | do_install() { | ||
| 32 | install -d ${D}${nonarch_base_libdir}/firmware/cnm | ||
| 33 | install -m 0644 ${S}/cnm/${TARGET_WAVE215C} ${D}${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE215C} | ||
| 34 | } | ||
| 35 | |||
| 36 | # make sure that lib/firmware, and all its contents are part of the package | ||
| 37 | FILES:${PN} = "${nonarch_base_libdir}/firmware" | ||
| 38 | |||
| 39 | # we don't want to configure and build the source code | ||
| 40 | do_compile[noexec] = "1" | ||
| 41 | do_configure[noexec] = "1" | ||
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index f1607686..9bd2d0a8 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
| @@ -17,6 +17,7 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.07" | |||
| 17 | GOODIX_FW_VERSION = "1.0.0.0" | 17 | GOODIX_FW_VERSION = "1.0.0.0" |
| 18 | CADENCE_MHDP_FW_VERSION = "1.2.17" | 18 | CADENCE_MHDP_FW_VERSION = "1.2.17" |
| 19 | IMG_DEC_FW_VERSION = "1.0" | 19 | IMG_DEC_FW_VERSION = "1.0" |
| 20 | CNM_WAVE521_FW_VERSION = "1.0.00" | ||
| 20 | 21 | ||
| 21 | TI_LINUX_FW_SRCREV ?= "c96a734a059889e571dcf30c0638157c690a6e6e" | 22 | TI_LINUX_FW_SRCREV ?= "c96a734a059889e571dcf30c0638157c690a6e6e" |
| 22 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 23 | SRCREV = "${TI_LINUX_FW_SRCREV}" |
diff --git a/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc b/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc index 0425c789..1d98edcf 100644 --- a/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc +++ b/meta-ti-bsp/recipes-kernel/linux/kernel-rdepends.inc | |||
| @@ -25,3 +25,6 @@ RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 = " cadence-mhdp-fw" | |||
| 25 | 25 | ||
| 26 | # Add run-time dependency for Video Decoding firmware to the rootfs | 26 | # Add run-time dependency for Video Decoding firmware to the rootfs |
| 27 | RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 = " vxd-dec-fw" | 27 | RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 = " vxd-dec-fw" |
| 28 | |||
| 29 | # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs | ||
| 30 | RDEPENDS:${KERNEL_PACKAGE_NAME}-base:append:j7 = " cnm-wave-fw" | ||
