Skip to contentSkip to conversation

dspdce-fw: Updated dspdce-fw binaries

for master In review Karthik Ramanan 2 participants 6 messages Sep 24, 2014 – Oct 27, 2014

lore
Share & tools
lore
#0 lore raw

Change summary:

1. Refactor the recipe to have inc file for common portions
2. Add the new firmware that is compatible with the latest IPC.
3. Incorporated review comments from previous patch set.
4. New binary contains minor bug fixes as well.

Karthik Ramanan (1):
dspdce-fw: Updated dspdce firmware for latest IPC version

 recipes-bsp/dspdce-fw/dspdce-fw.inc           |   18 ++++++++++++++++++
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb |   19 +++----------------
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb |   11 +++++++++++
 3 files changed, 32 insertions(+), 16 deletions(-)
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw.inc
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb
Signature · 1 line
1.7.9.5
#1 lore raw

[for master] dspdce-fw: Updated dspdce firmware for latest IPC version

Also refactored the dspdce-fw recipes to have inc file for common parts

---
 recipes-bsp/dspdce-fw/dspdce-fw.inc           |   18 ++++++++++++++++++
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb |   19 +++----------------
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb |   11 +++++++++++
 3 files changed, 32 insertions(+), 16 deletions(-)
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw.inc
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb
recipes-bsp/dspdce-fw/dspdce-fw.inc new file +18 -0
new file mode 100644
index 0000000..9676888
@@ -0,0 +1,18 @@
+DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
+LICENSE = "TI-TSPA"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
+
+TARGET = "dra7-dsp1-fw.xe66"
+
+do_install() {
+        mkdir -p ${D}${base_libdir}/firmware
+        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
+}
+
+FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
+
+INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb +3 -16
index 69e9814..bfc3e1f 100644
@@ -1,24 +1,11 @@
-DESCRIPTION = "Firmware for DSP "
-LICENSE = "TI-TSPA"
+require dspdce-fw.inc
+
 LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=587a7b9fdd99f98fbe99af4a4ba3362a"
 
-COMPATIBLE_MACHINE = "dra7xx-evm"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r1"
 
 SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_02/exports/dspdce-${MACHINE}-1.00.00.02.tar.gz;protocol=http"
 
-S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
-
 SRC_URI[md5sum] = "df19baf16f828b5d32b4eed50f0364f5"
 SRC_URI[sha256sum] = "0c0f34674110d1ef0300b61b572a326daffb95a31cc9d45888b2e50a83c6f555"
 
