Skip to contentSkip to conversation

package/modem-manager: bump version to 1.16.2

PATCH New Petr Vorel 3 participants 10 messages Mar 29, 2021 – Apr 2, 2021

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

It requires libqmi >= 1.28.0

---
Hi,

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Kind regards,
Petr

Tested:

                    bootlin-armv5-uclibc [1/6]: OK
                     bootlin-armv7-glibc [2/6]: OK
                   bootlin-armv7m-uclibc [3/6]: SKIPPED
                     bootlin-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK

6 builds, 1 skipped, 0 build failed, 0 legal-info failed

                             andes-nds32 [ 1/45]: FAILED
                             arm-aarch64 [ 2/45]: OK
                   bootlin-aarch64-glibc [ 3/45]: OK
               bootlin-arcle-hs38-uclibc [ 4/45]: OK
                    bootlin-armv5-uclibc [ 5/45]: OK
                     bootlin-armv7-glibc [ 6/45]: OK
                   bootlin-armv7m-uclibc [ 7/45]: SKIPPED
                      bootlin-armv7-musl [ 8/45]: OK
             bootlin-microblazeel-uclibc [ 9/45]: OK
                   bootlin-mipsel-uclibc [10/45]: OK
                bootlin-mipsel32r6-glibc [11/45]: OK
                bootlin-m68k-5208-uclibc [12/45]: SKIPPED
               bootlin-m68k-68040-uclibc [13/45]: OK
                     bootlin-nios2-glibc [14/45]: OK
                 bootlin-openrisc-uclibc [15/45]: OK
           bootlin-powerpc-e500mc-uclibc [16/45]: OK
        bootlin-powerpc64le-power8-glibc [17/45]: OK
                   bootlin-riscv32-glibc [18/45]: OK
                   bootlin-riscv64-glibc [19/45]: OK
                    bootlin-riscv64-musl [20/45]: OK
                      bootlin-sh4-uclibc [21/45]: OK
                    bootlin-sparc-uclibc [22/45]: OK
                   bootlin-sparc64-glibc [23/45]: OK
                   bootlin-xtensa-uclibc [24/45]: OK
                    bootlin-x86-64-glibc [25/45]: OK
                     bootlin-x86-64-musl [26/45]: OK
                   bootlin-x86-64-uclibc [27/45]: OK
                            br-arm-basic [28/45]: SKIPPED
                    br-arm-full-nothread [29/45]: SKIPPED
                      br-arm-full-static [30/45]: OK
                br-i386-pentium-mmx-musl [31/45]: OK
                   br-i386-pentium4-full [32/45]: OK
                      br-mips64-n64-full [33/45]: OK
                 br-mips64r6-el-hf-glibc [34/45]: OK
               br-powerpc-603e-basic-cpp [35/45]: SKIPPED
               br-powerpc64-power7-glibc [36/45]: OK
                       linaro-aarch64-be [37/45]: OK
                          linaro-aarch64 [38/45]: OK
                              linaro-arm [39/45]: OK
                     sourcery-arm-armv4t [40/45]: OK
                            sourcery-arm [41/45]: OK
                     sourcery-arm-thumb2 [42/45]: OK
                           sourcery-mips [43/45]: OK
                         sourcery-mips64 [44/45]: OK
                          sourcery-nios2 [45/45]: OK
 package/modem-manager/modem-manager.hash | 2 +-
 package/modem-manager/modem-manager.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/modem-manager/modem-manager.hash +1 -1
index 81a08295f7..3f272acef3 100644
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  fe1a26ba51b4bda7abd09ad4dadedd87d8b8154809fc9d88e94f75fdfff19295  ModemManager-1.14.8.tar.xz
+sha256  efa9a963499e0885f3f163096d433334143c4937545134ecd682e0157fa591e3  ModemManager-1.16.2.tar.xz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/modem-manager/modem-manager.mk +1 -1
index 47d4eed823..2cc45d266b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MODEM_MANAGER_VERSION = 1.14.8
+MODEM_MANAGER_VERSION = 1.16.2
 MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
 MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
 MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Hey,

Quoted 9 lines · On Mon, 29 Mar 2021, 20:49 Petr Vorel, <[email protected]> wrote:

It requires libqmi >= 1.28.0

---
Hi,

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

The qcom-soc plugin is only relevant if the system where you're running the system is a Qualcomm SoC, and if you woulf plan to use the builtin modem as a modem in ModemManager. An obvious use case is e.g. qualcomm-phones running postmarketos.

