summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ipumm-fw
diff options
context:
space:
mode:
authorGou, Hongmei <h-gou@ti.com>2015-10-28 20:52:12 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-10-28 16:06:11 -0400
commitc96067711695a7327ad362eb82af0625002a6a55 (patch)
tree81b0b87915295fcfd98ea0f4d85ce1c2465e65fe /recipes-bsp/ipumm-fw
parent667b451588a9ea2533d63745c81e91071c49ed36 (diff)
downloadmeta-ti-c96067711695a7327ad362eb82af0625002a6a55.tar.gz
ipumm-fw: update recipe to build ipumm-fw from git source
Signed-off-by: Hongmei Gou <h-gou@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/ipumm-fw')
-rw-r--r--recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb35
-rw-r--r--recipes-bsp/ipumm-fw/ipumm-fw_git.bb62
2 files changed, 62 insertions, 35 deletions
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb
deleted file mode 100644
index f537179c..00000000
--- a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1python __anonymous() {
2 features = bb.data.getVar("MACHINE_FEATURES", d, 1)
3 if not features:
4 return
5 if "mmip" not in features:
6 raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
7}
8
9DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
10LICENSE = "TI-TSPA"
11
12LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=5803e271087f74d03239d868bebcc2c7"
13
14COMPATIBLE_MACHINE = "dra7xx"
15PACKAGE_ARCH = "${MACHINE_ARCH}"
16
17RDEPENDS_${PN} = " libdce"
18
19SRC_URI = "http://downloads.ti.com/infotainment/esd/jacinto6/glsdk/ipumm/3_00_09_01/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
20
21SRC_URI[md5sum] = "bf15624e26bdef4dbb67b98ccd8b9754"
22SRC_URI[sha256sum] = "e70a38b62e3e4d11d5ce68f0980de4df5256bd597068f179e220fa5afcd065fe"
23
24S = "${WORKDIR}/ipumm-dra7xx-evm-${PV}"
25
26TARGET = "dra7-ipu2-fw.xem4"
27
28do_install() {
29 mkdir -p ${D}${base_libdir}/firmware
30 cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
31}
32
33FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
34
35PR = "r0"
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
new file mode 100644
index 00000000..af53c3c2
--- /dev/null
+++ b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
@@ -0,0 +1,62 @@
1python __anonymous() {
2 features = bb.data.getVar("MACHINE_FEATURES", d, 1)
3 if not features:
4 return
5 if "mmip" not in features:
6 raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
7}
8
9DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
10LICENSE = "TI-TSPA"
11
12LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=036f6300761559fbc5ce7d06e1ccea5a"
13
14COMPATIBLE_MACHINE = "dra7xx"
15
16RDEPENDS_${PN} = " libdce"
17
18SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
19
20SRCREV = "7f15373c21a9a98b8881d81c3681c09e858a9d2c"
21
22S = "${WORKDIR}/git"
23
24PV = "3.00.09.01"
25
26require recipes-ti/includes/ti-paths.inc
27require recipes-ti/includes/ti-staging.inc
28
29DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
30
31export HWVERSION="ES10"
32export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
33
34export XDCVERSION="ti-xdctools-tree"
35export BIOSVERSION="ti-sysbios-tree"
36export IPCVERSION="ti-ipc-tree"
37export CEVERSION="ti-codec-engine-tree"
38export FCVERSION="ti-framework-components-tree"
39export XDAISVERSION="ti-xdais-tree"
40
41export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}"
42export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
43
44do_configure() {
45 oe_runmake unconfig
46 oe_runmake vayu_smp_config
47}
48
49do_compile() {
50 oe_runmake
51}
52
53TARGET = "dra7-ipu2-fw.xem4"
54
55do_install() {
56 mkdir -p ${D}${base_libdir}/firmware
57 cp ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
58}
59
60FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
61
62PR = "r1"