diff options
| author | Praneeth Bajjuri <praneeth@ti.com> | 2021-11-18 16:40:26 -0600 |
|---|---|---|
| committer | Yogesh Siraswar <yogeshs@ti.com> | 2021-11-18 23:59:51 +0000 |
| commit | 9e1ba1f2e4b8994cdf0004689b3d1d0c7fb99d2e (patch) | |
| tree | 0313a1b6fa3635b80e03cdd4e4fa38f27e3c5130 | |
| parent | 194d0bdc71247f59f0d4713f0f43a216803a75f1 (diff) | |
| download | meta-ti-9e1ba1f2e4b8994cdf0004689b3d1d0c7fb99d2e.tar.gz | |
vxd-dec-fw: Add the recipe for vxd-dec-fw
Add the firmware packaging recipe for the video decoder
for j721e.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
| -rw-r--r-- | licenses/TI-IMG | 63 | ||||
| -rw-r--r-- | recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb | 24 | ||||
| -rw-r--r-- | recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 5 | ||||
| -rw-r--r-- | recipes-kernel/linux/kernel-rdepends.inc | 3 |
4 files changed, 93 insertions, 2 deletions
diff --git a/licenses/TI-IMG b/licenses/TI-IMG new file mode 100644 index 00000000..8d2e6f9e --- /dev/null +++ b/licenses/TI-IMG | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | This license applies to the Imagination D5520 firmware image, pvdec_full_bin.fw. | ||
| 2 | |||
| 3 | Copyright (C) 2019 Texas Instruments Incorporated | ||
| 4 | |||
| 5 | All rights reserved not granted herein. | ||
| 6 | |||
| 7 | Limited License. | ||
| 8 | |||
| 9 | Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive | ||
| 10 | license under copyrights and patents it now or hereafter owns or controls to | ||
| 11 | make, have made, use, import, offer to sell and sell ("Utilize") this software | ||
| 12 | subject to the terms herein. With respect to the foregoing patent license, such | ||
| 13 | license is granted solely to the extent that any such patent is necessary to | ||
| 14 | Utilize the software alone. The patent license shall not apply to any | ||
| 15 | combinations which include this software, other than combinations with devices | ||
| 16 | manufactured by or for TI (“TI Devices”). No hardware patent is licensed | ||
| 17 | hereunder. | ||
| 18 | |||
| 19 | Redistributions must preserve existing copyright notices and reproduce this | ||
| 20 | license (including the above copyright notice and the disclaimer and | ||
| 21 | (if applicable) source code license limitations below) in the documentation | ||
| 22 | and/or other materials provided with the distribution | ||
| 23 | |||
| 24 | Redistribution and use in binary form, without modification, are permitted | ||
| 25 | provided that the following conditions are met: | ||
| 26 | |||
| 27 | * No reverse engineering, decompilation, or disassembly of this | ||
| 28 | software is permitted with respect to any software provided in binary | ||
| 29 | form. | ||
| 30 | |||
| 31 | * any redistribution and use are licensed by TI for use only with TI | ||
| 32 | Devices. | ||
| 33 | |||
| 34 | * Nothing shall obligate TI to provide you with source code for the | ||
| 35 | software licensed and provided to you in object code. | ||
| 36 | |||
| 37 | If software source code is provided to you, modification and redistribution of | ||
| 38 | the source code are permitted provided that the following conditions are met: | ||
| 39 | |||
| 40 | * any redistribution and use of the source code, including any | ||
| 41 | resulting derivative works, are licensed by TI for use only with TI | ||
| 42 | Devices. | ||
| 43 | |||
| 44 | * any redistribution and use of any object code compiled from the | ||
| 45 | source code and any resulting derivative works, are licensed by TI | ||
| 46 | for use only with TI Devices. | ||
| 47 | |||
| 48 | Neither the name of Texas Instruments Incorporated nor the names of its | ||
| 49 | suppliers may be used to endorse or promote products derived from this | ||
| 50 | software without specific prior written permission. | ||
| 51 | |||
| 52 | DISCLAIMER. | ||
| 53 | |||
| 54 | THIS SOFTWARE IS PROVIDED BY TI AND TI’S LICENSORS "AS IS" AND ANY EXPRESS OR | ||
| 55 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 56 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 57 | EVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 58 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 59 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
| 60 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 61 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
| 62 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
| 63 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb b/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb new file mode 100644 index 00000000..cccda6bb --- /dev/null +++ b/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | SUMMARY = "Video Decoding Firmware" | ||
| 2 | LICENSE = "TI-IMG" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.ti-img;md5=84ca7278930db001870686ad997d6bb1" | ||
| 4 | |||
| 5 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
| 6 | |||
| 7 | PV = "${IMG_DEC_FW_VERSION}" | ||
| 8 | PR = "${INC_PR}.0" | ||
| 9 | |||
| 10 | CLEANBROKEN = "1" | ||
| 11 | |||
| 12 | COMPATIBLE_MACHINE = "j7" | ||
| 13 | |||
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | TARGET = "pvdec_full_bin.fw" | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -d ${D}${base_libdir}/firmware/ti-img | ||
| 21 | install -m 0644 ${S}/ti-img/${TARGET} ${D}${base_libdir}/firmware/ti-img/${TARGET} | ||
| 22 | } | ||
| 23 | |||
| 24 | FILES_${PN} = "${base_libdir}/firmware" | ||
diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index c59120b8..f6d5b8d1 100644 --- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
| @@ -13,11 +13,12 @@ NETCP_SA_FW_VERSION = "1.0.0" | |||
| 13 | NETCP_PA_FW_VERSION = "3.0.2.3" | 13 | NETCP_PA_FW_VERSION = "3.0.2.3" |
| 14 | QMSS_PDSP_FW_VERSION = "1.0.0.9" | 14 | QMSS_PDSP_FW_VERSION = "1.0.0.9" |
| 15 | PRUETH_FW_AM65X_VERSION = "08.00.00.20" | 15 | PRUETH_FW_AM65X_VERSION = "08.00.00.20" |
| 16 | PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06" | 16 | 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 | 20 | ||
| 20 | TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063" | 21 | TI_LINUX_FW_SRCREV ?= "c96a734a059889e571dcf30c0638157c690a6e6e" |
| 21 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 22 | SRCREV = "${TI_LINUX_FW_SRCREV}" |
| 22 | 23 | ||
| 23 | BRANCH ?= "ti-linux-firmware" | 24 | BRANCH ?= "ti-linux-firmware" |
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc index 5e5241c9..76b7a508 100644 --- a/recipes-kernel/linux/kernel-rdepends.inc +++ b/recipes-kernel/linux/kernel-rdepends.inc | |||
| @@ -39,3 +39,6 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am64xx-evm = " prueth-fw-am65x-sr2" | |||
| 39 | 39 | ||
| 40 | # Add run-time dependency for Cadence MHDP firmware to the rootfs | 40 | # Add run-time dependency for Cadence MHDP firmware to the rootfs |
| 41 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw" | 41 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw" |
| 42 | |||
| 43 | # Add run-time dependency for Video Decoding firmware to the rootfs | ||
| 44 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw" | ||