For any other kind of setup, where MM is supposed to use external (e.g. USB, serial...) modems, the qcom-soc plugin is not needed. But it really wouldn't harm to have it either, it would just waste space (in the same way as other plugins that may never be used really).

Maybe enable it? I should have probably done that in upstream really, as it doesn't really collide with other stuff

Quoted 1 line

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210329/9fcce55c/attachment.html>

author
#2 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Quoted 7 lines
Quoted 2 lines

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

The qcom-soc plugin is only relevant if the system where you're running the system is a Qualcomm SoC, and if you woulf plan to use the builtin modem as a modem in ModemManager. An obvious use case is e.g. qualcomm-phones running postmarketos.

Yep, in postmarketOS it does make perfect sense.

Quoted 7 lines

For any other kind of setup, where MM is supposed to use external (e.g. USB, serial...) modems, the qcom-soc plugin is not needed. But it really wouldn't harm to have it either, it would just waste space (in the same way as other plugins that may never be used really).

Maybe enable it? I should have probably done that in upstream really, as it doesn't really collide with other stuff

Maybe having an option for user to decide? Most of the people won't need it, but it'd be nice to leave it for Dragonboard 410c (not sure if it uses modem).

Kind regards,
Petr

#3 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Quoted 14 lines · On Mon, 29 Mar 2021, 21:42 Petr Vorel, <[email protected]> wrote:
Quoted 4 lines
Quoted 2 lines

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

The qcom-soc plugin is only relevant if the system where you're running

the

Quoted 1 line

system is a Qualcomm SoC, and if you woulf plan to use the builtin modem

as

Quoted 2 lines

a modem in ModemManager. An obvious use case is e.g. qualcomm-phones running postmarketos.

Yep, in postmarketOS it does make perfect sense.

Quoted 3 lines

For any other kind of setup, where MM is supposed to use external (e.g. USB, serial...) modems, the qcom-soc plugin is not needed. But it really wouldn't harm to have it either, it would just waste space (in the same

Quoted 7 lines

way

Quoted 3 lines

as other plugins that may never be used really).

Maybe enable it? I should have probably done that in upstream really, as

it

Quoted 1 line

doesn't really collide with other stuff

Maybe having an option for user to decide?

That would be an option, yes, being the qcom-soc plugin a bit special.

We also have configure switches to enable/disable every other plugin as
well, and I know multiple companies enabling just one or two plugins (the
ones they are planning to use in their system). Not sure if anyone is
interested in having config options for those as well though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210329/816fff87/attachment.html>

#4 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

In reply to Petr Vorel

Petr, All,

On 2021-03-29 20:49 +0200, Petr Vorel spake thusly:

Quoted 3 lines

It requires libqmi >= 1.28.0

Applied to master, thanks.

Quoted 5 lines

---
Hi,

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Maybe you could enable the plugin if the package is enabled:

    ifeq ($(BR2_PACKAGE_QCOM_DB410_FIRMWARE),y)
    MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc
    else
    MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc
    endif

Regards,
Yann E. MORIN.

Quoted 92 lines

Kind regards,
Petr

Tested:

                    bootlin-armv5-uclibc [1/6]: OK
                     bootlin-armv7-glibc [2/6]: OK
                   bootlin-armv7m-uclibc [3/6]: SKIPPED
                     bootlin-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK

