Please try with “./switchtec fw-update <img_file>”. Below is the details usage of the command.
$ ./switchtec help fw-update
Usage: ./switchtec help./switchtec fw-update <device> <img_file> [OPTIONS]
Flash the firmware with a new image
Positional Arguments:
<device> --- switchtec device to operate on.
can be a device path
(/dev/switchtec0), an index (0,
1, 2) or a pci address (3:00.1)
<img_file> --- image file to use as the new
firmware
Environment Variables:
SWITCHTEC_DEV --- if set, the value will be used
for the <device> argument
Options:
[ --yes, -y ] --- assume yes when prompted
[ --dont-activate, -A ] --- don't activate the new image, use
fw-toggle to do so when it is
safe
[ --force, -f ] --- force interrupting an existing
fw-update command in case
firmware is stuck in the busy
state
[ --set-boot-rw, -W ] --- set the bootloader partition as
RW (only valid for BOOT images)