diff options
| author | Denys Dmytriyenko <denys@ti.com> | 2019-06-27 02:54:04 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2019-06-27 00:23:29 +0000 |
| commit | c788982ee44bf1621d756055c808ce116c2860c6 (patch) | |
| tree | 5775c1b0aa19ead9aaa3f361f90df5c07941c1e9 | |
| parent | fd0698f92f9248e87f61b57dbe533db62abb3622 (diff) | |
| download | meta-ti-c788982ee44bf1621d756055c808ce116c2860c6.tar.gz | |
cadence-mhdp-fw: add Cadence MHDP DP bridge firmware
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
| -rw-r--r-- | recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb | 28 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-ti-staging_4.19.bb | 3 |
2 files changed, 31 insertions, 0 deletions
diff --git a/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb b/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb new file mode 100644 index 00000000..e8d5c544 --- /dev/null +++ b/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Cadence MHDP DP bridge firmware" | ||
| 2 | |||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852" | ||
| 5 | |||
| 6 | PV = "1.2.15" | ||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | CLEANBROKEN = "1" | ||
| 10 | |||
| 11 | COMPATIBLE_MACHINE = "j7-evm" | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 15 | SRCREV = "3930363562b35a5f3d495a61ea7e51739462b14a" | ||
| 16 | BRANCH ?= "ti-linux-firmware" | ||
| 17 | |||
| 18 | SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | TARGET = "mhdp8546.bin" | ||
| 22 | |||
| 23 | do_install() { | ||
| 24 | install -d ${D}${base_libdir}/firmware | ||
| 25 | install -m 0644 ${S}/cadence/${TARGET} ${D}${base_libdir}/firmware/${TARGET} | ||
| 26 | } | ||
| 27 | |||
| 28 | FILES_${PN} = "${base_libdir}/firmware" | ||
diff --git a/recipes-kernel/linux/linux-ti-staging_4.19.bb b/recipes-kernel/linux/linux-ti-staging_4.19.bb index d76d4bb3..c4ee4ba9 100644 --- a/recipes-kernel/linux/linux-ti-staging_4.19.bb +++ b/recipes-kernel/linux/linux-ti-staging_4.19.bb | |||
| @@ -50,6 +50,9 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am335x-evm = " prueth-fw" | |||
| 50 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " prueth-fw" | 50 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " prueth-fw" |
| 51 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-bin" | 51 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-bin" |
| 52 | 52 | ||
| 53 | # Add run-time dependency for Cadence MHDP firmware to the rootfs | ||
| 54 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7-evm = " cadence-mhdp-fw" | ||
| 55 | |||
| 53 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | 56 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| 54 | 57 | ||
| 55 | S = "${WORKDIR}/git" | 58 | S = "${WORKDIR}/git" |
