Firmware upgrade for EM9293 fails on linux

Hello,
Have you experienced the same problem when trying to update the firmware on RHEL 10?

I am trying to update the firmware.
Modem was not communicating with the UGW (after approx 1 hour)
Tried to update the firmware

Now after the firmware update failed, also the Modem cannot connect any longer to the network.

uerying subscriber ready status ‘mbimcli -d /dev/cdc-wdm0 --query-subscriber-ready-status --device-open-proxy’…
error: operation failed: MBIM protocol error: NotOpened

System | device: /sys/devices/pci0000:00/0000:00:14.0/usb4/4-4
| physdev: /sys/devices/pci0000:00/0000:00:14.0/usb4/4-4
| drivers: cdc_mbim
| plugin: sierra
| primary port: cdc-wdm0
| ports: cdc-wdm0 (mbim), wwp0s20f0u4 (net)

./fw-download-toolhostx86_64 -f /root/images -p /dev/cdc-wdm0
Application version: 1.0.2412.2
INFO: QDL Port:
INFO: Device Path: /dev/cdc-wdm0
INFO: Device Port: 4-4
INFO: FW Path: /root/images
Target image Info:
Carrier :GENERIC
FW Version :02.17.08.00
Model ID :SWIX65C
Package ID :001
PRI Version:030.081
SKU :9999999
Switching device into download mode for image switch …
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 …
Modem not coming up in BOOT and HOLD mode in 60 seconds. Please check parameters. Application terminates.

[mbimcli -d /dev/cdc-wdm0 --set-radio-state=on
error: operation failed: Failure

mmcli -m 3 --command=‘MBIMMODE=1’
error: command failed: ‘GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unauthorized: Operation only allowed in debug mode’

seems you did not specify the download port /dev/ttyUSB0
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!!!

Sure but there’s no device in RHEL with tty
no qcserial no usb just cdc_mbim

is this common for RHEL or … is just a problem on my side.

dmesg | grep tty

[ 0.047718] printk: legacy console [tty0] enabled
[ 0.505339] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 3.086180] systemd[1]: Created slice system-getty.slice - Slice /system/getty.

Did you install the MBPL USB driver?

https://source.sierrawireless.com/resources/airprime/software/mbpl/mbpl-software-latest/#sthash.gEXLzYb8.dpbs