Updating IPUMM recipes to the latest
v2 cover Updating IPUMM recipes to the latest
Here is the link to the latest IPUMM recipe on meta-ti : http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb
Here is the link to the patchworks for version v1 of new recipe: http://dflvsu0004.dal.design.ti.com/patch/10880/
* The recipe today supports both dra7xx and omap5.
* But GLSDK has dropped the support for omap5, starting from the 6.10.00.01 release.
* Am assuming that the ipumm-fw recipe should continue to provide atleast the last supported firmware binary for OMAP5 which is why the older OMAP5 firmware binary is still referenced in the recipe.
* The firmware binaries have always been different. So we had this earlier approach of having two different recipes and then we decided to have a single recipe supporting both.
Link to the older recipe approach: http://arago-project.org/git/projects/meta-ti-glsdk.git?p=projects/meta-ti-glsdk.git;a=tree;f=recipes-ti/ipumm-fw;h=bcba55d8ac71890c5e53cda25c1d2b2eebe675b7;hb=6b80942da01d63a46567f3fe7b50bb1e945de1ba
Things to do:
* Add am57xx as compatible machine at a later time.
* Discuss about the python function that checks for the MMIP being defined in the MACHINE_FEATURES. Doesn’t this make it a two level indirection to support ipumm-fw? What is the reason for introducing this? I would like to understand this further.
Karthik Ramanan (1):
ipumm-fw: Updated ipumm firmware for latest IPC version
...umm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} | 25 ++++++++++----------
1 file changed, 12 insertions(+), 13 deletions(-)
rename recipes-bsp/ipumm-fw/{ipumm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} (53%)Signature · 1 line
1.7.9.5
PATCH v2 1/1 ipumm-fw: Updated ipumm firmware for latest IPC version
* This includes the error handling support.
* Minor bug fixes
---
...umm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} | 25 ++++++++++----------
1 file changed, 12 insertions(+), 13 deletions(-)
rename recipes-bsp/ipumm-fw/{ipumm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} (53%)recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb renamed from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +12 -13
@@ -6,26 +6,22 @@ python __anonymous() { raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES') } -DESCRIPTION = "Firmware for IPU " - +DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode" LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" + +LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=8206ccaf28c2932afb5afd9c9575287c" LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" -COMPATIBLE_MACHINE = "omap-a15" +COMPATIBLE_MACHINE = "dra7xx-evm|omap5-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" -# Need to set the PLATFORM variable since now multiple MACHINEs are sharing -# a common named tarball -PLATFORM = "UNKNOWN" -PLATFORM_dra7xx = "dra7xx-evm" -PLATFORM_omap5-evm = "omap5-evm" +SRC_URI_dra7xx-evm = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_06_00/exports/ipumm-${MACHINE}-3.00.06.00.tar.gz;protocol=ftp;name=${MACHINE}" -SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${PLATFORM}-3.00.04.02.tar.gz;protocol=http;name=${PLATFORM}" +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}" # DRA7xx checksums -SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379" -SRC_URI[dra7xx-evm.sha256sum] = "0b26fd13f9c318b52c18b9bff56862ef1f58a768b19285b87c035e65bc828ddc" +SRC_URI[dra7xx-evm.md5sum] = "8e1ae40eb10d631318d001463fa11d79" +SRC_URI[dra7xx-evm.sha256sum] = "30c275146c34d11dbc2dfd568f0bbc3098a13cd981eee8a7a9766cb07d2f1ca5" # OMAP5 checksums SRC_URI[omap5-evm.md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"
@@ -33,7 +29,7 @@ SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" -TARGET_dra7xx = "dra7-ipu2-fw.xem4" +TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4" TARGET_omap5-evm = "ducati-m3-core0.xem3" do_install() {
@@ -42,3 +38,6 @@ do_install() { } FILES_${PN} += "${base_libdir}/firmware/${TARGET}" + +PR = "r1" +
Signature · 1 line
1.7.9.5
Re: [master PATCH v2 1/1] ipumm-fw: Updated ipumm firmware for latest IPC version
Ignore this patch here, sent it by mistake to meta-arago. Posted it on meta-ti.
-----Original Message-----
From: R, Karthik
Sent: Monday, October 13, 2014 8:41 PM
To: [email protected]
Cc: R, Karthik
Subject: [master PATCH v2 1/1] ipumm-fw: Updated ipumm firmware for latest IPC version
* This includes the error handling support.
* Minor bug fixes
---
...umm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} | 25 ++++++++++----------
1 file changed, 12 insertions(+), 13 deletions(-) rename recipes-bsp/ipumm-fw/{ipumm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} (53%)recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb renamed from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +12 -11
@@ -6,26 +6,22 @@ python __anonymous() { raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES') } -DESCRIPTION = "Firmware for IPU " - +DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode" LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" + +LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=8206ccaf28c2932afb5afd9c9575287c" LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" -COMPATIBLE_MACHINE = "omap-a15" +COMPATIBLE_MACHINE = "dra7xx-evm|omap5-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" -# Need to set the PLATFORM variable since now multiple MACHINEs are sharing -# a common named tarball -PLATFORM = "UNKNOWN" -PLATFORM_dra7xx = "dra7xx-evm" -PLATFORM_omap5-evm = "omap5-evm" +SRC_URI_dra7xx-evm = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_06_00/exports/ipumm-${MACHINE}-3.00.06.00.tar.gz;protocol=ftp;name=${MACHINE}" -SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${PLATFORM}-3.00.04.02.tar.gz;protocol=http;name=${PLATFORM}" +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}" # DRA7xx checksums -SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379" -SRC_URI[dra7xx-evm.sha256sum] = "0b26fd13f9c318b52c18b9bff56862ef1f58a768b19285b87c035e65bc828ddc" +SRC_URI[dra7xx-evm.md5sum] = "8e1ae40eb10d631318d001463fa11d79" +SRC_URI[dra7xx-evm.sha256sum] = "30c275146c34d11dbc2dfd568f0bbc3098a13cd981eee8a7a9766cb07d2f1ca5" # OMAP5 checksums SRC_URI[omap5-evm.md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"
@@ -33,7 +29,7 @@ SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" -TARGET_dra7xx = "dra7-ipu2-fw.xem4" +TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4" TARGET_omap5-evm = "ducati-m3-core0.xem3" do_install() {
@@ -42,3 +38,6 @@ do_install() { } FILES_${PN} += "${base_libdir}/firmware/${TARGET}" + +PR = "r1" +
--
1.7.9.5
Re: [master PATCH v2 1/1] ipumm-fw: Updated ipumm firmware for latest IPC version
In reply to Karthik RamananQuoted 62 lines · Karthik Ramanan
* This includes the error handling support.
* Minor bug fixesSigned-off-by Karthik Ramanan <[email protected]>--- ...umm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} | 25 ++++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-)rename recipes-bsp/ipumm-fw/{ipumm-fw_3.00.04.02.bb => ipumm-fw_3.00.06.00.bb} (53%)
recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb renamed from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +9
-13@@ -6,26 +6,22 @@ python __anonymous() { raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES') } -DESCRIPTION = "Firmware for IPU " - +DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode" LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" + +LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=8206ccaf28c2932afb5afd9c9575287c" LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" -COMPATIBLE_MACHINE = "omap-a15" +COMPATIBLE_MACHINE = "dra7xx-evm|omap5-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" -# Need to set the PLATFORM variable since now multiple MACHINEs are sharing -# a common named tarball -PLATFORM = "UNKNOWN" -PLATFORM_dra7xx = "dra7xx-evm" -PLATFORM_omap5-evm = "omap5-evm" +SRC_URI_dra7xx-evm = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_06_00/exports/ipumm-${MACHINE}-3.00.06.00.tar.gz;protocol=ftp;name=${MACHINE}" -SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${PLATFORM}-3.00.04.02.tar.gz;protocol=http;name=${PLATFORM}" +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}" # DRA7xx checksums -SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379" -SRC_URI[dra7xx-evm.sha256sum] = "0b26fd13f9c318b52c18b9bff56862ef1f58a768b19285b87c035e65bc828ddc" +SRC_URI[dra7xx-evm.md5sum] = "8e1ae40eb10d631318d001463fa11d79" +SRC_URI[dra7xx-evm.sha256sum] = "30c275146c34d11dbc2dfd568f0bbc3098a13cd981eee8a7a9766cb07d2f1ca5" # OMAP5 checksums SRC_URI[omap5-evm.md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"@@ -33,7 +29,7 @@ SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" -TARGET_dra7xx = "dra7-ipu2-fw.xem4" +TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4" TARGET_omap5-evm = "ducati-m3-core0.xem3" do_install() {
recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb do_install() { · line 43
Quoted 6 lines
recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb renamed from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +3
-0@@ -42,3 +38,6 @@ do_install() { } FILES_${PN} += "${base_libdir}/firmware/${TARGET}" + +PR = "r1" +
Please ignore this patch, I sent it to meta-arago mailing list by mistake.