How to change Sierra Wireless preferred firmware

Aleksander Morgado aleksander at aleksander.es
Wed Mar 24 23:12:39 UTC 2021


Hey Tom,

On Wed, Mar 24, 2021 at 11:20 PM Tom Isaacson <tom.isaacson at teknique.com> wrote:
>
> That seems to work; we just want to make sure the module is in
> AUTO-SIM mode. However, if you want to change to a specific firmware
> it looks like you need to know the specific version:
> sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
> --dms-set-firmware-preference="00.00.00.00,000.000_000,GENERIC"
>
> then the AT port shows:
> AT!IMPREF?
> !IMPREF:
>  preferred fw version:    00.00.00.00
>  preferred carrier name:  GENERIC
>  preferred config name:   GENERIC_000.000_000
>  current fw version:      02.25.02.01
>  current carrier name:    GENERIC
>  current config name:     GENERIC_002.056_000
>
>  fw version mismatch
>  config name mismatch
>
> OK
>
> I'm not sure how you could get a list of the specific versions for
> each carrier.

Try with --dms-list-stored-images. It will give you a list of the
installed "modem" (firmware) images plus a list of "pri" (carrier
config) images. You can probably switch the module to every "pri"
carrier config, as long as there is a "modem" firmware with the
expected "Build ID".

Here's an old email with some example output:
https://lists.freedesktop.org/archives/libqmi-devel/2017-January/002000.html

P.S.: the flag indicating which "modem" firmware is currently selected
is BROKEN in Sierra modules, so don't rely on the ">>>>>>>>>>
[CURRENT] <<<<<<<<<<" indication of the "modem" list. The "current"
flag in the "pri" list doesn't have problems. I've reported that issue
to Sierra in their forum a couple of times, but they don't seem to
want to fix it... :/ You can also use --dms-swi-get-current-firmware
to get a correct output of what's currently running.

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list