2.
# mstflint -d <device> --linkx --downstream_device_id_start_index <port_number> --num_of_downstream_devices
1 --download_transfer -i <image> b
Activate the firmware.
# mstflint -d <device> --linkx --downstream_device_id_start_index <port_number> --num_of_downstream_devices
1 --activate b
Example of Download Transfer with Activation, range is 1 to 2:
# mstflint -d /dev/mst/mt4123_pciconf0 --linkx --downstream_device_id_start_index 1 --
num_of_downstream_devices 2 download_transfer --activate -i image.bin b
This will update 2 AOCs/Transceivers starting from port 1, i.e. all ports in the range 1…2.
Example of successful update of 1 AOC:
-I- Downloading FW ...
FSMST_INITIALIZE - OK
Writing COMPID_LINKX component - OK
FSMST_LOCKED - OK
FSMST_DOWNSTREAM_DEVICE_TRANSFER - OK
FSMST_LOCKED - OK
Please wait while activating the transceiver(s) FW ...
FSMST_ACTIVATE - OK..]
-I- Cable burn finished successfully.
Querying Firmware Information from an AOC / Transceiver
Querying a firmware cable transceiver connected to the host is done using the "flint" tool. To do
so,the user should use the "–linkx" flag.
# mstflint -d <device> --linkx --downstream_device_ids <ids> [--output_file <file_name>] q
Query ports 1,2,5 Example:
#mstflint-d<device>--linkx--downstream_device_ids1,2 q
The system responds with information about the firmware version loaded into the transceivers.
Checking successful burning and operation - Example:
It is essential to check that the links come up AFTER the cable FW is updated and reactivated. This
can be done as follows:
# for i in {1..2}; do echo $i; mstlink -d /dev/mst/mt4123_pciconf0 -p $i -m | grep 'Part\|FW\|State'; done
The ‘State’ parameter was added to the query. The response has the following format (example):
# 1
State : Active
Vendor Part Number : MFS1S00-H010
FW Version : 38.100.59
You cannot ‘overburn’ the same firmware version into a transceiver/AOC as the one
already installed. This is to prevent wasting time re-burning transceivers in a large
cluster.
Downloading and burning takes approx. 1½ minute + activation ½ minute for one
cable.