diff options
author | Denys Dmytriyenko <denys@ti.com> | 2015-03-20 08:24:05 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-03-19 23:51:53 -0400 |
commit | ac2adc4032d0216ee5cae64cfe043671d3efa2f9 (patch) | |
tree | 838957188c580fdd0d1f5fb4074fe0fcc5c40caf /recipes-bsp | |
parent | 185220eb050fdd6c267121e40b699626c9e1e50c (diff) | |
download | meta-ti-ac2adc4032d0216ee5cae64cfe043671d3efa2f9.tar.gz |
ipumm-fw: split omap5-evm and dra7xx-evm recipes due to different versions
The last version update left omap5-evm behind, which breaks the recipe.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb | 33 | ||||
-rw-r--r-- | recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb | 26 |
2 files changed, 41 insertions, 18 deletions
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb new file mode 100644 index 00000000..f5ebd14e --- /dev/null +++ b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | python __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 | |||
9 | DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode" | ||
10 | LICENSE = "TI-TSPA" | ||
11 | |||
12 | LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" | ||
13 | |||
14 | COMPATIBLE_MACHINE = "omap5-evm" | ||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | |||
17 | SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-${PV}.tar.gz;protocol=http" | ||
18 | |||
19 | SRC_URI[md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a" | ||
20 | SRC_URI[sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da22ec0d5beaa5cc65" | ||
21 | |||
22 | S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" | ||
23 | |||
24 | TARGET = "ducati-m3-core0.xem3" | ||
25 | |||
26 | do_install() { | ||
27 | mkdir -p ${D}${base_libdir}/firmware | ||
28 | cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET} | ||
29 | } | ||
30 | |||
31 | FILES_${PN} += "${base_libdir}/firmware/${TARGET}" | ||
32 | |||
33 | PR = "r3" | ||
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb index 5b85f83b..036ea335 100644 --- a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb +++ b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb | |||
@@ -9,29 +9,19 @@ python __anonymous() { | |||
9 | DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode" | 9 | DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode" |
10 | LICENSE = "TI-TSPA" | 10 | LICENSE = "TI-TSPA" |
11 | 11 | ||
12 | LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}-Manifest.doc;md5=caa45d993ac010abe2fd319f6613bc26" | 12 | LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=caa45d993ac010abe2fd319f6613bc26" |
13 | LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" | ||
14 | 13 | ||
15 | COMPATIBLE_MACHINE = "dra7xx|omap5-evm" | 14 | COMPATIBLE_MACHINE = "dra7xx" |
16 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
17 | 16 | ||
18 | SRC_URI_dra7xx = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_07_02/exports/ipumm-dra7xx-evm-3.00.07.02.tar.gz;protocol=ftp;name=dra7xx-evm" | 17 | SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_07_02/exports/ipumm-${MACHINE}-${PV}.tar.gz;protocol=http" |
19 | 18 | ||
20 | SRC_URI_omap5-evm = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-3.00.04.02.tar.gz;protocol=http;name=${MACHINE}" | 19 | SRC_URI[md5sum] = "06aaf4f144d48ca16054e67e40cc7bc3" |
20 | SRC_URI[sha256sum] = "0f07176e313a692a05fa6bfe9f7920b677b0924287121945c6e22b3f4408670c" | ||
21 | 21 | ||
22 | # DRA7xx checksums | 22 | S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" |
23 | SRC_URI[dra7xx-evm.md5sum] = "06aaf4f144d48ca16054e67e40cc7bc3" | ||
24 | SRC_URI[dra7xx-evm.sha256sum] = "0f07176e313a692a05fa6bfe9f7920b677b0924287121945c6e22b3f4408670c" | ||
25 | 23 | ||
26 | # OMAP5 checksums | 24 | TARGET = "dra7-ipu2-fw.xem4" |
27 | SRC_URI[omap5-evm.md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a" | ||
28 | SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da22ec0d5beaa5cc65" | ||
29 | |||
30 | S_dra7xx = "${WORKDIR}/ipumm-dra7xx-evm-${PV}" | ||
31 | S_omap5-evm = "${WORKDIR}/ipumm-${MACHINE}-${PV}" | ||
32 | |||
33 | TARGET_dra7xx = "dra7-ipu2-fw.xem4" | ||
34 | TARGET_omap5-evm = "ducati-m3-core0.xem3" | ||
35 | 25 | ||
36 | do_install() { | 26 | do_install() { |
37 | mkdir -p ${D}${base_libdir}/firmware | 27 | mkdir -p ${D}${base_libdir}/firmware |
@@ -40,4 +30,4 @@ do_install() { | |||
40 | 30 | ||
41 | FILES_${PN} += "${base_libdir}/firmware/${TARGET}" | 31 | FILES_${PN} += "${base_libdir}/firmware/${TARGET}" |
42 | 32 | ||
43 | PR = "r2" | 33 | PR = "r3" |