Hello,
I would like to update the firmware of an RC7620 modem under embedded Linux with the command “qmi-update-firmware” and libqmi.
Thank you for your help
See you soon
JFT
Have you tried the MBPL FW downloader?
https://source.sierrawireless.com/resources/airprime/software/mbpl/mbpl-software-latest/
Thank you for your reply.
my embedded linux is a linux from scratch.
the “qmi_wwan” and “usb_wwan” are not a module. They are in the kernel. Is it a problem ?
In my application software, i use “qmi-network” to order the modem.
which is why I was thinking of using “qmi-update-firmware”.
So, to use “fwdwl-litearm”, what is the modelfamily for RC7620-1 ?
could you give me the link to download the latest firmware for the RC7620-1 ?
Thank you for your help
See you soon
FW download:
https://source.sierrawireless.com/resources/airprime/software/rc76xx/rc76xx-firmware-release-8/#sthash.w1a0rqqD.dpbs
Thank you jyijyi for you reply.
Here is the command for the firmware update:
./fwdwl-litearm -m 4 -P 1-1.1 -f /RC76xx_Release8_SIERRA_R2C_7620.spk -i 1
Application version: 1.0.2105.3
modinfo: module ‘/lib/modules/4.14.231-1.1.0/qcserial’ not found
modinfo: module ‘/lib/modules/4.14.231-1.1.0/usb_wwan’ not found
modinfo: module ‘/lib/modules/4.14.231-1.1.0/cdc_mbim’ not found
modinfo: module ‘/lib/modules/4.14.231-1.1.0/qmi_wwan’ not found
Unable to locate the device.
Exiting Application!!!
the “qmi_wwan” and “usb_wwan” are not a module. They are in the kernel. Is it a problem ?
Thank you for your help
See you soon
another test, another question:
./fwdwl-litearm -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -f RC76xx_Release8_SIERRA_R2C_7620.spk
Application version: 1.0.2105.3
modinfo: module ‘/lib/modules/4.14.231-1.1.0/qcserial’ not found
modinfo: module ‘/lib/modules/4.14.231-1.1.0/usb_wwan’ not found
modinfo: module ‘/lib/modules/4.14.231-1.1.0/cdc_mbim’ not found
modinfo: module ‘/lib/modules/4.14.231-1.1.0/qmi_wwan’ not found
INFO: QDL Port : /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path : RC76xx_Release8_SIERRA_R2C_7620.spk
There is no image to be downloaded. Exit applications!Exiting Application!!!
I took this file from the link you gave me.
can you tell me where to find the right file ?
Thank you for your help
See you soon
From the lite-fw-download-readme.txt
3. Supported Devices
====================
- Based on SDX55, Ex: EM9190/EM9191/EM7690, etc.
- Based on 9X50, Ex: EM7565/EM7511/EM74X1, etc.
- Based on 9X30, Ex: EM7455/EM7430, etc.
- Based on 9X15, Ex: EM7355/EM7305, etc.
- Based on 9X07, Ex: WP76xx
Modem formfactor (EM/MC/WP/HL) is largely irrelevant for the purpose of this app and FW download feature. The overall functionality from a host perspective is equivalent.
Not quite sure if it works on RC module right now.
You might try to install attached USB driver by
make
make install
Suggest you testing on Ubuntu 18 PC first.
MBPL_Drivers_USB_R20_ENG1-src.tar.gz (23.0 KB)
it is not possible to do the test under Ubuntu 18 PC.
The modem is soldered into the target.
you say: “Not quite sure if it works on RC module right now.”
what is the best method of updating the firmware for the RC7620 modems ?
I have 150 products to do
Thank you for your help
you can modify the makefile to use toolchain to compile the driver and install in your system to try.
I compiled and installed the 3 drivers in my target.
but the problem remains the same, the .spk file does not seem to be supported.
How do I update the modems ?
Thank you for your help
log file:
[58][1]System date/time: 07/07/2018 17:35:48
[58][1]1.0.2105.3
[58][1]Kernel: Linux REDY 4.14.231-1.1.0 #2 PREEMPT Wed Jul 7 17:32:07 CEST 2021 armv7l GNU/Linux
[58][1]qcserial version: 1.7.2101.1
[58][1]usb_wwan version: 1.0.2101.1
[58][1]qmi_wwan srcversion: 14759A55322B593E58E7331
[58][1]./fwdwl-litearm
[58][1]-m
[58][1]4
[58][1]-d
[58][1]/dev/ttyUSB0
[58][1]-p
[58][1]/dev/cdc-wdm0
[58][1]-t
[58][1]1
[58][1]-f
[58][1]RC76xx_Release8_SIERRA_R2C_7620.spk
[58][7]User specified read block size: 0 bytes
[58][7]**************************************************
[58][7]Copyright: © 2015-2017 Sierra Wireless, Inc. all rights reserved
[58][7]lite-fw is only permitted to be use with Sierra Wireless Modems
[58][7]lite-fw version lite-fwMBPL_SDK_R20_ENG4
[58][7]**************************************************
[58][6]Images list empty, no image to download.
Then it is not supported with the MBPL SDK.
I saw in the link
https://source.sierrawireless.com/resources/airprime/software/rc76xx/rc76xx-firmware-release-8/#sthash.w1a0rqqD.i0ayPHaw.dpbs
It asked you to use the " Linux QMI SDK Application Developer Guide".
In this case, you need to use the GobiSerial driver and GobiNet driver together with the Linux QMI SDK.
BTW, have you tried to update the FW by AVMS website?
it is written in your Linux QMI SDK documentation :
** NOTE: This product is now EOL. Sierra Wireless recommends customers move to MBPL on supported modules.
the RC7620 modem is a very recent product. I don’t understand.
don’t you have another solution for me ?
we have been delivered 150 RC7620 modems with non-working Beta firmware.
For the update with AVMS website, it is too complicated to have to fill in 150 IMEI - Serial number - connected to the network…
As you tested that MBPL seems cannot work with RC module…
So using the old SDK should be the only way. (other than AVMS)
The old SDK is not the solution as I need to blacklist the qmi_wwam driver used by the modem in operation.
I don’t think it’s up to me to say whether MBPL doesn’t work with the RC7620.
It would be up to you to confirm this.
it seems to work except that the .spk file is the wrong format ! why ?
There is no image to be downloaded. Exit applications!Exiting Application!!!
file log:
[225][1]-f
[225][1]RC76xx_Release8_SIERRA_R2C_7620.spk
225][7]User specified read block size: 0 bytes
[225][7]**************************************************
[225][7]Copyright: © 2015-2017 Sierra Wireless, Inc. all rights reserved
[225][7]lite-fw is only permitted to be use with Sierra Wireless Modems
225][7]lite-fw version lite-fwMBPL_SDK_R20_ENG4
[225][7]**************************************************
[225][6]Images list empty, no image to download.
I believe you can use gobinet
Do you have a document that simply describes the procedure to follow ?
Can you try the MBPL R20 again?
- in AT command port, enter AT!BOOTHOLD, after that only /dev/ttyUSB is seen
- run the following (-f should be specify the folder):
owner@ubuntu:~/QMI/MBPL_SDK_R20_ENG4-lite.src/SampleApps/lite-fw-download$ sudo ./bin/fwdwl-litehostx86_64 -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 -f /home/owner/Desktop/RC7620_FW/
Application version: 1.0.2105.3
INFO: QDL Port : /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path : /home/owner/Desktop/RC7620_FW/
Target image Info:
Carrier :GENERIC
FW Version :00.08.07.00
Model ID :SWI9X07H
Package ID :000
PRI Version:001.081
SKU :9999999
Modem is in QDL mode. Continuing FW download
Waiting for modem to come up in BOOT and HOLD mode …
BOOT and HOLD Mode. Downloading firmware …
Downloading: /home/owner/Desktop/RC7620_FW//RC76xx_Release8_GENERIC_GCF_7620.spk
/
We move on. Thank you for your help.
After “AT!BOOTHOLD” command, /dev/cdc-wdm0 and /dev/ttyUSBx (x=1,2,3) disappears and do not reappear.
Here is the result of the test: how to ensure that the QMI device path is correct ?
AT!BOOTHOLD
OK
FATAL: term closed
# ./fwdwl-litearm -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 -f /usr/wit/applic/update/
Application version: 1.0.2105.3
modinfo: module ‘/lib/modules/4.14.231-1.1.0/cdc_mbim’ not found
INFO: QDL Port : /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path : /usr/wit/applic/update/
Target image Info:
Carrier :SIERRA
FW Version :00.08.07.00
Model ID :SWI9X07H
Package ID :000
PRI Version:000.057
SKU :9999999
Modem is disconnected or not in correct state. Please ensure QMI device path is
correct.
Exiting Application!!!
Can you check dmesg?
After at!boothold, you should see qcserial driver enumerate one usb port such as /dev/ttyUSB0
here is the information added in dmesg after the AT!BOOTHOLD command
ttyUSB0 is not visible in the folder /dev. why ?
usb 1-1.1: USB disconnect, device number 3
qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
qcserial 1-1.1:1.0: device disconnected
qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1
qcserial 1-1.1:1.2: device disconnected
qcserial ttyUSB2: Qualcomm USB modem converter now disconnected from ttyUSB2
qcserial 1-1.1:1.3: device disconnected
qmi_wwan 1-1.1:1.8 wwan0: unregister ‘qmi_wwan’ usb-ci_hdrc.1-1.1, WWAN/QMI device
usbcore: deregistering interface driver qmi_wwan
usb 1-1.1: new high-speed USB device number 4 using ci_hdrc
usb 1-1.1: New USB device found, idVendor=1199, idProduct=68c0
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.1: Product: Sierra Wireless RC7620-1
usb 1-1.1: Manufacturer: Sierra Wireless, Incorporated
usb 1-1.1: SerialNumber: 7T0265850513B011
qcserial 1-1.1:1.0: Qualcomm USB modem converter detected
usb 1-1.1: Qualcomm USB modem converter now attached to ttyUSB0
usbcore: registered new interface driver qmi_wwan
random: crng init done