qmi-firmware-update with multiple NVU for Sierra EM7411

Gupta, Anubhav Anubhav.Gupta at digi.com
Tue Oct 6 16:07:19 UTC 2020


Hi all,

I am new to libqmi and I am trying to update firmware on EM7411 using multiple NVU's and single CWE.
I see it error's out matching the config version but it works when I pass --ignore-version-errors to qmi-firmware-update.
Can you please explain me the reason why I need  --ignore-version-errors to update the firmware as well as if this can cause any other issues?



# qmi-firmware-update -v  --ignore-mm-runtime-check -s 1:5 -u /opt/sierra-wirele
ss-7411/Custom_Firmware/SWI9X50C_01.13.02.00.cwe /opt/sierra-wireless-7411/Custo
m_Firmware/SWI9X50C_01.13.02.00_ATT_002.041_000.nvu /opt/sierra-wireless-7411/Cu
stom_Firmware/SWI9X50C_01.13.02.00_GENERIC_002.030_000.nvu /opt/sierra-wireless-
7411/Custom_Firmware/SWI9X50C_01.13.02.00_VERIZON_002.036_000.nvu
[05 Oct 2020, 17:14:58] [Debug] [bus 001, dev 005] sysfs path: /sys/devices/platform/1e1c0000.xhci/usb1/1-1
[05 Oct 2020, 17:14:58] [Debug] [qfu-udev] peer port for '/sys/devices/platform/1e1c0000.xhci/usb1/1-1' found: /sys/devices/platform/1e1c0000.xhci/usb2/2-0:1.0/usb2-port1
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] loading file info...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] opening file for reading...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] reading image headers...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image offset range: [0,80356030]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [400,7360]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 400 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [7360,411344]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [7760,14640]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 7760 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [14640,411344]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 14640 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 7360 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [411344,40128836]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [411744,418704]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 411744 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [418704,875420]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 418704 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [875420,1043008]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 875420 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [1043008,40128836]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 1043008 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 411344 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [40128836,80356030]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [40129236,40136196]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 40129236 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [40136196,40587184]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 40136196 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [40587184,72974769]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 40587184 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [72974769,80356030]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 72974769 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 40128836 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] validating data size...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   firmware version: 01.13.02.00
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   config version:   unknown
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   carrier:          unknown
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] loading file info...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] opening file for reading...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] reading image headers...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image offset range: [0,22303]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [400,7680]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [800,7680]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 400 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [7680,22303]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [8080,22303]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 8080 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 7680 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] validating data size...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   firmware version: 01.13.02.00
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   config version:   002.041_000
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   carrier:          ATT
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] loading file info...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] opening file for reading...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] reading image headers...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image offset range: [0,10159]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [400,7680]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [800,7680]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 400 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [7680,10159]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [8080,10159]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 8080 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 7680 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] validating data size...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   firmware version: 01.13.02.00
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   config version:   002.030_000
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   carrier:          GENERIC
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] loading file info...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image] opening file for reading...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] reading image headers...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image offset range: [0,50737]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [400,7680]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [800,7680]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 400 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image offset range: [7680,50737]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]     image offset range: [8080,50737]
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   image at offset 8080 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] image at offset 7680 is valid
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] validating data size...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   firmware version: 01.13.02.00
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   config version:   002.036_000
[05 Oct 2020, 17:14:58] [Debug] [qfu-image-cwe]   carrier:          VERIZON
[05 Oct 2020, 17:14:58] [Debug] [qfu,device-selection] single cdc-wdm device requested in sysfs path '/sys/devices/platform/1e1c0000.xhci/usb1/1-1'
[05 Oct 2020, 17:14:58] [Debug] [qfu,device-selection]   device found: /dev/cdc-wdm0
[05 Oct 2020, 17:14:58] [Debug] [qfu,device-selection]   using automatically selected device: /dev/cdc-wdm0
loading device information before the update...
[05 Oct 2020, 17:14:58] [Debug] [qfu-updater] creating QMI DMS client...
[05 Oct 2020, 17:14:58] [Debug] [qfu,utils] creating QMI device...
[05 Oct 2020, 17:14:58] [Debug] [qfu,utils] QMI device created
[05 Oct 2020, 17:14:58] [Debug] [qfu,utils] opening QMI device (without proxy, qmi mode)...
[05 Oct 2020, 17:14:58] [Debug] [/dev/cdc-wdm0] Opening device with flags 'sync, auto'...
[05 Oct 2020, 17:14:58] [Debug] [/dev/cdc-wdm0] created endpoint
[05 Oct 2020, 17:14:58] [Debug] [/dev/cdc-wdm0] Running sync (10 retries)...
[05 Oct 2020, 17:14:58] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:00:00:00:00:01:27:00:00:00

