Hey,

>
> I’m using Solidrun’s clearfog-base plarform with Sierra Wireless EM7430 LTE 
> chipset. I’m running OpenWRT 18.06 with ModemManager feed from 
> https://gitlab.freedesktop.org/mobile-broadband/mobile-broadband-openwrt
>
>
>
> mmcli is not reporting stored firmware images but same can be retrieved using 
> qmicli. Can you please advise what is going wrong?
>
>
>
> root@OpenWrt:/# mmcli -m 0 --firmware-list
>
>   ----------------
>
>   Firmware | list: n/a
>
>
>
> root@OpenWrt:/# mmcli -m 0 --firmware-status
>
> error: firmware status unsupported
>
>
>
> root@OpenWrt:/# qmicli -d /dev/cdc-wdm0 -p --dms-list-firmware-images
>
> error: Unknown option --dms-list-firmware-images
>
> root@OpenWrt:/# qmicli -d /dev/cdc-wdm0 -p --dms-list-stored-images
>
> [/dev/cdc-wdm0] Device list of stored images retrieved:
>
>
>
>         [0] Type:    'modem'
>
>             Maximum: '4'
>
>
>
>                 [modem0]
>
>                 Unique ID:     '?_?'
>
>                 Build ID:      '02.23.00.00_?'
>
>                 Storage index: '1'
>
>                 Failure count: '0'
>
>
>
>                 >>>>>>>>>> [CURRENT] <<<<<<<<<<
>
>                 [modem1]
>
>                 Unique ID:     '?_?'
>
>                 Build ID:      '02.20.03.01_?'
>
>                 Storage index: '2'
>
>                 Failure count: '0'
>
>
>
>                 [modem2]
>
>                 Unique ID:     '?_?'
>
>                 Build ID:      '02.20.03.00_?'
>
>                 Storage index: '3'
>
>                 Failure count: '0'
>
>
>
>         [1] Type:    'pri'
>
>             Maximum: '50'
>
>
>
>                 [pri0]
>
>                 Unique ID:     '001.001_000'
>
>                 Build ID:      '02.20.03.00_DOCOMO'
>
>
>
>                 >>>>>>>>>> [CURRENT] <<<<<<<<<<
>
>                 [pri1]
>
>                 Unique ID:     '002.018_000'
>
>                 Build ID:      '02.23.00.00_GENERIC'
>
>
>
>                 [pri2]
>
>                 Unique ID:     '000.008_000'
>
>                 Build ID:      '02.20.03.00_KDDI'
>
>
>
>                 [pri3]
>
>                 Unique ID:     '000.007_000'
>
>                 Build ID:      '02.20.03.00_Softbank'
>
>
>
>                 [pri4]
>
>                 Unique ID:     '002.019_001'
>
>                 Build ID:      '02.20.03.01_TELSTRA'
>

The code listing the firmware images inside ModemManager was
attempting to run "DMS Get Stored Image Info" for all PRI images
found, in order to load the Boot version and PRI version reported;
but, turns out the Sierra modems don't support this method, so it was
all failing.

It should be fixed in the following MR:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/168

Please note that unlike qmicli, which shows all modem and PRI images
separately (and user needs to do the matching), in the case of
ModemManager, only the "correct" combinations will be shown as
possible images to select.

-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to