Skip to contentSkip to conversation

websocketd: Add new recipe

PATCH In review Nikhil Devshatwar 3 participants 15 messages Oct 26, 2020 – Oct 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 websocketd: Add new recipe

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
 .../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 2/2 statcol: New recipe for statistics collector application

statcol is a statistics collector application which can be used to get various statistics data like CPU load, DDR bandwidth, network speed, etc from various sources.

It allows to simply dump the data over command line or it can also be used to send to a websocket for visualization on a host machine.

---
 .../recipes-devtools/statcol/statcol.bb       | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-extras/recipes-devtools/statcol/statcol.bb
meta-arago-extras/recipes-devtools/statcol/statcol.bb new file +20 -0
new file mode 100644
index 00000000..8a7c2efb
@@ -0,0 +1,20 @@
+SUMMARY = "Statistics collector application"
+
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bb6bc27cd44417c389a180bd62f552a0"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRCREV = "6420b4e6d98dc2c6825557d7d6f56ffd52fd230c"
+SRC_URI = "git://git.ti.com/glsdk/statcol.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+DEPENDS = "ti-rpmsg-char websocketd"
+RDEPENDS_${PN} = "bash"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "SYSROOT=${STAGING_DIR_TARGET} "
+
+do_install() {
+	DESTDIR=${D} make install
+}
Signature · 1 line
2.17.1
#2 lore raw
In reply to Nikhil Devshatwar

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
  .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

Quoted 8 lines
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +8 -0
+SRC_URI[md5sum] = "968c1ce4ed4fe5f86817f2533f5d3004"
+
+S = "${WORKDIR}"
+
+do_install() {
+	install -d ${D}/${bindir}
+	install -m 0755 ${S}/websocketd ${D}${bindir}/
+}
#3 lore raw
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
  .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 5 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

Quoted 9 lines
Quoted 9 lines
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +8 -0
+SRC_URI[md5sum] = "968c1ce4ed4fe5f86817f2533f5d3004"
+
+S = "${WORKDIR}"
+
+do_install() {
+	install -d ${D}/${bindir}
+	install -m 0755 ${S}/websocketd ${D}${bindir}/
+}
#4 lore raw

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Dan

#5 lore raw
Quoted 37 lines · Dan Murphy

Nikhil

Quoted 34 lines · Nikhil Devshatwar
Quoted 33 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
  .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Why cannot it be build from sources instead of pulling prebuilt binaries?

Signature · 1 line
Denys
#6 lore raw

Denys

Quoted 38 lines · Denys Dmytriyenko
Quoted 37 lines · Dan Murphy

Nikhil

Quoted 34 lines · Nikhil Devshatwar
Quoted 33 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

Quoted 9 lines
Quoted 7 lines
Quoted 4 lines
Quoted 1 line

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Dan

#7 lore raw
Quoted 45 lines · Dan Murphy

Denys

Quoted 42 lines · Denys Dmytriyenko
Quoted 41 lines · Dan Murphy

Nikhil

Quoted 38 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
  .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Signature · 1 line
Denys
#8 lore raw

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Nice! Lets build it from source then instead of pulling a pre-compiled release

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Dan

#9 lore raw
Quoted 61 lines · Dan Murphy

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Quoted 7 lines

Nice! Lets build it from source then instead of pulling a pre-compiled release

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Okay, Let me give it a try and repost
Nikhil D

Quoted 2 lines

Dan

#10 lore raw
Quoted 65 lines · Nikhil Devshatwar
Quoted 64 lines · Dan Murphy

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Nice! Lets build it from source then instead of pulling a pre-compiled release

Quoted 8 lines
Quoted 4 lines

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Okay, Let me give it a try and repost
Nikhil D

Hi Denys, Dan,

Well, I tried a simple recipe and I am not able to figure out how the dependencies are handled in go package builds.

I tried to add DEPENDS, I tried to run "go get" command after do_configure and before do_compile, but this didn't help.

I inherited go-mod instead of go (Not sure if this is a right step) In this, I get another error when go is trying to download the dependency package. Looks like a DNS lookup error.

Recipe and logs here:
http://serenity.dal.design.ti.com:7777/raw/rekohinake

Please help me how to fix this. This is my first attempt to build any go package. bitbake and otherwise also.

Quoted 6 lines
Quoted 2 lines