[05 Oct 2020, 17:14:58] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:00] [Debug] transaction 0x1 aborted, but message is not abortable
[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:00:00:00:00:02:27:00:00:00

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "indication"
<<<<<<   transaction = 0
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] Sync indication received
[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "indication"
<<<<<<   transaction = 0
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] Sync indication received
[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "indication"
<<<<<<   transaction = 0
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:00] [Debug] [/dev/cdc-wdm0] Sync indication received
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "indication"
<<<<<<   transaction = 0
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Sync indication received
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "indication"
<<<<<<   transaction = 0
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Sync indication received
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 12
<<<<<<   data   = 01:0B:00:80:00:00:02:00:27:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic indication (translated)...
<<<<<< QMUX:
<<<<<<   length  = 11
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "indication"
<<<<<<   transaction = 0
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Sync" (0x0027)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Sync indication received
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 19
<<<<<<   data   = 01:12:00:80:00:00:01:01:27:00:07:00:02:04:00:00:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 18
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 7
<<<<<<   message     = "Sync" (0x0027)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] No transaction matched in received message
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 19
<<<<<<   data   = 01:12:00:80:00:00:01:02:27:00:07:00:02:04:00:00:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 18
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 7
<<<<<<   message     = "Sync" (0x0027)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Sync operation finished
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] QMI device open
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] allocating new DMS QMI client...
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is supported...
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:0F:00:00:00:00:00:03:22:00:04:00:01:01:00:02

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 15
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 3
<<<<<<   tlv_length  = 4
<<<<<<   message     = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<<   type       = "Service" (0x01)
<<<<<<   length     = 1
<<<<<<   value      = 02
<<<<<<   translated = dms

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 24
<<<<<<   data   = 01:17:00:80:00:00:01:03:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:01

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 23
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 3
<<<<<<   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:01
<<<<<<   translated = [ service = 'dms' cid = '1' ]

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Registered 'dms' (version unknown) client with ID '1'
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] DMS QMI client allocated
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:01:00:01:00:23:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Revision" (0x0023)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:01:00:02:00:49:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 0
<<<<<<   message     = "List Stored Images" (0x0049)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:01:00:03:00:47:00:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 3
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Firmware Preference" (0x0047)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:02:01:00:04:00:56:55:00:00

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent vendor-specific (0x1199) request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 4
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Swi Get Current Firmware" (0x5556)

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 166
<<<<<<   data   = 01:A5:00:80:02:01:02:01:00:23:00:99:00:02:04:00:00:00:00:00:01:37:00:53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30:20:32:32:66:64:66:39:20:6A:65:6E:6B:69:6E:73:20:32:30:32:30:2F:30:36:2F:31:36:20:31:36:3A:32:39:3A:35:39:10:37:00:53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30:20:32:32:66:64:66:39:20:6A:65:6E:6B:69:6E:73:20:32:30:32:30:2F:30:36:2F:31:36:20:31:36:3A:32:39:3A:35:39:11:1B:00:39:39:30:39:38:35:31:20:30:30:32:2E:30:30:32:20:47:65:6E:65:72:69:63:2D:4D:32:4D

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 165
<<<<<<   flags   = 0x80
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 153
<<<<<<   message     = "Get Revision" (0x0023)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS
<<<<<< TLV:
<<<<<<   type       = "Revision" (0x01)
<<<<<<   length     = 55
<<<<<<   value      = 53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30:20:32:32:66:64:66:39:20:6A:65:6E:6B:69:6E:73:20:32:30:32:30:2F:30:36:2F:31:36:20:31:36:3A:32:39:3A:35:39
<<<<<<   translated = SWI9X50C_01.13.02.00 22fdf9 jenkins 2020/06/16 16:29:59
<<<<<< TLV:
<<<<<<   type   = 0x10
<<<<<<   length = 55
<<<<<<   value  = 53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30:20:32:32:66:64:66:39:20:6A:65:6E:6B:69:6E:73:20:32:30:32:30:2F:30:36:2F:31:36:20:31:36:3A:32:39:3A:35:39
<<<<<< TLV:
<<<<<<   type   = 0x11
<<<<<<   length = 27
<<<<<<   value  = 39:39:30:39:38:35:31:20:30:30:32:2E:30:30:32:20:47:65:6E:65:72:69:63:2D:4D:32:4D

