Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 2 participants 7 messages Apr 26, 2020 – Apr 30, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 ...packagegroup-arago-tisdk-addons-sdk-target.bb |  4 +++-
 .../recipes-devtools/websocketd/websocketd.bb    | 16 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +3 -1
index 26925f2f..54a59022 100644
@@ -133,7 +133,9 @@ UTILS_append_dra7xx = " can-utils-dev \
                         elfutils-staticdev \
 "
 UTILS_append_k2g = " can-utils-dev"
-UTILS_append_k3 = " can-utils-dev"
+UTILS_append_k3 = " can-utils-dev \
+                    websocketd \
+"
 
 EXTRA_LIBS = ""
 EXTRA_LIBS_append_ti43x = "\
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 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.

---
 ...kagegroup-arago-tisdk-addons-sdk-target.bb |  1 +
 .../recipes-devtools/statcol/statcol.bb       | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -0
index 54a59022..c6502a1f 100644
@@ -135,6 +135,7 @@ UTILS_append_dra7xx = " can-utils-dev \
 UTILS_append_k2g = " can-utils-dev"
 UTILS_append_k3 = " can-utils-dev \
                     websocketd \
+                    statcol \
 "
 
 EXTRA_LIBS = ""
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 v1 2/2] recipes-devtools: statcol: New recipe for statistics collector

Quoted 34 lines · On Sun, Apr 26, 2020 at 11:12:23PM +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.

---
 ...kagegroup-arago-tisdk-addons-sdk-target.bb |  1 +
 .../recipes-devtools/statcol/statcol.bb       | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -0
index 54a59022..c6502a1f 100644
@@ -135,6 +135,7 @@ UTILS_append_dra7xx = " can-utils-dev \
 UTILS_append_k2g = " can-utils-dev"
 UTILS_append_k3 = " can-utils-dev \
                     websocketd \
+                    statcol \
 "
 
 EXTRA_LIBS = ""
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +1 -0
new file mode 100644
index 00000000..b87d940b
@@ -0,0 +1,19 @@
+SUMMARY = "Statistics collector application"

meta-arago-extras/recipes-devtools/statcol/statcol.bb line 11

Quoted 10 lines
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +10 -0
+
+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"

Missing dependency on rpmsg-char-helper

Quoted 11 lines
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +8 -0
+
+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 v1 2/2] recipes-devtools: statcol: New recipe for statistics collector

Quoted 38 lines · Denys Dmytriyenko
Quoted 37 lines · On Sun, Apr 26, 2020 at 11:12:23PM +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.

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

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

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -0
index 54a59022..c6502a1f 100644
@@ -135,6 +135,7 @@ UTILS_append_dra7xx = " can-utils-dev \
  UTILS_append_k2g = " can-utils-dev"
  UTILS_append_k3 = " can-utils-dev \
                      websocketd \
+                    statcol \
  "
 
  EXTRA_LIBS = ""
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +4 -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"
Quoted 8 lines

meta-arago-extras/recipes-devtools/statcol/statcol.bb line 11

Quoted 7 lines
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +7 -0
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "80bac9aa2d20160197b336ab3c82ce9080091978"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "rpmsg-char-helper websocketd"

Missing dependency on rpmsg-char-helper

Oh, I thought this has been upstreamed to meta-arago. Since the coresdk has support for rpmsg-char. I will post the recipe for rpmsg-char-helper.

Regards,
Nikhil D

Quoted 13 lines
Quoted 13 lines
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +8 -0
+
+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
#4 lore raw
In reply to [email protected]
Quoted 18 lines · On Sun, Apr 26, 2020 at 11:12:22PM +0530, [email protected] wrote:

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.

---
 ...packagegroup-arago-tisdk-addons-sdk-target.bb |  4 +++-
 .../recipes-devtools/websocketd/websocketd.bb    | 16 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +0 -0
index 26925f2f..54a59022 100644

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb UTILS_append_dra7xx = " can-utils-dev \ · line 137

Quoted 6 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +2 -1
@@ -133,7 +133,9 @@ UTILS_append_dra7xx = " can-utils-dev \
                         elfutils-staticdev \
 "
 UTILS_append_k2g = " can-utils-dev"
-UTILS_append_k3 = " can-utils-dev"
+UTILS_append_k3 = " can-utils-dev \
+                    websocketd \

Why are you adding it to the devkit?

Quoted 29 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -0
+"
 
 EXTRA_LIBS = ""
 EXTRA_LIBS_append_ti43x = "\
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
#5 lore raw
Quoted 14 lines · Denys Dmytriyenko
Quoted 13 lines · On Sun, Apr 26, 2020 at 11:12:22PM +0530, [email protected] wrote:

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.

---
  ...packagegroup-arago-tisdk-addons-sdk-target.bb |  4 +++-
  .../recipes-devtools/websocketd/websocketd.bb    | 16 ++++++++++++++++
  2 files changed, 19 insertions(+), 1 deletion(-)

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

Quoted 12 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb UTILS_append_dra7xx = " can-utils-dev \ · line 137

Quoted 11 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +2 -1
index 26925f2f..54a59022 100644
@@ -133,7 +133,9 @@ UTILS_append_dra7xx = " can-utils-dev \
                          elfutils-staticdev \
  "
  UTILS_append_k2g = " can-utils-dev"
-UTILS_append_k3 = " can-utils-dev"
+UTILS_append_k3 = " can-utils-dev \
+                    websocketd \

Why are you adding it to the devkit?

This is an on target utility.
Please suggest the best place for including this.

Regards,
Nikhil D

Quoted 30 lines
Quoted 30 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -0
+"
 
  EXTRA_LIBS = ""
  EXTRA_LIBS_append_ti43x = "\
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
#6 lore raw
Quoted 29 lines · Nikhil Devshatwar
Quoted 14 lines · Denys Dmytriyenko
Quoted 13 lines · On Sun, Apr 26, 2020 at 11:12:22PM +0530, [email protected] wrote:

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.

---
 ...packagegroup-arago-tisdk-addons-sdk-target.bb |  4 +++-
 .../recipes-devtools/websocketd/websocketd.bb    | 16 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
Quoted 12 lines

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb UTILS_append_dra7xx = " can-utils-dev \ · line 137

Quoted 11 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +2 -1
index 26925f2f..54a59022 100644
@@ -133,7 +133,9 @@ UTILS_append_dra7xx = " can-utils-dev \
                         elfutils-staticdev \
 "
 UTILS_append_k2g = " can-utils-dev"
-UTILS_append_k3 = " can-utils-dev"
+UTILS_append_k3 = " can-utils-dev \
+                    websocketd \

Why are you adding it to the devkit?

Quoted 2 lines

This is an on target utility.
Please suggest the best place for including this.

Sorry, missed answering your questions earlier - looks like you already figured it out in v2...

Quoted 32 lines

Regards,
Nikhil D

Quoted 29 lines
Quoted 29 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-target.bb +1 -0
+"
 EXTRA_LIBS = ""
 EXTRA_LIBS_append_ti43x = "\
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