Hi Jyijyi,
I have downloaded Release 16 and compiled. And i installed build_bin/tmp/deploy/images/swi-mdm9x28-wp/yocto_wp76xx.4k.cwe into our custom target. The fwupdate command is missing. How can i include fwupdate command in yocto_wp76xx.4k.cwe binary?
Fwupdate command is in legato.cwe, not in yocto image.
BTW, the default R16 should have the fwupdate:
root@swi-mdm9x28-wp:~# cm info
Device: WP7609
IMEI: 359782080100399
IMEISV: E
FSN: WA803370010610
Firmware Version: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
Bootloader Version: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
MCU Version: 002.015
PRI Part Number (PN): 9908102
PRI Revision: 001.000
Carrier PRI Name: GENERIC
Carrier PRI Revision: 002.095_000
SKU: 1103843
Last Reset Cause: Power Down
Resets Count: Expected: 132 Unexpected: 242
root@swi-mdm9x28-wp:~# fwupdate -h
Invalid command '-h'
NAME:
fwupdate - Download or Query modem firmware
SYNOPSIS:
fwupdate help
fwupdate downloadOnly FILE
fwupdate query
fwupdate install
fwupdate checkStatus
fwupdate markGood
fwupdate download FILE
DESCRIPTION:
fwupdate help
- Print this help message and exit
fwupdate query
- Query the current firmware version. This includes the modem firmware version, the
bootloader version, and the linux kernel version.
This can be used after a download and modem reset, to confirm the firmware version.
fwupdate downloadOnly FILE
- Download the given CWE file; if '-' is given as the FILE, then use stdin.
Waits for another command after a successful download.
fwupdate checkStatus
- Check the status of the downloaded package (DualSys platform only)
fwupdate install
- Install the downloaded firmware.
Single System: Trigger reset to initiate install.
Dual System: Swap and reset to run the downloaded firmware or go back to the old system
if the running system is not marked good.
fwupdate markGood
- Mark good the current system (DualSys platform only)
fwupdate download FILE
- do download, install and markGood in one time
After a successful download, the modem will reset