Skip to contentSkip to conversation

Updating IPUMM recipes to the latest

PATCH Superseded Karthik Ramanan 2 participants 5 messages Oct 13, 2014 – Oct 22, 2014

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
similarity index 53%
rename from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb
rename to recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb
index 7f67c39..5049945 100644
@@ -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
#2 lore raw

Re: [master PATCH v2 1/1] ipumm-fw: Updated ipumm firmware for latest IPC version

Quoted 2 lines · Karthik Ramanan

* This includes the error handling support.
* Minor bug fixes

Karthik,

Quick question - is there a separate download link for am57xx-evm or should dra7xx-evm one be used for it?

Signature · 1 line
Denys
Quoted 72 lines
---
 ...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
similarity index 53%
rename from recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb
rename to recipes-bsp/ipumm-fw/ipumm-fw_3.00.06.00.bb
index 7f67c39..5049945 100644
@@ -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 · 7 lines
1.7.9.5

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#3 lore raw

Re: [master PATCH v2 1/1] ipumm-fw: Updated ipumm firmware for latest IPC version

Quoted 9 lines · Denys Dmytriyenko
Quoted 2 lines · Karthik Ramanan

* This includes the error handling support.
* Minor bug fixes

Karthik,

Quick question - is there a separate download link for am57xx-evm or should dra7xx-evm one be used for it?

Denys,

I believe that the same can be reused for am57xx-evm. We don't have a separate download link for the am57xx-evm.

Since the IPUMM binary was only used for dra7xx-evm until now the naming makes it sound like its specific to dra7xx-evm, we should change this going ahead.

Regards
Karthik

#4 lore raw

Re: [master PATCH v2 1/1] ipumm-fw: Updated ipumm firmware for latest IPC version

Quoted 10 lines · Karthik Ramanan
Quoted 9 lines · Denys Dmytriyenko
Quoted 2 lines · Karthik Ramanan

* This includes the error handling support.
* Minor bug fixes

Karthik,

Quick question - is there a separate download link for am57xx-evm or should dra7xx-evm one be used for it?

Quoted 8 lines

Denys,

I believe that the same can be reused for am57xx-evm. We don't have a separate download link for the am57xx-evm.

Since the IPUMM binary was only used for dra7xx-evm until now the naming makes it sound like its specific to dra7xx-evm, we should change this going ahead.

Thanks. I sent out v3 of your patch with the modifications to allow am57xx-evm to be built using the same dra7xx-evm binary - please provide any feedback. And I agree we should look into naming it properly in the future.

Signature · 1 line
Denys