Dan

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#11 lore raw
Quoted 83 lines · Nikhil Devshatwar
Quoted 65 lines · Nikhil Devshatwar
Quoted 64 lines · Dan Murphy

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Nice! Lets build it from source then instead of pulling a pre-compiled release

Quoted 8 lines
Quoted 4 lines

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Okay, Let me give it a try and repost
Nikhil D

Hi Denys, Dan,

Well, I tried a simple recipe and I am not able to figure out how the dependencies are handled in go package builds.

I tried to add DEPENDS, I tried to run "go get" command after do_configure and before do_compile, but this didn't help.

Quoted 6 lines

I inherited go-mod instead of go (Not sure if this is a right step) In this, I get another error when go is trying to download the dependency package. Looks like a DNS lookup error.

Recipe and logs here:
http://serenity.dal.design.ti.com:7777/raw/rekohinake

Here is a publicly accessible link for the logs
https://pastebin.ubuntu.com/p/Cr536RF25t/

Nikhil D

Quoted 14 lines

Please help me how to fix this. This is my first attempt to build any go package. bitbake and otherwise also.

Quoted 6 lines
Quoted 2 lines

Dan

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#12 lore raw
Quoted 88 lines · Nikhil Devshatwar
Quoted 87 lines · Nikhil Devshatwar
Quoted 65 lines · Nikhil Devshatwar
Quoted 64 lines · Dan Murphy

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Nice! Lets build it from source then instead of pulling a pre-compiled release

Quoted 8 lines
Quoted 4 lines

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Okay, Let me give it a try and repost
Nikhil D

Hi Denys, Dan,

Well, I tried a simple recipe and I am not able to figure out how the dependencies are handled in go package builds.

I tried to add DEPENDS, I tried to run "go get" command after do_configure and before do_compile, but this didn't help.

I inherited go-mod instead of go (Not sure if this is a right step) In this, I get another error when go is trying to download the dependency package. Looks like a DNS lookup error.

Quoted 6 lines
Quoted 2 lines

Recipe and logs here:
http://serenity.dal.design.ti.com:7777/raw/rekohinake

Here is a publicly accessible link for the logs
https://pastebin.ubuntu.com/p/Cr536RF25t/

Hi Dan, Denys,

Can you please give me a hint on what might be going wrong? It seems that the inherit go-mod is right thing to do but I am not able to figure out how to fix the DNS lookup errors.

Regards,
Nikhil D

Quoted 20 lines

Nikhil D

Quoted 6 lines

Please help me how to fix this. This is my first attempt to build any go package. bitbake and otherwise also.

Quoted 2 lines
Quoted 2 lines

Dan

Quoted 8 lines
Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#13 lore raw
Quoted 96 lines · Nikhil Devshatwar
Quoted 88 lines · Nikhil Devshatwar
Quoted 87 lines · Nikhil Devshatwar
Quoted 65 lines · Nikhil Devshatwar
Quoted 64 lines · Dan Murphy

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 19 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of command line applications via a websocket so that web pages can interact with them.

This is very useful for visualizing statistics information on host machine browser.

---
   .../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 +0 -0
new file mode 100644
index 00000000..44f549ee

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 7

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

0.3.1 is available

Quoted 7 lines
Quoted 4 lines

meta-arago-extras/recipes-devtools/websocketd/websocketd.bb line 8

Quoted 1 line
meta-arago-extras/recipes-devtools/websocketd/websocketd.bb new file +1 -0
+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Nice! Lets build it from source then instead of pulling a pre-compiled release

Quoted 8 lines
Quoted 4 lines

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Okay, Let me give it a try and repost
Nikhil D

Hi Denys, Dan,

Well, I tried a simple recipe and I am not able to figure out how the dependencies are handled in go package builds.

I tried to add DEPENDS, I tried to run "go get" command after do_configure and before do_compile, but this didn't help.

I inherited go-mod instead of go (Not sure if this is a right step) In this, I get another error when go is trying to download the dependency package. Looks like a DNS lookup error.

Quoted 6 lines
Quoted 2 lines

Recipe and logs here:
http://serenity.dal.design.ti.com:7777/raw/rekohinake

Here is a publicly accessible link for the logs
https://pastebin.ubuntu.com/p/Cr536RF25t/

Quoted 5 lines

Hi Dan, Denys,

Can you please give me a hint on what might be going wrong? It seems that the inherit go-mod is right thing to do but I am not able to figure out how to fix the DNS lookup errors.

