Commit Graph
14 Commits
Author SHA1 Message Date
Frederic Martinsons 89cd1696c3 tools: add unit test for test-modemmanager-service.py
The tests spawn the service via GTestDBus framework and make
some test API call while checking libmm interface to verify
that informations are well propagated.

To be able to use the fresh built libmm typelib, I used a
wrapper script to set GI_TYPELIB_PATH (because DBus activation
process clean the environment so it is not possible to set
it directly in the file).

This requires also the install of libgirepository-dev and python3-gi
in the CI docker.

Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2021-01-15 16:44:19 +00:00
Aleksander Morgado 8fc60754dd qcom-soc: new plugin for Qualcomm SoCs
This plugin implements support for old Qualcomm SoCs like the MSM8916
or the MSM8974, where:
 * control ports are available via RPMSG channels exported as devices
   e.g. with rpmsgexport:
   https://github.com/andersson/rpmsgexport
 * network ports are exposed by the bam-dmux kernel driver:
   https://github.com/msm8916-mainline/linux/commits/bam-dmux

Adding support for newer Qualcomm SoCs (e.g. QRTR+IPA) could be done
in a similar way on this very same plugin.

This plugin is the first and only one that implements support for a
modem device that is "built in" the system, as opposed to external
modems that may be available via USB or PCI.

The ID_MM_PHYSDEV_UID based udev tags provided by the plugin provide
the logic to bind all the SoC ports together in the same modem object,
and therefore ID_MM_PHYSDEV_UID should not be used by users to
override the ones set by the plugin.

All "rpmsg[0-9]*" ports that are considered part of the modem are
flagged as candidate, ignoring the parent "rpmsg_ctrl[0-9]*" ports on
purpose. This setup therefore assumes that the channels have been
exported already as devices (e.g. using rpmsgexport).

libqmi 1.27.2 is required to support the "WDS Bind Data Port" message.
2020-11-20 09:24:51 +00:00
wicadmin 72d8bae65b ci: create release tarball and hash as build artifacts 2020-09-29 08:58:08 +00:00
Aleksander Morgado 9397ed420d gosuncn: new plugin
For now, just with port type hints for the GM800 in MBIM mode.
2020-09-28 08:22:35 +00:00
Aleksander Morgado 65f56122b5 ci: add build test for WITH_NEWEST_QMI_COMMANDS
We keep this logic around, so lets add a build test as well.
2020-08-19 14:59:55 +02:00
Aleksander Morgado fd28f94750 ci: always build libqmi with basic collection
Which must be the minimum set of supported messages required by
ModemManager.
2020-06-01 15:57:41 +02:00
Aleksander Morgado 26b589cc02 broadmobi: new plugin
Right now, just with port type hints for the BM818.
2020-05-10 10:51:45 +02:00
Aleksander Morgado 792f15648c ci: redefine when jobs are run
* single-plugin builds only on schedules
 * with/without qmi/mbim builds on master and merge requests
 * default build always, including on branches and when git pushing
2019-11-27 10:11:43 +00:00
Aleksander Morgado c4991165c2 ci: new job to build all single-plugin configurations 2019-11-27 10:11:43 +00:00
Aleksander Morgado 913f0d638d ci: require autoconf-archive 2019-11-22 11:06:26 +01:00
Aleksander Morgado f30d3d46b9 ci: ignore errors on apt update
Just to avoid e.g. invalid signature errors. The important command is
the actual install of required packages.
2019-10-16 18:33:50 +02:00
Aleksander Morgado 0a5d638726 ci: run distcheck on default build 2019-03-13 13:35:17 +01:00
Aleksander Morgado 8fba3a2318 ci: include builds without qmi and/or without mbim 2019-03-13 11:20:56 +01:00
Eric Caruso bf0b5a07ca Add .gitlab-ci.yml
This allows us to run unit tests on every commit to the gitlab
instance.
2019-02-14 13:31:58 -08:00