Issues updating Carrier Firmware on EM9191 and EM9291

Hello,

Having some issues with getting carrier firmware to update. Ideally I would like to load multiple carriers’ firmware onto my device which is soldered on a board with the imx8qm module. Please see below what occurs when I try to run a firmware update command. I also was getting the following error after downloading appeared to be successful “error: error downloading image: couldn’t teardown download: unexpected firehose response received: value=NAK, rawmode=false”.

root@dvt:~# lsusb
Bus 002 Device 003: ID 1199:90e3 Sierra Wireless, Incorporated Sierra Wireless EM9291
Bus 002 Device 002: ID 05e3:0620 GenesysLogic USB3.2 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.71+g997822231130 xhci-hcd xHCI Host Controller
Bus 001 Device 004: ID 0403:6015 FTDI FT230X Basic UART
Bus 001 Device 003: ID 05e3:0610 USB2.0 Hub
Bus 001 Device 002: ID 05e3:0610 GenesysLogic USB2.1 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.71+g997822231130 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0002 Linux 5.15.71+g997822231130 ehci_hcd EHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 5.15.71+g997822231130 ehci_hcd EHCI Host Controller
root@dvt:~# cd /home/
root@dvt:/home# qmi-firmware-update --update --device-open-mbim -d 1199:90e3 SWIX55C_03.14.10.00-001.cwe SWIX55C_03.14.10.00-001_VERIZON_030.089_000.nvu
loading device information before the update…
setting firmware preference:
firmware version: ‘03.14.10.00’
config version: ‘030.089_000’
carrier: ‘VERIZON’
rebooting in download mode…
download mode detected
error: unsupported download protocol
root@dvt:/home# qmi-firmware-update --update --device-open-mbim -d 1199:90e3 SWIX55C_03.14.10.00-001.cwe SWIX55C_03.14.10.00-001_VERIZON_030.089_000.nvu
error: couldn’t select device:: no device found with matching criteria: vid 0x1199, pid 0x90e3
root@dvt:/home# lsusb
Bus 002 Device 004: ID 1199:90e2 Sierra Wireless, Incorporated EM92xx
Bus 002 Device 002: ID 05e3:0620 GenesysLogic USB3.2 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.71+g997822231130 xhci-hcd xHCI Host Controller
Bus 001 Device 004: ID 0403:6015 FTDI FT230X Basic UART
Bus 001 Device 003: ID 05e3:0610 USB2.0 Hub
Bus 001 Device 002: ID 05e3:0610 GenesysLogic USB2.1 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.71+g997822231130 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0002 Linux 5.15.71+g997822231130 ehci_hcd EHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 5.15.71+g997822231130 ehci_hcd EHCI Host Controller
root@dvt:/home# qmi-firmware-update --update --device-open-mbim -d 1199:90e2 SWIX55C_03.14.10.00-001.cwe SWIX55C_03.14.10.00-001_VERIZON_030.089_000.nvu
error: No cdc-wdm device found to run update operation

how about using the FW download tool MBPL_SDK_R35_ENG4-fwdwl.bin.tar here?
https://source.sierrawireless.com/resources/airprime/software/mbpl/mbpl-software-latest/#sthash.ZXRwiiKx.gZBgf58a.dpbs

For example:

jordan@jordan-X240:~/QMI/MBPL/MBPL_SDK_R21_ENG2-lite.bin/SampleApps/lite-fw-download$ sudo ./bin/fwdwl-litehostx86_64 -l pcie_mbim.log -f /home/jordan/Desktop/EM919x_FW/Release2/ -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 -w SWIX55C_02.08.01.00-002.cwe -n SWIX55C_02.08.01.00_GENERIC_020.007_002.nvu
Application version: 1.0.2106.0
INFO: QDL Port  :  /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW  Path  :  /home/jordan/Desktop/EM919x_FW/Release2/
Target image Info:
Carrier    :GENERIC
FW Version :02.08.01.00
Model ID   :SWIX55C
Package ID :002
PRI Version:020.007
SKU        :9999999
Switching device into download mode ...
Modem Needs FW
Modem Needs PRI
Waiting for modem to disconnect from the host ...
Modem disconnected from host.
Waiting for modem to come up in BOOT and HOLD mode ...
BOOT and HOLD Mode. Downloading firmware ...
Downloading: /home/jordan/Desktop/EM919x_FW/Release2//SWIX55C_02.08.01.00-002.cwe
Downloading: /home/jordan/Desktop/EM919x_FW/Release2//SWIX55C_02.08.01.00_GENERIC_020.007_002.nvu
FW download succeeded.
Waiting for modem to come up in ONLINE mode ...
Modem is now in ONLINE mode ... 
FW update status: Successful
FW info from modem:
Model ID            : EM9190
FW Version          : SWIX55C_02.08.01.00
Carrier Name        : GENERIC
Carrier PRI Revision: 020.007_002
Firmware Download Process completed
Exiting Application!!!


1 Like

This is exactly what I needed, the command worked once I modified it for my files. Thank you!

./fw-download-toolarm -l pcie_mbim.log -f /home/files/VER -d /dev/ttyUSB1 -p /dev/cdc-wdm0