Yes, inherit go-mod is correct. I'm not seeing any DNS/proxy issues from outside - looks like it's specific to TI network. Let me try over VPN, but that would be setup issue and not specific to a recipe.

Signature · 1 line
Denys
Quoted 23 lines

Regards,
Nikhil D

Quoted 20 lines

Nikhil D

Quoted 6 lines

Please help me how to fix this. This is my first attempt to build any go package. bitbake and otherwise also.

Quoted 2 lines
Quoted 2 lines

Dan

Quoted 8 lines
Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#14 lore raw
Quoted 99 lines · Denys Dmytriyenko
Quoted 98 lines · Nikhil Devshatwar
Quoted 88 lines · Nikhil Devshatwar
Quoted 87 lines · Nikhil Devshatwar
Quoted 65 lines · Nikhil Devshatwar
Quoted 64 lines · Dan Murphy

Denys/Nikhil

Quoted 49 lines · Denys Dmytriyenko
Quoted 48 lines · Dan Murphy

Denys

Quoted 45 lines · Denys Dmytriyenko
Quoted 44 lines · Dan Murphy

Nikhil

Quoted 31 lines · Nikhil Devshatwar
Quoted 30 lines · Dan Murphy

Nikhil

Quoted 26 lines · Nikhil Devshatwar

websocketd is an application which allows to redirect output of
command line applications via a websocket so that web pages can
interact with them.

This is very useful for visualizing statistics information on
host machine browser.

Signed-off-by: Nikhil Devshatwar <[email protected]>
---
.../recipes-devtools/websocketd/websocketd.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 meta-arago-extras/recipes-devtools/websocketd/websocketd.bb

diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
new file mode 100644
index 00000000..44f549ee
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd.bb
@@ -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"

0.3.1 is available

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

+SRC_URI = "https://github.com/joewalnes/websocketd/releases/download/v${PV}/websocketd-${PV}-linux_arm64.zip"

Is this valid for ARM32? Does this build for am3 or am4?

I see websocketd-0.3.1-linux_arm.zip available for 32 bit

This is planned to be supported only for K3 platforms.
I haven't run it on any arm32 platforms.
Should I add a compatible machine here and in the statcol recipe as well?

If you only intend to use the 64 bit package then yes you probably should restrict it to 64 bit platforms so it does not get pulled into the 32 bit platform.

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Why cannot it be build from sources instead of pulling prebuilt binaries?

It is coded in Go can the Yocto build Go yet?

Absolutely! Usually all you need is to "inherit go" bbclass. There are some existing examples out there:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/glide/glide_0.13.3.bb

Nice! Lets build it from source then instead of pulling a pre-compiled release

Quoted 8 lines
Quoted 4 lines

This way we can just build for the arch as well. If that is not needed then we should make it Arch dependent but lets try to build for both 32 and 64 bit

Okay, Let me give it a try and repost
Nikhil D

Hi Denys, Dan,

Well, I tried a simple recipe and I am not able to figure out how the dependencies are handled in go package builds.

I tried to add DEPENDS, I tried to run "go get" command after do_configure and before do_compile, but this didn't help.

I inherited go-mod instead of go (Not sure if this is a right step) In this, I get another error when go is trying to download the dependency package. Looks like a DNS lookup error.

Quoted 6 lines
Quoted 2 lines

Recipe and logs here:
http://serenity.dal.design.ti.com:7777/raw/rekohinake

Here is a publicly accessible link for the logs
https://pastebin.ubuntu.com/p/Cr536RF25t/

Hi Dan, Denys,

Quoted 7 lines
Quoted 3 lines

Can you please give me a hint on what might be going wrong? It seems that the inherit go-mod is right thing to do but I am not able to figure out how to fix the DNS lookup errors.

Yes, inherit go-mod is correct. I'm not seeing any DNS/proxy issues from outside - looks like it's specific to TI network. Let me try over VPN, but that would be setup issue and not specific to a recipe.

See v4 for the fix.

Quoted 31 lines
Signature · 1 line
Denys
Quoted 23 lines

Regards,
Nikhil D

Quoted 20 lines

Nikhil D

Quoted 6 lines

Please help me how to fix this. This is my first attempt to build any go package. bitbake and otherwise also.

Quoted 2 lines
Quoted 2 lines

Dan

Quoted 8 lines
Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago