aleksander/qmi-firmware-update v2: dms-list-stored-images on MC7430
Sebastian Sjoholm
sebastian.sjoholm at gmail.com
Fri Jan 20 08:32:39 UTC 2017
Hi again,
And here is a MC7455 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.
The interesting in this was first, that it did already hold 3 different
firmwares (to my knowledge this module arrived like this), however none of
them where 02.20.03.00, the second thing was that I did experience the QMI
communication issue after the firmware update (resolved with an at!reset).
I have attached complete logs.
But overall this seems to work great, just let me know if there is
something I can test further. I have some MC7455 which has never been
updated, and some that I can revert back to 02.08.02 and then update again.
-Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170120/e5ecbd54/attachment-0001.html>
-------------- next part --------------
root at mserver116:/opt/test# uname -a
Linux mserver116 4.8.2 #1 SMP Mon Oct 17 08:13:08 MDT 2016 armv7l GNU/Linux
root at mserver116:/opt/test# echo raw,'ati' | nc localhost 8080
ati
Manufacturer: Sierra Wireless, Incorporated
Model: MC7455
Revision: SWI9X30C_02.20.03.00 r6691 CARMD-EV-FRMWR2 2016/06/30 10:54:05
MEID: 35907206017885
IMEI: 359072060178858
IMEI SV: 6
FSN: LQ624209240310
+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_001
current fw version: 02.08.02.00
current carrier name: GENERIC
current config name: GENERIC_002.007_001
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.05.07.00_?'
Storage index: '2'
Failure count: '0'
[modem2]
Unique ID: '?_?'
Build ID: '02.14.03.02_?'
Storage index: '3'
Failure count: '0'
[1] Type: 'pri'
Maximum: '50'
[pri0]
Unique ID: '002.009_001'
Build ID: '02.08.02.00_ATT'
>>>>>>>>>> [CURRENT] <<<<<<<<<<
[pri1]
Unique ID: '002.007_001'
Build ID: '02.08.02.00_GENERIC'
[pri2]
Unique ID: '002.012_000'
Build ID: '02.14.03.02_SPRINT'
[pri3]
Unique ID: '002.008_003'
Build ID: '02.05.07.00_VERIZON'
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.30s (843.8 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 (49.7 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_001', build id '02.08.02.00_GENERIC'
image 'pri': unique id '002.007_001', 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# 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# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images --verbose
[20 Jan 2017, 09:17:10] [Debug] [/dev/cdc-wdm0] Opening device with flags 'none'...
[20 Jan 2017, 09:17:10] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[20 Jan 2017, 09:17:10] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is supported...
[20 Jan 2017, 09:17:10] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[20 Jan 2017, 09:17:10] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02
[20 Jan 2017, 09:17:10] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 4
<<<<<< message = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<< type = "Service" (0x01)
<<<<<< length = 1
<<<<<< value = 02
<<<<<< translated = dms
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 --verbose
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Opening device with flags 'none'...
[20 Jan 2017, 09:18:27] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is supported...
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 4
<<<<<< message = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<< type = "Service" (0x01)
<<<<<< length = 1
<<<<<< value = 02
<<<<<< translated = dms
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 24
>>>>>> data = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:02
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 23
>>>>>> flags = 0x80
>>>>>> service = "ctl"
>>>>>> client = 0
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 1
>>>>>> tlv_length = 12
>>>>>> message = "Allocate CID" (0x0022)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 00:00:00:00
>>>>>> translated = SUCCESS
>>>>>> TLV:
>>>>>> type = "Allocation Info" (0x01)
>>>>>> length = 2
>>>>>> value = 02:02
>>>>>> translated = [ service = 'dms' cid = '2' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Registered 'dms' (version unknown) client with ID '2'
[20 Jan 2017, 09:18:27] [Debug] Asynchronously listing stored images...
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 13
<<<<<< data = 01:0C:00:00:02:02:00:01:00:49:00:00:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 12
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 0
<<<<<< message = "List Stored Images" (0x0049)
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 307
>>>>>> data = 01:32:01:80:02:02:02:01:00:49:00:26:01:02:04:00:00:00:00:00:01:1C:01:02:00:04:04:04:01:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:38:2E:30:32:2E:30:30:5F:3F:02:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:35:2E:30:37:2E:30:30:5F:3F:03:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:31:34:2E:30:33:2E:30:32:5F:3F:04:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:32:30:2E:30:33:2E:30:30:5F:3F:01:32:01:04:FF:FF:30:30:32:2E:30:30:39:5F:30:30:31:00:00:00:00:00:0F:30:32:2E:30:38:2E:30:32:2E:30:30:5F:41:54:54:FF:FF:30:30:32:2E:30:31:37:5F:30:30:30:00:00:00:00:00:13:30:32:2E:32:30:2E:30:33:2E:30:30:5F:47:45:4E:45:52:49:43:FF:FF:30:30:32:2E:30:31:32:5F:30:30:30:00:00:00:00:00:12:30:32:2E:31:34:2E:30:33:2E:30:32:5F:53:50:52:49:4E:54:FF:FF:30:30:32:2E:30:30:38:5F:30:30:33:00:00:00:00:00:13:30:32:2E:30:35:2E:30:37:2E:30:30:5F:56:45:52:49:5A:4F:4E
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 306
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 1
>>>>>> tlv_length = 294
>>>>>> message = "List Stored Images" (0x0049)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 00:00:00:00
>>>>>> translated = SUCCESS
>>>>>> TLV:
>>>>>> type = "List" (0x01)
>>>>>> length = 284
>>>>>> value = 02:00:04:04:04:01:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:38:2E:30:32:2E:30:30:5F:3F:02:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:35:2E:30:37:2E:30:30:5F:3F:03:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:31:34:2E:30:33:2E:30:32:5F:3F:04:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:32:30:2E:30:33:2E:30:30:5F:3F:01:32:01:04:FF:FF:30:30:32:2E:30:30:39:5F:30:30:31:00:00:00:00:00:0F:30:32:2E:30:38:2E:30:32:2E:30:30:5F:41:54:54:FF:FF:30:30:32:2E:30:31:37:5F:30:30:30:00:00:00:00:00:13:30:32:2E:32:30:2E:30:33:2E:30:30:5F:47:45:4E:45:52:49:43:FF:FF:30:30:32:2E:30:31:32:5F:30:30:30:00:00:00:00:00:12:30:32:2E:31:34:2E:30:33:2E:30:32:5F:53:50:52:49:4E:54:FF:FF:30:30:32:2E:30:30:38:5F:30:30:33:00:00:00:00:00:13:30:32:2E:30:35:2E:30:37:2E:30:30:5F:56:45:52:49:5A:4F:4E
>>>>>> translated = { [0] = '[ type = 'modem' maximum_images = '4' index_of_running_image = '4' sublist = '{ [0] = '[ storage_index = '1' failure_count = '0' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.08.02.00_?' ] ' [1] = '[ storage_index = '2' failure_count = '0' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.05.07.00_?' ] ' [2] = '[ storage_index = '3' failure_count = '0' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.14.03.02_?' ] ' [3] = '[ storage_index = '4' failure_count = '0' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.20.03.00_?' ] '}' ] ' [1] = '[ type = 'pri' maximum_images = '50' index_of_running_image = '1' sublist = '{ [0] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '48 ' [6] = '57 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '49 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.08.02.00_ATT' ] ' [1] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '49 ' [6] = '55 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.20.03.00_GENERIC' ] ' [2] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '49 ' [6] = '50 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.14.03.02_SPRINT' ] ' [3] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '48 ' [6] = '56 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '51 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.05.07.00_VERIZON' ] '}' ] '}
[/dev/cdc-wdm0] Device list of stored images retrieved:
[0] Type: 'modem'
Maximum: '4'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 47
<<<<<< data = 01:2E:00:00:02:02:00:02:00:4C:00:22:00:01:1F:00:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:38:2E:30:32:2E:30:30:5F:3F
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 46
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 2
<<<<<< tlv_length = 34
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 31
<<<<<< value = 00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:38:2E:30:32:2E:30:30:5F:3F
<<<<<< translated = [ type = 'modem' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.08.02.00_?' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:02:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 2
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[modem0]
Unique ID: '?_?'
Build ID: '02.08.02.00_?'
Storage index: '1'
Failure count: '0'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 47
<<<<<< data = 01:2E:00:00:02:02:00:03:00:4C:00:22:00:01:1F:00:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:35:2E:30:37:2E:30:30:5F:3F
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 46
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 3
<<<<<< tlv_length = 34
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 31
<<<<<< value = 00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:30:35:2E:30:37:2E:30:30:5F:3F
<<<<<< translated = [ type = 'modem' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.05.07.00_?' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:03:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 3
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[modem1]
Unique ID: '?_?'
Build ID: '02.05.07.00_?'
Storage index: '2'
Failure count: '0'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 47
<<<<<< data = 01:2E:00:00:02:02:00:04:00:4C:00:22:00:01:1F:00:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:31:34:2E:30:33:2E:30:32:5F:3F
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 46
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 4
<<<<<< tlv_length = 34
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 31
<<<<<< value = 00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:31:34:2E:30:33:2E:30:32:5F:3F
<<<<<< translated = [ type = 'modem' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.14.03.02_?' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:04:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 4
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[modem2]
Unique ID: '?_?'
Build ID: '02.14.03.02_?'
Storage index: '3'
Failure count: '0'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 47
<<<<<< data = 01:2E:00:00:02:02:00:05:00:4C:00:22:00:01:1F:00:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:32:30:2E:30:33:2E:30:30:5F:3F
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 46
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 5
<<<<<< tlv_length = 34
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 31
<<<<<< value = 00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:32:2E:32:30:2E:30:33:2E:30:30:5F:3F
<<<<<< translated = [ type = 'modem' unique_id = '{ [0] = '63 ' [1] = '95 ' [2] = '63 ' [3] = '0 ' [4] = '0 ' [5] = '0 ' [6] = '0 ' [7] = '0 ' [8] = '0 ' [9] = '0 ' [10] = '0 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.20.03.00_?' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:05:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 5
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[modem3]
Unique ID: '?_?'
Build ID: '02.20.03.00_?'
Storage index: '4'
Failure count: '0'
[1] Type: 'pri'
Maximum: '50'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 49
<<<<<< data = 01:30:00:00:02:02:00:06:00:4C:00:24:00:01:21:00:01:30:30:32:2E:30:30:39:5F:30:30:31:00:00:00:00:00:0F:30:32:2E:30:38:2E:30:32:2E:30:30:5F:41:54:54
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 48
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 6
<<<<<< tlv_length = 36
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 33
<<<<<< value = 01:30:30:32:2E:30:30:39:5F:30:30:31:00:00:00:00:00:0F:30:32:2E:30:38:2E:30:32:2E:30:30:5F:41:54:54
<<<<<< translated = [ type = 'pri' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '48 ' [6] = '57 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '49 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.08.02.00_ATT' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:06:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 6
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[pri0]
Unique ID: '002.009_001'
Build ID: '02.08.02.00_ATT'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 53
<<<<<< data = 01:34:00:00:02:02:00:07:00:4C:00:28:00:01:25:00:01:30:30:32:2E:30:31:37:5F:30:30:30:00:00:00:00:00:13:30:32:2E:32:30:2E:30:33:2E:30:30:5F:47:45:4E:45:52:49:43
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 52
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 7
<<<<<< tlv_length = 40
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 37
<<<<<< value = 01:30:30:32:2E:30:31:37:5F:30:30:30:00:00:00:00:00:13:30:32:2E:32:30:2E:30:33:2E:30:30:5F:47:45:4E:45:52:49:43
<<<<<< translated = [ type = 'pri' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '49 ' [6] = '55 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.20.03.00_GENERIC' ]
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:07:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 7
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
>>>>>>>>>> [CURRENT] <<<<<<<<<<
[pri1]
Unique ID: '002.017_000'
Build ID: '02.20.03.00_GENERIC'
[20 Jan 2017, 09:18:27] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 52
<<<<<< data = 01:33:00:00:02:02:00:08:00:4C:00:27:00:01:24:00:01:30:30:32:2E:30:31:32:5F:30:30:30:00:00:00:00:00:12:30:32:2E:31:34:2E:30:33:2E:30:32:5F:53:50:52:49:4E:54
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 51
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 8
<<<<<< tlv_length = 39
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 36
<<<<<< value = 01:30:30:32:2E:30:31:32:5F:30:30:30:00:00:00:00:00:12:30:32:2E:31:34:2E:30:33:2E:30:32:5F:53:50:52:49:4E:54
<<<<<< translated = [ type = 'pri' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '49 ' [6] = '50 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.14.03.02_SPRINT' ]
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:08:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 8
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[pri2]
Unique ID: '002.012_000'
Build ID: '02.14.03.02_SPRINT'
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 53
<<<<<< data = 01:34:00:00:02:02:00:09:00:4C:00:28:00:01:25:00:01:30:30:32:2E:30:30:38:5F:30:30:33:00:00:00:00:00:13:30:32:2E:30:35:2E:30:37:2E:30:30:5F:56:45:52:49:5A:4F:4E
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 52
<<<<<< flags = 0x00
<<<<<< service = "dms"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 9
<<<<<< tlv_length = 40
<<<<<< message = "Get Stored Image Info" (0x004C)
<<<<<< TLV:
<<<<<< type = "Image" (0x01)
<<<<<< length = 37
<<<<<< value = 01:30:30:32:2E:30:30:38:5F:30:30:33:00:00:00:00:00:13:30:32:2E:30:35:2E:30:37:2E:30:30:5F:56:45:52:49:5A:4F:4E
<<<<<< translated = [ type = 'pri' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '48 ' [6] = '56 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '51 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '02.05.07.00_VERIZON' ]
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 20
>>>>>> data = 01:13:00:80:02:02:02:09:00:4C:00:07:00:02:04:00:01:00:47:00
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 19
>>>>>> flags = 0x80
>>>>>> service = "dms"
>>>>>> client = 2
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 9
>>>>>> tlv_length = 7
>>>>>> message = "Get Stored Image Info" (0x004C)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 01:00:47:00
>>>>>> translated = FAILURE: InvalidQmiCommand
[pri3]
Unique ID: '002.008_003'
Build ID: '02.05.07.00_VERIZON'
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Releasing 'dms' client with flags 'release-cid'...
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Unregistered 'dms' client with ID '2'
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 17
<<<<<< data = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:02
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 16
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 2
<<<<<< tlv_length = 5
<<<<<< message = "Release CID" (0x0023)
<<<<<< TLV:
<<<<<< type = "Release Info" (0x01)
<<<<<< length = 2
<<<<<< value = 02:02
<<<<<< translated = [ service = 'dms' cid = '2' ]
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>> length = 24
>>>>>> data = 01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:02
[20 Jan 2017, 09:18:28] [Debug] [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>> length = 23
>>>>>> flags = 0x80
>>>>>> service = "ctl"
>>>>>> client = 0
>>>>>> QMI:
>>>>>> flags = "response"
>>>>>> transaction = 2
>>>>>> tlv_length = 12
>>>>>> message = "Release CID" (0x0023)
>>>>>> TLV:
>>>>>> type = "Result" (0x02)
>>>>>> length = 4
>>>>>> value = 00:00:00:00
>>>>>> translated = SUCCESS
>>>>>> TLV:
>>>>>> type = "Release Info" (0x01)
>>>>>> length = 2
>>>>>> value = 02:02
>>>>>> translated = [ service = 'dms' cid = '2' ]
[20 Jan 2017, 09:18:28] [Debug] Client released
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.05.07.00_?'
Storage index: '2'
Failure count: '0'
[modem2]
Unique ID: '?_?'
Build ID: '02.14.03.02_?'
Storage index: '3'
Failure count: '0'
[modem3]
Unique ID: '?_?'
Build ID: '02.20.03.00_?'
Storage index: '4'
Failure count: '0'
[1] Type: 'pri'
Maximum: '50'
[pri0]
Unique ID: '002.009_001'
Build ID: '02.08.02.00_ATT'
>>>>>>>>>> [CURRENT] <<<<<<<<<<
[pri1]
Unique ID: '002.017_000'
Build ID: '02.20.03.00_GENERIC'
[pri2]
Unique ID: '002.012_000'
Build ID: '02.14.03.02_SPRINT'
[pri3]
Unique ID: '002.008_003'
Build ID: '02.05.07.00_VERIZON'
root at mserver116:/opt/test#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmi-firmware-update.log
Type: application/octet-stream
Size: 141482 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170120/e5ecbd54/attachment-0001.obj>
More information about the libqmi-devel
mailing list