[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] current revision loaded: SWI9X50C_01.13.02.00 22fdf9 jenkins 2020/06/16 16:29:59
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 174
<<<<<<   data   = 01:AD:00:80:02:01:02:02:00:49:00:A1:00:02:04:00:00:00:00:00:01:97:00:02:00:04:01:01:01:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:31:2E:31:33:2E:30:32:2E:30:30:5F:3F:01:32:00:03:FF:FF:30:30:32:2E:30:34:31:5F:30:30:30:00:00:00:00:00:0F:30:31:2E:31:33:2E:30:32:2E:30:30:5F:41:54:54:FF:FF:30:30:32:2E:30:33:30:5F:30:30:30:00:00:00:00:00:13:30:31:2E:31:33:2E:30:32:2E:30:30:5F:47:45:4E:45:52:49:43:FF:FF:30:30:32:2E:30:33:36:5F:30:30:30:00:00:00:00:00:13:30:31:2E:31:33:2E:30:32:2E:30:30:5F:56:45:52:49:5A:4F:4E

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 173
<<<<<<   flags   = 0x80
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 2
<<<<<<   tlv_length  = 161
<<<<<<   message     = "List Stored Images" (0x0049)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS
<<<<<< TLV:
<<<<<<   type       = "List" (0x01)
<<<<<<   length     = 151
<<<<<<   value      = 02:00:04:01:01:01:00:3F:5F:3F:00:00:00:00:00:00:00:00:00:00:00:00:00:0D:30:31:2E:31:33:2E:30:32:2E:30:30:5F:3F:01:32:00:03:FF:FF:30:30:32:2E:30:34:31:5F:30:30:30:00:00:00:00:00:0F:30:31:2E:31:33:2E:30:32:2E:30:30:5F:41:54:54:FF:FF:30:30:32:2E:30:33:30:5F:30:30:30:00:00:00:00:00:13:30:31:2E:31:33:2E:30:32:2E:30:30:5F:47:45:4E:45:52:49:43:FF:FF:30:30:32:2E:30:33:36:5F:30:30:30:00:00:00:00:00:13:30:31:2E:31:33:2E:30:32:2E:30:30:5F:56:45:52:49:5A:4F:4E
<<<<<<   translated = { [0] = '[ type = 'modem' maximum_images = '4' index_of_running_image = '1' 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 = '01.13.02.00_?' ] '}' ] ' [1] = '[ type = 'pri' maximum_images = '50' index_of_running_image = '0' sublist = '{ [0] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '52 ' [6] = '49 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '01.13.02.00_ATT' ] ' [1] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '51 ' [6] = '48 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '01.13.02.00_GENERIC' ] ' [2] = '[ storage_index = '255' failure_count = '255' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '51 ' [6] = '54 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '01.13.02.00_VERIZON' ] '}' ] '}

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 90
<<<<<<   data   = 01:59:00:80:02:01:02:03:00:47:00:4D:00:02:04:00:00:00:00:00:01:43:00:02:00:30:30:32:2E:30:34:31:5F:30:30:30:00:00:00:00:00:0F:30:31:2E:31:33:2E:30:32:2E:30:30:5F:41:54:54:01:30:30:32:2E:30:34:31:5F:30:30:30:00:00:00:00:00:0F:30:31:2E:31:33:2E:30:32:2E:30:30:5F:41:54:54

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 89
<<<<<<   flags   = 0x80
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 3
<<<<<<   tlv_length  = 77
<<<<<<   message     = "Get Firmware Preference" (0x0047)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS
<<<<<< TLV:
<<<<<<   type       = "List" (0x01)
<<<<<<   length     = 67
<<<<<<   value      = 02:00:30:30:32:2E:30:34:31:5F:30:30:30:00:00:00:00:00:0F:30:31:2E:31:33:2E:30:32:2E:30:30:5F:41:54:54:01:30:30:32:2E:30:34:31:5F:30:30:30:00:00:00:00:00:0F:30:31:2E:31:33:2E:30:32:2E:30:30:5F:41:54:54
<<<<<<   translated = { [0] = '[ type = 'modem' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '52 ' [6] = '49 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '01.13.02.00_ATT' ] ' [1] = '[ type = 'pri' unique_id = '{ [0] = '48 ' [1] = '48 ' [2] = '50 ' [3] = '46 ' [4] = '48 ' [5] = '52 ' [6] = '49 ' [7] = '95 ' [8] = '48 ' [9] = '48 ' [10] = '48 ' [11] = '0 ' [12] = '0 ' [13] = '0 ' [14] = '0 ' [15] = '0 '}' build_id = '01.13.02.00_ATT' ] '}

[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] current firmware preference loaded:
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] [image 0]
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils]     Image type: 'modem'
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils]     Unique ID:  '002.041_000'
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils]     Build ID:   '01.13.02.00_ATT'
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils] [image 1]
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils]     Image type: 'pri'
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils]     Unique ID:  '002.041_000'
[05 Oct 2020, 17:15:01] [Debug] [qfu,utils]     Build ID:   '01.13.02.00_ATT'
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received message...
<<<<<< RAW:
<<<<<<   length = 119
<<<<<<   data   = 01:76:00:80:02:01:02:04:00:56:55:6A:00:02:04:00:00:00:00:00:10:06:00:45:4D:37:34:31:31:11:14:00:53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30:12:14:00:53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30:13:07:00:31:31:30:34:36:38:30:15:01:00:34:16:07:00:30:30:32:2E:30:30:32:17:03:00:41:54:54:18:0B:00:30:30:32:2E:30:34:31:5F:30:30:30

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] received vendor-specific (0x1199) response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 118
<<<<<<   flags   = 0x80
<<<<<<   service = "dms"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 4
<<<<<<   tlv_length  = 106
<<<<<<   message     = "Swi Get Current Firmware" (0x5556)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS
<<<<<< TLV:
<<<<<<   type       = "Model" (0x10)
<<<<<<   length     = 6
<<<<<<   value      = 45:4D:37:34:31:31
<<<<<<   translated = EM7411
<<<<<< TLV:
<<<<<<   type       = "Boot version" (0x11)
<<<<<<   length     = 20
<<<<<<   value      = 53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30
<<<<<<   translated = SWI9X50C_01.13.02.00
<<<<<< TLV:
<<<<<<   type       = "AMSS version" (0x12)
<<<<<<   length     = 20
<<<<<<   value      = 53:57:49:39:58:35:30:43:5F:30:31:2E:31:33:2E:30:32:2E:30:30
<<<<<<   translated = SWI9X50C_01.13.02.00
<<<<<< TLV:
<<<<<<   type       = "SKU ID" (0x13)
<<<<<<   length     = 7
<<<<<<   value      = 31:31:30:34:36:38:30
<<<<<<   translated = 1104680
<<<<<< TLV:
<<<<<<   type       = "Carrier ID" (0x15)
<<<<<<   length     = 1
<<<<<<   value      = 34
<<<<<<   translated = 4
<<<<<< TLV:
<<<<<<   type       = "PRI version" (0x16)
<<<<<<   length     = 7
<<<<<<   value      = 30:30:32:2E:30:30:32
<<<<<<   translated = 002.002
<<<<<< TLV:
<<<<<<   type       = "Carrier" (0x17)
<<<<<<   length     = 3
<<<<<<   value      = 41:54:54
<<<<<<   translated = ATT
<<<<<< TLV:
<<<<<<   type       = "Config version" (0x18)
<<<<<<   length     = 11
<<<<<<   value      = 30:30:32:2E:30:34:31:5F:30:30:30
<<<<<<   translated = 002.041_000

error: couldn't detect config version: config version strings don't match on specified images: '002.041_000' != '002.036_000'
note: you can ignore this error using --ignore-version-errors
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Releasing 'dms' client with flags 'release-cid'...
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] Unregistered 'dms' client with ID '1'
[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent message...
<<<<<< RAW:
<<<<<<   length = 17
<<<<<<   data   = 01:10:00:00:00:00:00:04:23:00:05:00:01:02:00:02:01

[05 Oct 2020, 17:15:01] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 16
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 4
<<<<<<   tlv_length  = 5
<<<<<<   message     = "Release CID" (0x0023)
<<<<<< TLV:
<<<<<<   type       = "Release Info" (0x01)
<<<<<<   length     = 2
<<<<<<   value      = 02:01
<<<<<<   translated = [ service = 'dms' cid = '1' ]

Thanks,
Anubhav Gupta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20201006/00f27969/attachment-0001.htm>


More information about the libqmi-devel mailing list