aleksander/qmi-firmware-update v2: dms-list-stored-images on MC7430

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Fri Jan 20 07:06:25 UTC 2017


Hi,

Here is a EM7455 update from 02.08.02.00 to 02.20.03.00, using
qmi-firmware-update. I have attached command log and the verbose
qmi-firmware-log.

There where no issues on this run, the modem has not been updated before
and I did not experience the QMI communication issue at the end as I did
with the earlier one.

And for reference I am using kernel 4.8.2.

-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170120/01ec6170/attachment-0001.html>
-------------- next part --------------
root at mserver116:~# lsusb
Bus 002 Device 003: 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:~# 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:~# 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'

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

		>>>>>>>>>> [CURRENT] <<<<<<<<<<
		[pri0]
		Unique ID:     '002.007_000'
		Build ID:      '02.08.02.00_GENERIC'

root at mserver116:~# cd /opt/test/
root at mserver116:/opt/test# qmi-firmware-update --update -d 1199:9071 -L /tmp/qmi-firmware-update.log 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 76.62s (840.3 kB/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 (50.0 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# 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: 35432407003205
IMEI: 354324070032053
IMEI SV:  6
FSN: LF548120750110
+GCAP: +CGSM
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#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmi-firmware-update.log
Type: application/octet-stream
Size: 136457 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170120/01ec6170/attachment-0001.obj>


More information about the libqmi-devel mailing list