-TARGET = "dra7-dsp1-fw.xe66"
-
-do_install() {
-        mkdir -p ${D}${base_libdir}/firmware
-        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
-
-INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb new file +11 -0
new file mode 100644
index 0000000..db01f31
@@ -0,0 +1,11 @@
+require dspdce-fw.inc
+
+LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=b8feda5a3ed8197d05993c0d0ff5590e"
+
+PR = "r0"
+
+SRC_URI = " http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_04/exports/dspdce-${MACHINE}-1.00.00.04.tar.gz;protocol=ftp"
+
+SRC_URI[md5sum] = "72722b12e90c26a85f7f1b56d749cad0"
+SRC_URI[sha256sum] = "64057db41dbee5a992db88129a9154f27c67cfbba8efdc0f09b7de38df4d58eb"
+
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [for master] dspdce-fw: Updated dspdce firmware for latest IPC version

Quoted 2 lines · Karthik Ramanan

Also refactored the dspdce-fw recipes to have inc file for common parts

Why do you need 2 versions? Can you just upgrade from 1.00.00.02 to 1.00.00.04?

Quoted 90 lines
---
 recipes-bsp/dspdce-fw/dspdce-fw.inc           |   18 ++++++++++++++++++
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb |   19 +++----------------
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb |   11 +++++++++++
 3 files changed, 32 insertions(+), 16 deletions(-)
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw.inc
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb
recipes-bsp/dspdce-fw/dspdce-fw.inc new file +18 -0
new file mode 100644
index 0000000..9676888
@@ -0,0 +1,18 @@
+DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
+LICENSE = "TI-TSPA"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
+
+TARGET = "dra7-dsp1-fw.xe66"
+
+do_install() {
+        mkdir -p ${D}${base_libdir}/firmware
+        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
+}
+
+FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
+
+INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb +3 -16
index 69e9814..bfc3e1f 100644
@@ -1,24 +1,11 @@
-DESCRIPTION = "Firmware for DSP "
-LICENSE = "TI-TSPA"
+require dspdce-fw.inc
+
 LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=587a7b9fdd99f98fbe99af4a4ba3362a"
 
-COMPATIBLE_MACHINE = "dra7xx-evm"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r1"
 
 SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_02/exports/dspdce-${MACHINE}-1.00.00.02.tar.gz;protocol=http"
 
-S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
-
 SRC_URI[md5sum] = "df19baf16f828b5d32b4eed50f0364f5"
 SRC_URI[sha256sum] = "0c0f34674110d1ef0300b61b572a326daffb95a31cc9d45888b2e50a83c6f555"
 
-TARGET = "dra7-dsp1-fw.xe66"
-
-do_install() {
-        mkdir -p ${D}${base_libdir}/firmware
-        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
-
-INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb new file +11 -0
new file mode 100644
index 0000000..db01f31
@@ -0,0 +1,11 @@
+require dspdce-fw.inc
+
+LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=b8feda5a3ed8197d05993c0d0ff5590e"
+
+PR = "r0"
+
+SRC_URI = " http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_04/exports/dspdce-${MACHINE}-1.00.00.04.tar.gz;protocol=ftp"
+
+SRC_URI[md5sum] = "72722b12e90c26a85f7f1b56d749cad0"
+SRC_URI[sha256sum] = "64057db41dbee5a992db88129a9154f27c67cfbba8efdc0f09b7de38df4d58eb"
+
Signature · 7 lines
1.7.9.5

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

PATCH v2 1/1 dspdce-fw: Updated dspdce firmware for latest IPC version

In reply to Karthik Ramanan

Also refactored the dspdce-fw recipes to have inc file for common parts

---
 recipes-bsp/dspdce-fw/dspdce-fw.inc           |   18 ++++++++++++++++++
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb |   24 ------------------------
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb |   11 +++++++++++
 3 files changed, 29 insertions(+), 24 deletions(-)
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw.inc
 delete mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb
recipes-bsp/dspdce-fw/dspdce-fw.inc new file +18 -0
new file mode 100644
index 0000000..9676888
@@ -0,0 +1,18 @@
+DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
+LICENSE = "TI-TSPA"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
+
+TARGET = "dra7-dsp1-fw.xe66"
+
+do_install() {
+        mkdir -p ${D}${base_libdir}/firmware
+        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
+}
+
+FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
+
+INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb deleted +0 -24
deleted file mode 100644
index 69e9814..0000000
@@ -1,24 +0,0 @@
-DESCRIPTION = "Firmware for DSP "
-LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=587a7b9fdd99f98fbe99af4a4ba3362a"
-
-COMPATIBLE_MACHINE = "dra7xx-evm"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_02/exports/dspdce-${MACHINE}-1.00.00.02.tar.gz;protocol=http"
-
-S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
-
-SRC_URI[md5sum] = "df19baf16f828b5d32b4eed50f0364f5"
-SRC_URI[sha256sum] = "0c0f34674110d1ef0300b61b572a326daffb95a31cc9d45888b2e50a83c6f555"
-
-TARGET = "dra7-dsp1-fw.xe66"
-
-do_install() {
-        mkdir -p ${D}${base_libdir}/firmware
-        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
-
-INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb new file +11 -0
new file mode 100644
index 0000000..db01f31
@@ -0,0 +1,11 @@
+require dspdce-fw.inc
+
+LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=b8feda5a3ed8197d05993c0d0ff5590e"
+
+PR = "r0"
+
+SRC_URI = " http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_04/exports/dspdce-${MACHINE}-1.00.00.04.tar.gz;protocol=ftp"
+
+SRC_URI[md5sum] = "72722b12e90c26a85f7f1b56d749cad0"
+SRC_URI[sha256sum] = "64057db41dbee5a992db88129a9154f27c67cfbba8efdc0f09b7de38df4d58eb"
+
Signature · 1 line
1.7.9.5
#4 lore raw

Re: [PATCH v2] dspdce-fw: Updated dspdce firmware for latest IPC version

Karthik,

I'm at lost here. You did address my previous comment of not leaving 2 versions, just updating from .02 to .04, but I don't understand why do you need an .inc file for, if there's only one version left?

I traced it a bit back and there was a recommendation from Franklin about creating .inc file for a different recipe for ipumm-fw, but in that case it is warranted due to the fact that you pull 2 different sources for 2 platforms. So, in that case it might be better having 2 separate recipes for different machines with common parts in the .inc file, but see for yourself if that produces cleaner and simpler results. It's not alwats clear cut and you may need to experiment to choose the right option...

Either way, dspdce-fw doesn't seem to need an .inc file.

Signature · 1 line
Denys
Quoted 92 lines · Karthik Ramanan

Also refactored the dspdce-fw recipes to have inc file for common parts

---
 recipes-bsp/dspdce-fw/dspdce-fw.inc           |   18 ++++++++++++++++++
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb |   24 ------------------------
 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb |   11 +++++++++++
 3 files changed, 29 insertions(+), 24 deletions(-)
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw.inc
 delete mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb
 create mode 100644 recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb
recipes-bsp/dspdce-fw/dspdce-fw.inc new file +18 -0
new file mode 100644
index 0000000..9676888
@@ -0,0 +1,18 @@
+DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
+LICENSE = "TI-TSPA"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
+
+TARGET = "dra7-dsp1-fw.xe66"
+
+do_install() {
+        mkdir -p ${D}${base_libdir}/firmware
+        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
+}
+
+FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
+
+INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.02.bb deleted +0 -24
deleted file mode 100644
index 69e9814..0000000
@@ -1,24 +0,0 @@
-DESCRIPTION = "Firmware for DSP "
-LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=587a7b9fdd99f98fbe99af4a4ba3362a"
-
-COMPATIBLE_MACHINE = "dra7xx-evm"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_02/exports/dspdce-${MACHINE}-1.00.00.02.tar.gz;protocol=http"
-
-S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
-
-SRC_URI[md5sum] = "df19baf16f828b5d32b4eed50f0364f5"
-SRC_URI[sha256sum] = "0c0f34674110d1ef0300b61b572a326daffb95a31cc9d45888b2e50a83c6f555"
-
-TARGET = "dra7-dsp1-fw.xe66"
-
-do_install() {
-        mkdir -p ${D}${base_libdir}/firmware
-        cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
-}
-
-FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
-
-INSANE_SKIP_${PN} = "arch"
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.04.bb new file +11 -0
new file mode 100644
index 0000000..db01f31
@@ -0,0 +1,11 @@
+require dspdce-fw.inc
+
+LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=b8feda5a3ed8197d05993c0d0ff5590e"
+
+PR = "r0"
+
+SRC_URI = " http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_04/exports/dspdce-${MACHINE}-1.00.00.04.tar.gz;protocol=ftp"
+
+SRC_URI[md5sum] = "72722b12e90c26a85f7f1b56d749cad0"
+SRC_URI[sha256sum] = "64057db41dbee5a992db88129a9154f27c67cfbba8efdc0f09b7de38df4d58eb"
+
Signature · 7 lines
1.7.9.5

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

Re: [PATCH v2] dspdce-fw: Updated dspdce firmware for latest IPC version

Quoted 14 lines · Denys Dmytriyenko

Karthik,

I'm at lost here. You did address my previous comment of not leaving 2 versions, just updating from .02 to .04, but I don't understand why do you need an .inc file for, if there's only one version left?

I traced it a bit back and there was a recommendation from Franklin about creating .inc file for a different recipe for ipumm-fw, but in that case it is warranted due to the fact that you pull 2 different sources for 2 platforms. So, in that case it might be better having 2 separate recipes for different machines with common parts in the .inc file, but see for yourself if that produces cleaner and simpler results. It's not alwats clear cut and you may need to experiment to choose the right option...

Quoted 2 lines

Either way, dspdce-fw doesn't seem to need an .inc file.

Denys,

There is a case where there may be multiple dspdce firmware versions based on different versions of IPC. It will make sense that we introduce the inc file when there is a need.

I will abandon this patch and resubmit a v3 for this.

Regards
Karthik