6 builds, 1 skipped, 0 build failed, 0 legal-info failed

                             andes-nds32 [ 1/45]: FAILED
                             arm-aarch64 [ 2/45]: OK
                   bootlin-aarch64-glibc [ 3/45]: OK
               bootlin-arcle-hs38-uclibc [ 4/45]: OK
                    bootlin-armv5-uclibc [ 5/45]: OK
                     bootlin-armv7-glibc [ 6/45]: OK
                   bootlin-armv7m-uclibc [ 7/45]: SKIPPED
                      bootlin-armv7-musl [ 8/45]: OK
             bootlin-microblazeel-uclibc [ 9/45]: OK
                   bootlin-mipsel-uclibc [10/45]: OK
                bootlin-mipsel32r6-glibc [11/45]: OK
                bootlin-m68k-5208-uclibc [12/45]: SKIPPED
               bootlin-m68k-68040-uclibc [13/45]: OK
                     bootlin-nios2-glibc [14/45]: OK
                 bootlin-openrisc-uclibc [15/45]: OK
           bootlin-powerpc-e500mc-uclibc [16/45]: OK
        bootlin-powerpc64le-power8-glibc [17/45]: OK
                   bootlin-riscv32-glibc [18/45]: OK
                   bootlin-riscv64-glibc [19/45]: OK
                    bootlin-riscv64-musl [20/45]: OK
                      bootlin-sh4-uclibc [21/45]: OK
                    bootlin-sparc-uclibc [22/45]: OK
                   bootlin-sparc64-glibc [23/45]: OK
                   bootlin-xtensa-uclibc [24/45]: OK
                    bootlin-x86-64-glibc [25/45]: OK
                     bootlin-x86-64-musl [26/45]: OK
                   bootlin-x86-64-uclibc [27/45]: OK
                            br-arm-basic [28/45]: SKIPPED
                    br-arm-full-nothread [29/45]: SKIPPED
                      br-arm-full-static [30/45]: OK
                br-i386-pentium-mmx-musl [31/45]: OK
                   br-i386-pentium4-full [32/45]: OK
                      br-mips64-n64-full [33/45]: OK
                 br-mips64r6-el-hf-glibc [34/45]: OK
               br-powerpc-603e-basic-cpp [35/45]: SKIPPED
               br-powerpc64-power7-glibc [36/45]: OK
                       linaro-aarch64-be [37/45]: OK
                          linaro-aarch64 [38/45]: OK
                              linaro-arm [39/45]: OK
                     sourcery-arm-armv4t [40/45]: OK
                            sourcery-arm [41/45]: OK
                     sourcery-arm-thumb2 [42/45]: OK
                           sourcery-mips [43/45]: OK
                         sourcery-mips64 [44/45]: OK
                          sourcery-nios2 [45/45]: OK
 package/modem-manager/modem-manager.hash | 2 +-
 package/modem-manager/modem-manager.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/modem-manager/modem-manager.hash +1 -1
index 81a08295f7..3f272acef3 100644
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  fe1a26ba51b4bda7abd09ad4dadedd87d8b8154809fc9d88e94f75fdfff19295  ModemManager-1.14.8.tar.xz
+sha256  efa9a963499e0885f3f163096d433334143c4937545134ecd682e0157fa591e3  ModemManager-1.16.2.tar.xz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/modem-manager/modem-manager.mk +1 -1
index 47d4eed823..2cc45d266b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MODEM_MANAGER_VERSION = 1.14.8
+MODEM_MANAGER_VERSION = 1.16.2
 MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
 MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
 MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#5 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Hey,

Quoted 13 lines

On 2021-03-29 20:49 +0200, Petr Vorel spake thusly:

Quoted 3 lines

It requires libqmi >= 1.28.0

Applied to master, thanks.

Quoted 5 lines

---
Hi,

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Quoted 8 lines

Maybe you could enable the plugin if the package is enabled:

    ifeq ($(BR2_PACKAGE_QCOM_DB410_FIRMWARE),y)
    MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc
    else
    MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc
    endif

From a quick Google search, looks like there is no WWAN modem there:
"The DragonBoard 410c based on Qualcomm Snapdragon 410 processor is a 64-bit development board with Wi-Fi, Bluetooth, and GPS."

The qcom-soc plugin has been tested successfully on MSM8916 or MSM8974 SoCs, and there is some ongoing work to make it work on SDM845 and similar platforms.

Signature · 2 lines
Aleksander
https://aleksander.es
author
#6 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Hi Yann, Aleksander,

Quoted 8 lines

Hey,

Quoted 6 lines

On 2021-03-29 20:49 +0200, Petr Vorel spake thusly:

Quoted 3 lines

It requires libqmi >= 1.28.0

Applied to master, thanks.

Thanks a lot!

Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

---
Hi,

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Quoted 7 lines
Quoted 7 lines

Maybe you could enable the plugin if the package is enabled:

    ifeq ($(BR2_PACKAGE_QCOM_DB410_FIRMWARE),y)
    MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc
    else
    MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc
    endif

Again, thanks!

Quoted 3 lines

From a quick Google search, looks like there is no WWAN modem there:
"The DragonBoard 410c based on Qualcomm Snapdragon 410 processor is a 64-bit development board with Wi-Fi, Bluetooth, and GPS."

=> then it makes to leave it.

Quoted 3 lines

The qcom-soc plugin has been tested successfully on MSM8916 or MSM8974 SoCs, and there is some ongoing work to make it work on SDM845 and similar platforms.

It looks like it's so far really useful only for postmarketOS.

Kind regards,
Petr

author
#7 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

In reply to Aleksander Morgado

Hi Aleksander,

