Skip to content

package: add qrtr, rmtfs and tqftpserv for Qualcomm modems

Igor Opaniuk via buildroot buildroot 1 version In review

Get series with b4
b4 am [email protected] change-id 20261019-qcom-modem-userspace-940b9f49124a

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3package/qrtr: new packageDEVELOPERS package/Config.in package/qrtr/Config.in +2 more+38 -01 reply
2/3package/rmtfs: new packageDEVELOPERS package/Config.in package/rmtfs/Config.in +3 more+125 -00 replies
3/3package/tqftpserv: new packageDEVELOPERS package/Config.in package/tqftpserv/0001-translate-define-_GNU_SOURCE-for-asprintf.patch +4 more+138 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] package: add qrtr, rmtfs and tqftpserv for Qualcomm modems

On Qualcomm SoCs the modem cannot finish booting without two Linux
daemons: rmtfs, which serves its EFS partitions, and tqftpserv, which hands it the files it asks for over QRTR (on several SoCs the WLAN firmware runs on the modem and is loaded this way). Both are built on qrtr, the userspace library and tools for the Qualcomm IPC Router. All three live under github.com/linux-msm; this series adds them to Buildroot at their latest releases (qrtr 1.2, rmtfs 1.3, tqftpserv 1.3).

Notes:
- qrtr: the userspace name service (qrtr-ns) is not built, the kernel has had its own since Linux 5.7.
- rmtfs ships its QMI encoders pre-generated, so the qmic generator is not needed.
- rmtfs and tqftpserv get sysv init scripts; with systemd the upstream units (and the rmtfs udev rule) are installed instead.
- tqftpserv carries one patch, defining _GNU_SOURCE for asprintf() so it builds with uClibc-ng; it is pending upstream:
https://github.com/linux-msm/tqftpserv/pull/56

Tested on an Arduino UNO Q (Qualcomm QRB2210) with mainline Linux: the modem boots, its EFS is served from eMMC, it fetches its WLAN firmware through tqftpserv and the ath10k interface associates.

Build-tested with utils/test-pkg -a (qrtr, rmtfs, tqftpserv with xz and zstd): 26 toolchains OK, 6 skipped as expected (noMMU, static, no threads, kernel headers < 4.15), no failures.

---
Igor Opaniuk (3):
package/qrtr: new package
package/rmtfs: new package
package/tqftpserv: new package

 DEVELOPERS                                         |  5 ++
 package/Config.in                                  |  3 ++
 package/qrtr/Config.in                             | 16 ++++++
 package/qrtr/qrtr.hash                             |  4 ++
 package/qrtr/qrtr.mk                               | 14 ++++++
 package/rmtfs/Config.in                            | 17 +++++++
 package/rmtfs/S45rmtfs                             | 58 ++++++++++++++++++++++
 package/rmtfs/rmtfs.hash                           |  3 ++
 package/rmtfs/rmtfs.mk                             | 45 +++++++++++++++++
 ...translate-define-_GNU_SOURCE-for-asprintf.patch | 36 ++++++++++++++
 package/tqftpserv/Config.in                        | 14 ++++++
 package/tqftpserv/S44tqftpserv                     | 51 +++++++++++++++++++
 package/tqftpserv/tqftpserv.hash                   |  3 ++
 package/tqftpserv/tqftpserv.mk                     | 32 ++++++++++++
 14 files changed, 301 insertions(+)

---
base-commit: 4eeec84c3341715e0436e40f94b31379f227000f
change-id: 20261019-qcom-modem-userspace-940b9f49124a

Best regards,

Signature · 6 lines
Igor Opaniuk <[email protected]>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot