Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Ath10k snoc
@ 2023-01-06  1:32 JamiKettunen
  2023-01-07  2:02 ` [PR PATCH] [Merged]: Userspace daemons for modern Qualcomm SoCs to make DSPs functional Piraty
  0 siblings, 1 reply; 2+ messages in thread
From: JamiKettunen @ 2023-01-06  1:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]

There is a new pull request by JamiKettunen against master on the void-packages repository

https://github.com/JamiKettunen/void-packages ath10k-snoc
https://github.com/void-linux/void-packages/pull/41487

Ath10k snoc
<!-- Uncomment relevant sections and delete options which are not applicable -->

I use and can test these at least on my OnePlus 5/5T smartphone with a Snapdragon 835 SoC running a mainline Linux kernel.

With these around and running various functionality of a modern Qualcomm device becomes available, such as audio output, WLAN (via [ath10k-snoc](https://cateee.net/lkddb/web-lkddb/ATH10K_SNOC.html) typically) and ModemManager usage provided the relevant remoteproc DSPs are running their designated firmware.

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/41487.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ath10k-snoc-41487.patch --]
[-- Type: text/x-diff, Size: 7530 bytes --]

From 4e541152fc48d2e9c0c413a68258e84942dce548 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Mon, 26 Dec 2022 18:26:05 +0200
Subject: [PATCH 1/4] New package: qrtr-ns-1.0

---
 common/shlibs                         |  1 +
 srcpkgs/qrtr-ns-devel                 |  1 +
 srcpkgs/qrtr-ns/files/qrtr-ns/log/run |  1 +
 srcpkgs/qrtr-ns/files/qrtr-ns/run     |  4 ++++
 srcpkgs/qrtr-ns/template              | 25 +++++++++++++++++++++++++
 5 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/qrtr-ns-devel
 create mode 120000 srcpkgs/qrtr-ns/files/qrtr-ns/log/run
 create mode 100644 srcpkgs/qrtr-ns/files/qrtr-ns/run
 create mode 100644 srcpkgs/qrtr-ns/template

diff --git a/common/shlibs b/common/shlibs
index caf04c6adf5c..235c63d88bd0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4223,3 +4223,4 @@ libfst.so.25 openfst-1.8.2_1
 libvosk.so vosk-api-0.3.43_1
 libdspy-1.so.1 d-spy-1.4.0_1
 libpanel-1.so.1 libpanel-1.0.1_1
+libqrtr.so.1 qrtr-ns-1.0_1
diff --git a/srcpkgs/qrtr-ns-devel b/srcpkgs/qrtr-ns-devel
new file mode 120000
index 000000000000..dd4c25f0148e
--- /dev/null
+++ b/srcpkgs/qrtr-ns-devel
@@ -0,0 +1 @@
+qrtr-ns
\ No newline at end of file
diff --git a/srcpkgs/qrtr-ns/files/qrtr-ns/log/run b/srcpkgs/qrtr-ns/files/qrtr-ns/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/qrtr-ns/files/qrtr-ns/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/qrtr-ns/files/qrtr-ns/run b/srcpkgs/qrtr-ns/files/qrtr-ns/run
new file mode 100644
index 000000000000..7ce1340960cf
--- /dev/null
+++ b/srcpkgs/qrtr-ns/files/qrtr-ns/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+: ${OPTS:=-f 1}
+exec qrtr-ns $OPTS
diff --git a/srcpkgs/qrtr-ns/template b/srcpkgs/qrtr-ns/template
new file mode 100644
index 000000000000..9ef8971dd04b
--- /dev/null
+++ b/srcpkgs/qrtr-ns/template
@@ -0,0 +1,25 @@
+# Template file for 'qrtr-ns'
+pkgname=qrtr-ns
+version=1.0
+revision=1
+build_style=gnu-makefile
+short_desc="Userspace reference for net/qrtr in the Linux kernel"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/andersson/qrtr"
+distfiles="https://github.com/andersson/qrtr/archive/v${version}.tar.gz"
+checksum=dc5db4872ff0d3c43b5c6d115fadc94f393c9c8c89b4246e327853b466d6c49f
+
+post_install() {
+	vlicense LICENSE
+	vsv qrtr-ns
+}
+
+qrtr-ns-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+	}
+}

From 48af9b14e90f41f356213641fbfc2d01def2fbf4 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Thu, 29 Dec 2022 05:24:31 +0200
Subject: [PATCH 2/4] New package: rmtfs-1.0

---
 srcpkgs/rmtfs/files/rmtfs/run |  4 ++++
 srcpkgs/rmtfs/template        | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 srcpkgs/rmtfs/files/rmtfs/run
 create mode 100644 srcpkgs/rmtfs/template

diff --git a/srcpkgs/rmtfs/files/rmtfs/run b/srcpkgs/rmtfs/files/rmtfs/run
new file mode 100644
index 000000000000..b3e939935e36
--- /dev/null
+++ b/srcpkgs/rmtfs/files/rmtfs/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+: ${OPTS:=-r -P -s}
+exec rmtfs $OPTS
diff --git a/srcpkgs/rmtfs/template b/srcpkgs/rmtfs/template
new file mode 100644
index 000000000000..79df03874e6c
--- /dev/null
+++ b/srcpkgs/rmtfs/template
@@ -0,0 +1,18 @@
+# Template file for 'rmtfs'
+pkgname=rmtfs
+version=1.0
+revision=1
+build_style=gnu-makefile
+make_use_env=1
+makedepends="qrtr-ns-devel eudev-libudev-devel"
+short_desc="Qualcomm Remote Filesystem Service Implementation"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/andersson/rmtfs"
+distfiles="https://github.com/andersson/rmtfs/archive/v${version}.tar.gz"
+checksum=45e53d4e3d92717bed3b896c871429abe6cfb55230b39b4228323537167834e7
+
+post_install() {
+	vlicense LICENSE
+	vsv rmtfs
+}

From 62359686c22cb643599b8b938ef217bc97995042 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Thu, 29 Dec 2022 15:44:49 +0200
Subject: [PATCH 3/4] New package: pd-mapper-1.0

---
 srcpkgs/pd-mapper/files/pd-mapper/run |  3 +++
 srcpkgs/pd-mapper/template            | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 srcpkgs/pd-mapper/files/pd-mapper/run
 create mode 100644 srcpkgs/pd-mapper/template

diff --git a/srcpkgs/pd-mapper/files/pd-mapper/run b/srcpkgs/pd-mapper/files/pd-mapper/run
new file mode 100644
index 000000000000..b641f486507f
--- /dev/null
+++ b/srcpkgs/pd-mapper/files/pd-mapper/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec pd-mapper $OPTS
diff --git a/srcpkgs/pd-mapper/template b/srcpkgs/pd-mapper/template
new file mode 100644
index 000000000000..80e0249205d3
--- /dev/null
+++ b/srcpkgs/pd-mapper/template
@@ -0,0 +1,19 @@
+# Template file for 'pd-mapper'
+pkgname=pd-mapper
+version=1.0
+revision=1
+build_style=gnu-makefile
+makedepends="qrtr-ns-devel"
+short_desc="Qualcomm Protection Domain mapper"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/andersson/pd-mapper"
+distfiles="https://github.com/andersson/pd-mapper/archive/v${version}.tar.gz"
+checksum=1788da29a9eb257a14249fff86c1ae6a0507116480608bffa38967d1bda77650
+# FIXME: make_use_env=1 instead in next release
+LDFLAGS+=" -lqrtr"
+
+post_install() {
+	vlicense LICENSE
+	vsv pd-mapper
+}

From 148146186fc69a893a137acc6ee65a8b0546063c Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Thu, 29 Dec 2022 15:45:10 +0200
Subject: [PATCH 4/4] New package: tqftpserv-1.0

---
 srcpkgs/tqftpserv/files/tqftpserv/log/run |  1 +
 srcpkgs/tqftpserv/files/tqftpserv/run     |  4 ++++
 srcpkgs/tqftpserv/template                | 19 +++++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 120000 srcpkgs/tqftpserv/files/tqftpserv/log/run
 create mode 100644 srcpkgs/tqftpserv/files/tqftpserv/run
 create mode 100644 srcpkgs/tqftpserv/template

diff --git a/srcpkgs/tqftpserv/files/tqftpserv/log/run b/srcpkgs/tqftpserv/files/tqftpserv/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/tqftpserv/files/tqftpserv/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/tqftpserv/files/tqftpserv/run b/srcpkgs/tqftpserv/files/tqftpserv/run
new file mode 100644
index 000000000000..c7866b8e9e7e
--- /dev/null
+++ b/srcpkgs/tqftpserv/files/tqftpserv/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec 2>&1
+exec tqftpserv $OPTS
diff --git a/srcpkgs/tqftpserv/template b/srcpkgs/tqftpserv/template
new file mode 100644
index 000000000000..5e360e5ddfba
--- /dev/null
+++ b/srcpkgs/tqftpserv/template
@@ -0,0 +1,19 @@
+# Template file for 'tqftpserv'
+pkgname=tqftpserv
+version=1.0
+revision=1
+build_style=gnu-makefile
+makedepends="qrtr-ns-devel"
+short_desc="Trivial File Transfer Protocol server over AF_QIPCRTR"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/andersson/tqftpserv"
+distfiles="https://github.com/andersson/tqftpserv/archive/v${version}.tar.gz"
+checksum=7e6641796ae65b0e6cdbefd2a4463b3f580ff7f28c2f4b79c5f5629d8c672bf0
+# FIXME: make_use_env=1 instead in next release
+LDFLAGS+=" -lqrtr"
+
+post_install() {
+	vlicense LICENSE
+	vsv tqftpserv
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: Userspace daemons for modern Qualcomm SoCs to make DSPs functional
  2023-01-06  1:32 [PR PATCH] Ath10k snoc JamiKettunen
@ 2023-01-07  2:02 ` Piraty
  0 siblings, 0 replies; 2+ messages in thread
From: Piraty @ 2023-01-07  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

There's a merged pull request on the void-packages repository

Userspace daemons for modern Qualcomm SoCs to make DSPs functional
https://github.com/void-linux/void-packages/pull/41487

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

I use and can test these at least on my OnePlus 5/5T smartphone with a Snapdragon 835 SoC running a mainline Linux kernel.

With these around and running various functionality of a modern Qualcomm device becomes available, such as audio output, WLAN (via [ath10k-snoc](https://cateee.net/lkddb/web-lkddb/ATH10K_SNOC.html) typically) and ModemManager usage provided the relevant remoteproc DSPs are running their designated firmware.

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-07  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06  1:32 [PR PATCH] Ath10k snoc JamiKettunen
2023-01-07  2:02 ` [PR PATCH] [Merged]: Userspace daemons for modern Qualcomm SoCs to make DSPs functional Piraty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).