Skip to contentSkip to conversation

recipes-devtools: websocketd: Add new recipe for websocket app

PATCH In review [email protected] 2 participants 4 messages Apr 30, 2020 – May 1, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 recipes-devtools: websocketd: Add new recipe for websocket app

From: Nikhil Devshatwar <[email protected]>

websocketd is a userspace application which allows to send data over web sockets. This is used in SDK for visualizing statistics parameters.

---
 .../recipes-devtools/websocketd/websocketd.bb    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +16 -0
new file mode 100644
index 00000000..44f549ee
@@ -0,0 +1,16 @@
+SUMMARY = "Application for routing native applications via websockets"
+HOMEPAGE = "http://websocketd.com/"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a14d7befdbee1290ac5c472cd85d66f2"
+
+PV = "0.3.0"
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"
+SRC_URI[md5sum] = "968c1ce4ed4fe5f86817f2533f5d3004"
+
+S = "${WORKDIR}"
+
+do_install() {
+	install -d ${D}/${bindir}
+	install -m 0755 ${S}/websocketd ${D}${bindir}/
+}
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 2/2 recipes-devtools: statcol: New recipe for statistics collector

From: Nikhil Devshatwar <[email protected]>

Statistics Collector is userspace application which communicates with remote processors to get the statistics data on target.

This can be printed command line or sent over network for host-side visualization.

---

Notes:
Changes from v1:
* Add the package in correct packagegroup

 .../packagegroup-arago-tisdk-addons.bb        |  2 +-
 .../recipes-devtools/statcol/statcol.bb       | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -1
index 2913fa15..c8c445cb 100644
@@ -77,7 +77,7 @@ UTILS_append_k3 = " mmc-utils \
 "
 
 UTILS_append_am65xx = " ipc-lld-examples-rtos ti-ipc-rtos-fw pru-icss pru-pwm-fw"
-UTILS_append_j7-evm = " ipc-lld-examples-rtos pru-icss ti-display-sharing-fw cpsw9g-eth-fw"
+UTILS_append_j7-evm = " ipc-lld-examples-rtos pru-icss ti-display-sharing-fw cpsw9g-eth-fw statcol"
 
 UTILS_append_omapl138 = " ti-ipc-rtos-fw"
 
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +19 -0
new file mode 100644
index 00000000..b87d940b
@@ -0,0 +1,19 @@
+SUMMARY = "Statistics collector application"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6bc27cd44417c389a180bd62f552a0"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "80bac9aa2d20160197b336ab3c82ce9080091978"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "rpmsg-char-helper websocketd"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${CROSS_COMPILE}"
+
+do_install() {
+	DESTDIR=${D} make install
+}
Signature · 1 line
2.17.1
#2 lore raw

Re: [zeus PATCH v2 2/2] recipes-devtools: statcol: New recipe for statistics collector

Thanks, this lookd good, but does not apply to master. Can you please rebase?

Quoted 61 lines · On Thu, Apr 30, 2020 at 04:05:58PM +0530, [email protected] wrote:

From: Nikhil Devshatwar <[email protected]>

Statistics Collector is userspace application which communicates with remote processors to get the statistics data on target.

This can be printed command line or sent over network for host-side visualization.

---

Notes:
Changes from v1:
* Add the package in correct packagegroup

 .../packagegroup-arago-tisdk-addons.bb        |  2 +-
 .../recipes-devtools/statcol/statcol.bb       | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -1
index 2913fa15..c8c445cb 100644
@@ -77,7 +77,7 @@ UTILS_append_k3 = " mmc-utils \
 "
 
 UTILS_append_am65xx = " ipc-lld-examples-rtos ti-ipc-rtos-fw pru-icss pru-pwm-fw"
-UTILS_append_j7-evm = " ipc-lld-examples-rtos pru-icss ti-display-sharing-fw cpsw9g-eth-fw"
+UTILS_append_j7-evm = " ipc-lld-examples-rtos pru-icss ti-display-sharing-fw cpsw9g-eth-fw statcol"
 
 UTILS_append_omapl138 = " ti-ipc-rtos-fw"
 
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +19 -0
new file mode 100644
index 00000000..b87d940b
@@ -0,0 +1,19 @@
+SUMMARY = "Statistics collector application"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6bc27cd44417c389a180bd62f552a0"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "80bac9aa2d20160197b336ab3c82ce9080091978"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "rpmsg-char-helper websocketd"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${CROSS_COMPILE}"
+
+do_install() {
+	DESTDIR=${D} make install
+}
Signature · 1 line
2.17.1
#3 lore raw

Re: [zeus PATCH v2 2/2] recipes-devtools: statcol: New recipe for statistics collector

Denys,

Quoted 1 line · Denys Dmytriyenko

Thanks, this lookd good, but does not apply to master. Can you please rebase?

These recipes depend on rpmsg-char-helper.
I understand this package will get deprecated next week and some other interface needs to be used foe rpmsg-char. If rpmsg-char-helper is not going to be added in the coresdk, we need to drop these as well.

Regards,
Nikhil D

Quoted 64 lines · On Thu, Apr 30, 2020 at 04:05:58PM +0530, [email protected] wrote:
Quoted 61 lines

From: Nikhil Devshatwar <[email protected]>

Statistics Collector is userspace application which communicates with remote processors to get the statistics data on target.

This can be printed command line or sent over network for host-side visualization.

---

Notes:
Changes from v1:
* Add the package in correct packagegroup

  .../packagegroup-arago-tisdk-addons.bb        |  2 +-
  .../recipes-devtools/statcol/statcol.bb       | 19 +++++++++++++++++++
  2 files changed, 20 insertions(+), 1 deletion(-)

create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +1 -1
index 2913fa15..c8c445cb 100644
@@ -77,7 +77,7 @@ UTILS_append_k3 = " mmc-utils \
  "
 
  UTILS_append_am65xx = " ipc-lld-examples-rtos ti-ipc-rtos-fw pru-icss pru-pwm-fw"
-UTILS_append_j7-evm = " ipc-lld-examples-rtos pru-icss ti-display-sharing-fw cpsw9g-eth-fw"
+UTILS_append_j7-evm = " ipc-lld-examples-rtos pru-icss ti-display-sharing-fw cpsw9g-eth-fw statcol"
 
  UTILS_append_omapl138 = " ti-ipc-rtos-fw"
 
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +19 -0
new file mode 100644
index 00000000..b87d940b
@@ -0,0 +1,19 @@
+SUMMARY = "Statistics collector application"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6bc27cd44417c389a180bd62f552a0"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "80bac9aa2d20160197b336ab3c82ce9080091978"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "rpmsg-char-helper websocketd"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${CROSS_COMPILE}"
+
+do_install() {
+	DESTDIR=${D} make install
+}
Signature · 1 line
2.17.1