How to change Sierra Wireless preferred firmware

Tom Isaacson tom.isaacson at teknique.com
Thu Mar 25 01:05:52 UTC 2021


Oh yes, that works. The current seems correct for me:
AT!IMPREF?
!IMPREF:
 preferred fw version:    02.28.03.01
 preferred carrier name:  ATT
 preferred config name:   ATT_002.071_000
 preferred subpri index:  000
 current fw version:      02.28.03.01
 current carrier name:    ATT
 current config name:     ATT_002.071_000
 current subpri index:    000
OK

$ sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
--dms-list-stored-images
[/dev/cdc-wdm0] Device list of stored images retrieved:

[0] Type:    'modem'
    Maximum: '3'

[modem0]
Unique ID:     '?_?'
Build ID:      '02.25.02.01_?'
Storage index: '1'
Failure count: '0'

[modem1]
Unique ID:     '002.071_000'
Build ID:      '02.28.03.01_ATT'
Storage index: '2'
Failure count: '0'

[1] Type:    'pri'
    Maximum: '50'

>>>>>>>>>> [CURRENT] <<<<<<<<<<
[pri0]
Unique ID:     '002.071_000'
Build ID:      '02.28.03.01_ATT'

[pri1]
Unique ID:     '002.056_000'
Build ID:      '02.25.02.01_GENERIC'

[pri2]
Unique ID:     '001.014_000'
Build ID:      '02.25.02.01_SIERRA'

[pri3]
Unique ID:     '002.060_000'
Build ID:      '02.25.02.01_VERIZON'

I'm not sure how I get current from this:
$ sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
--dms-swi-get-current-firmware
[/dev/cdc-wdm0] Successfully retrieved current firmware:
Model: WP7610
Boot version: SWI9X07Y_02.28.03.01
AMSS version: SWI9X07Y_02.28.03.01
SKU ID: 1104125
Package ID: unknown
Carrier ID: 4
Config version: 002.071_000

This works:
$ sudo qmicli --device=/dev/cdc-wdm0 --device-open-proxy
--dms-get-firmware-preference
firmware preference successfully retrieved:
[image 0]
Image type: 'modem'
Unique ID:  '002.071_000'
Build ID:   '02.28.03.01_ATT'
[image 1]
Image type: 'pri'
Unique ID:  '002.071_000'
Build ID:   '02.28.03.01_ATT'

Thanks.

On Thu, Mar 25, 2021 at 12:12 PM Aleksander Morgado
<aleksander at aleksander.es> wrote:
>
> 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