Skip to contentSkip to conversation

Karthik Ramanan : vis: Add radio application firmware

PATCH Arago Project git 1 participant 1 message May 21, 2014

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: 82cb9bf59a156d090daf269e78a86796dabbfd34
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=82cb9bf59a156d090daf269e78a86796dabbfd34
Author: Karthik Ramanan <[email protected]>
Date:   Tue May 20 01:19:45 2014 +0000

vis: Add radio application firmware

* Migrated from meta-ti-glsdk and preserved authorship for Karthik
* Modified for upstream:
* Made PACKAGE_ARCH machine specific
* Removed bogus HOMEPAGE setting
* Separated the firmware into a ${PN}-fw package and left the ARM side RadioApp in the base package.

---

 recipes-ti/vis-fw/vis_01.50.07.15.bb |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
recipes-ti/vis-fw/vis_01.50.07.15.bb new file +31 -0
new file mode 100644
index 0000000..85d8539
@@ -0,0 +1,31 @@
+DESCRIPTION = "Radio Application Firmware"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
+
+COMPATIBLE_MACHINE = "dra7xx-evm"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exports/vis-${MACHINE}-01.50.07.15.tar.gz;protocol=http"
+
+SRC_URI[md5sum] = "fe8b00e398fb3b7ada0c15b601867acb"
+SRC_URI[sha256sum] = "6e2aa47ae892910616ebdc96646af778af9a59ca0657716ab4fa4b24a9afae69"
+
+S = "${WORKDIR}"
+
+DSPAPP = "dra7-dsp1-fw-radio.xe66"
+GPPAPP = "RadioApp"
+
+do_install() {
+    install -d ${D}${base_libdir}/firmware
+    install -d ${D}${bindir}
+    install ${S}/prebuilt/${DSPAPP} ${D}${base_libdir}/firmware/${DSPAPP}
+    install -m 0755 ${S}/prebuilt/${GPPAPP} ${D}${bindir}/${GPPAPP}
+}
+
+PACKAGES += "${PN}-fw"
+RDEPENDS_${PN} += "${PN}-fw"
+
+FILES_${PN}-fw += "${base_libdir}/firmware/${DSPAPP}"
+
+INSANE_SKIP_${PN}-fw = "arch"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"