Quoted 12 lines
Quoted 10 lines
Quoted 2 lines

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Maybe you could enable the plugin if the package is enabled:

    ifeq ($(BR2_PACKAGE_QCOM_DB410_FIRMWARE),y)
    MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc
    else
    MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc
    endif
Quoted 7 lines

From a quick Google search, looks like there is no WWAN modem there:
"The DragonBoard 410c based on Qualcomm Snapdragon 410 processor is a 64-bit development board with Wi-Fi, Bluetooth, and GPS."

The qcom-soc plugin has been tested successfully on MSM8916 or MSM8974 SoCs, and there is some ongoing work to make it work on SDM845 and similar platforms.

I wonder if libqrtr-glib has other use than qcom-soc plugin. Originally I thought there is more use and thus I add it to buildroot, but if it's just for qcom-soc, it should be added:

ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc else
MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc endif

Although it will not be useful until anybody tries to add some phone based defconfigs into buildroot.

Kind regards,
Petr

#8 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Hey,

Quoted 24 lines
Quoted 12 lines
Quoted 10 lines
Quoted 2 lines

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Maybe you could enable the plugin if the package is enabled:

    ifeq ($(BR2_PACKAGE_QCOM_DB410_FIRMWARE),y)
    MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc
    else
    MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc
    endif
Quoted 7 lines

From a quick Google search, looks like there is no WWAN modem there:
"The DragonBoard 410c based on Qualcomm Snapdragon 410 processor is a 64-bit development board with Wi-Fi, Bluetooth, and GPS."

The qcom-soc plugin has been tested successfully on MSM8916 or MSM8974 SoCs, and there is some ongoing work to make it work on SDM845 and similar platforms.

I wonder if libqrtr-glib has other use than qcom-soc plugin. Originally I thought there is more use and thus I add it to buildroot, but if it's just for qcom-soc, it should be added:

Quoted 6 lines

ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc else
MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc endif

So, in ModemManager, right now libqrtr-glib will indeed be exclusively for the qcom-soc plugin; it will be the only plugin making use of the QRTR nodes exposed by the kernel.

Quoted 3 lines

Although it will not be useful until anybody tries to add some phone based defconfigs into buildroot.

The QRTR protocol itself is not specific to WWAN. E.g. Qualcomm SoCs may expose access to control other features (e.g. thermal control) via this kind of nodes. That said, *right now* it may make sense to make it specific to the MM usecase only.

Signature · 2 lines
Aleksander
https://aleksander.es
author
#9 lore raw

PATCH 1/1 package/modem-manager: bump version to 1.16.2

Hi,

Quoted 37 lines

Hey,

Quoted 24 lines
Quoted 12 lines
Quoted 10 lines
Quoted 2 lines

RFC: should I add also --enable-plugin-qcom-soc ?
(there is qcom-db410c-firmware package)

Maybe you could enable the plugin if the package is enabled:

    ifeq ($(BR2_PACKAGE_QCOM_DB410_FIRMWARE),y)
    MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc
    else
    MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc
    endif
Quoted 7 lines

From a quick Google search, looks like there is no WWAN modem there:
"The DragonBoard 410c based on Qualcomm Snapdragon 410 processor is a 64-bit development board with Wi-Fi, Bluetooth, and GPS."

The qcom-soc plugin has been tested successfully on MSM8916 or MSM8974 SoCs, and there is some ongoing work to make it work on SDM845 and similar platforms.

I wonder if libqrtr-glib has other use than qcom-soc plugin. Originally I thought there is more use and thus I add it to buildroot, but if it's just for qcom-soc, it should be added:

Quoted 5 lines

ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) MODEM_MANAGER_CONF_OPTS += --enable-plugin-qcom-soc else
MODEM_MANAGER_CONF_OPTS += --disable-plugin-qcom-soc endif

So, in ModemManager, right now libqrtr-glib will indeed be exclusively for the qcom-soc plugin; it will be the only plugin making use of the QRTR nodes exposed by the kernel.

Quoted 8 lines
Quoted 2 lines

Although it will not be useful until anybody tries to add some phone based defconfigs into buildroot.

The QRTR protocol itself is not specific to WWAN. E.g. Qualcomm SoCs may expose access to control other features (e.g. thermal control) via this kind of nodes. That said, *right now* it may make sense to make it specific to the MM usecase only.

Thanks for an explanation, I'll probably enable qcom-soc based on BR2_PACKAGE_LIBQRTR_GLIB selection even it's not a direct use of that plugin atm.

Kind regards,
Petr