aleksander/qmi-firmware-update v2: dms-list-stored-images on MC7430
Sebastian Sjoholm
sebastian.sjoholm at gmail.com
Thu Jan 19 11:52:49 UTC 2017
On Wed, Jan 18, 2017 at 10:26 PM, Bjørn Mork <bjorn at mork.no> wrote:
> Could you please check at!impref? and
> qmicli -d /dev/cdc-wdm0 --dms-list-stored-images
> before trying out the “qmi-firmware-update" tool?
>
>
I used on EM7455 with the original firmware 02.08.02.00, and used the
qmi-firmware-update to upgrade to 02.20.03.00. It seems to work well (I
liked the progress graphics, big bonus).
Only thing I noted that I had to give it a reboot before I was able to get
the QMI communication up and working, please see the complete log below.
I could give another MC7455 a run with verbose printouts, if interested?
-Sebastian
root at mserver116:/opt/test# lsusb
Bus 002 Device 004: ID 1199:9071 Sierra Wireless, Inc.
Bus 002 Device 002: ID 04b4:6570 Cypress Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root at mserver116:/opt/test# echo raw,'ati' | nc localhost 8080
ati
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.08.02.00 r5428 CARMD-EV-FRMWR2 2016/01/06 20:38:53
MEID: 35432407003043
IMEI: 354324070030438
IMEI SV: 4
FSN: LF533510920410
+GCAP: +CGSM
OK
root at mserver116:/opt/test# echo raw,'at!impref?' | nc localhost 8080
at!impref?
!IMPREF:
preferred fw version: 02.08.02.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.007_000
current fw version: 02.08.02.00
current carrier name: GENERIC
current config name: GENERIC_002.007_000
OK
root at mserver116:/opt/test# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images
[/dev/cdc-wdm0] Device list of stored images retrieved:
[0] Type: 'modem'
Maximum: '4'
>>>>>>>>>> [CURRENT] <<<<<<<<<<
[modem0]
Unique ID: '?_?'
Build ID: '02.08.02.00_?'
Storage index: '1'
Failure count: '0'
[modem1]
Unique ID: '?_?'
Build ID: '02.20.03.00_?'
Storage index: '2'
Failure count: '0'
[1] Type: 'pri'
Maximum: '50'
>>>>>>>>>> [CURRENT] <<<<<<<<<<
[pri0]
Unique ID: '002.007_000'
Build ID: '02.08.02.00_GENERIC'
root at mserver116:/opt/test# qmi-firmware-update --update -d 1199:9071
SWI9X30C_02.20.03.00.cwe SWI9X30C_02.20.03.00_GENERIC_002.017_000.nvu
loading device information before the update...
setting firmware preference:
firmware version: '02.20.03.00'
config version: '002.017_000'
carrier: 'GENERIC'
rebooting in download mode...
download mode detected
downloading cwe image: SWI9X30C_02.20.03.00.cwe (64.4 MB)...
finalizing download... (may take more than one minute, be patient)
successfully downloaded in 57.23s (1.1 MB/s)
downloading cwe image: SWI9X30C_02.20.03.00_GENERIC_002.017_000.nvu (3.1
kB)...
finalizing download... (may take more than one minute, be patient)
successfully downloaded in 0.06s (54.9 kB/s)
rebooting in normal mode...
normal mode detected
------------------------------------------------------------------------
NOTE: in order to validate which is the firmware running in the
module, the program will wait for a complete boot; this process
may take some time and several retries.
------------------------------------------------------------------------
waiting some time for the device to boot...
loading device information after the update (1/12)...
waiting some time for the device to boot...
loading device information after the update (2/12)...
------------------------------------------------------------------------
original firmware revision was:
SWI9X30C_02.08.02.00 r5428 CARMD-EV-FRMWR2 2016/01/06 20:38:53
image 'modem': unique id '002.007_000', build id '02.08.02.00_GENERIC'
image 'pri': unique id '002.007_000', build id '02.08.02.00_GENERIC'
new firmware revision is:
SWI9X30C_02.20.03.00 r6691 CARMD-EV-FRMWR2 2016/06/30 10:54:05
image 'modem': unique id '002.017_000', build id '02.20.03.00_GENERIC'
image 'pri': unique id '002.017_000', build id '02.20.03.00_GENERIC'
NOTE: this device supports stored image management
with qmicli operations:
--dms-list-stored-images
--dms-select-stored-image
--dms-delete-stored-image
NOTE: this device supports firmware preference management
with qmicli operations:
--dms-get-firmware-preference
--dms-set-firmware-preference
------------------------------------------------------------------------
firmware update operation finished successfully
root at mserver116:/opt/test# echo raw,'at!impref?' | nc localhost 8080
at!impref?
!IMPREF:
preferred fw version: 02.20.03.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.017_000
current fw version: 02.20.03.00
current carrier name: GENERIC
current config name: GENERIC_002.017_000
OK
root at mserver116:/opt/test# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images
error: couldn't create client for the 'dms' service: CID allocation failed
in the CTL client: Transaction timed out
root at mserver116:/opt/test# echo raw,'at!reset' | nc localhost 8080
at!reset
OK
root at mserver116:/opt/test# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images
[/dev/cdc-wdm0] Device list of stored images retrieved:
[0] Type: 'modem'
Maximum: '4'
[modem0]
Unique ID: '?_?'
Build ID: '02.08.02.00_?'
Storage index: '1'
Failure count: '0'
[modem1]
Unique ID: '?_?'
Build ID: '02.20.03.00_?'
Storage index: '2'
Failure count: '0'
[1] Type: 'pri'
Maximum: '50'
>>>>>>>>>> [CURRENT] <<<<<<<<<<
[pri0]
Unique ID: '002.017_000'
Build ID: '02.20.03.00_GENERIC'
root at mserver116:/opt/test# echo raw,'ati' | nc localhost 8080
ati
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.20.03.00 r6691 CARMD-EV-FRMWR2 2016/06/30 10:54:05
MEID: 35432407003043
IMEI: 354324070030438
IMEI SV: 6
FSN: LF533510920410
+GCAP: +CGSM
OK
root at mserver116:/opt/test#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170119/f1cd0a24/attachment-0001.html>
More information about the libqmi-devel
mailing list