The flint utility enables you to burn the Flash from a binary image.To burn the entire Flash from a raw binary image, use the following command line:
# flint -d <device> -i <fw-file> [-guid <GUID> | -guids <4 GUIDS> | -mac <MAC> | -macs <2 MACs>] burn
device | Device on which the flash is burned. |
fw-file | Binary firmware file. |
GUID(s) | Optional, for InfiniBand adapters and 4th generation (Group I) switches. One or four GUIDs.
NOTE: For 4th generation (Group I), four GUIDs must be specified but Ports 1 and 2 GUIDs are ignored and should be set to 0. |
MAC(s) | Optional, for Ethernet and VPI adapters and switches.
NOTE: A MAC is a 12-digit hexadecimal number. If less than 12 digits are provided, leading zeros will be inserted. |
To burn a firmware image:
Update the firmware on the device, keeping the current GUIDs and VSD. (Note: This is the common way to use the tool.
# flint -d /dev/mst/mt4099_pci_cr0 -i fw-4099-2_42_5000-MCX354A-FCB_A2.bin burn
Update the firmware on the device, specifying the GUIDs to burn.
# flint -d /dev/mst/mt4099_pci_cr0 -i fw-4099-2_42_5000-MCX354A-FCB_A2.bin -guid 1234567deadbeef burn
Update the firmware on the device, specifying the MACs to burn.
# flint -d /dev/mst/mt4099_pci_cr0 -i fw-4099-2_42_5000-MCX354A-FCB_A2.bin -mac 1234567deadbeef burn
Burn the image on a blank Flash device. This means that no GUIDs are currently burnt on the device, therefore they must be supplied (with -guid/-guids) by the burning command. Moreover, the burn process cannot be failsafe when burning a blank Flash, therefore the -nofs flag must be specified.
burn# flint -d /dev/mst/mt4099_pci_cr0 -i fw-4099-2_42_5000-MCX354A-FCB_A2.bin -nofs -guid 12345678 burn
Read FW from the device and save it as an image file.
# flint -d /dev/mst/mt4099_pci_cr0 ri Flash_Image_Copy.bin
MT58100 SwitchX switch:
Burn the image on a blank Flash device. Meaning, no GUIDs/MACs are currently burnt on the device, therefore they must be supplied (with -guid/-guids and -mac/-macs) by the burning command. Moreover, the burn process cannot be failsafe when burning a blank Flash, therefore the -nofs flag must be specified.# flint -d /dev/mst/mtusb-1 -i /tmp/fw-sx.bin -nofs -guids 000002c900002100 0 0 000002c900002100 -macs 0002c9002100 0002c9002101 b
MT58100 SwitchX switch inband firmware update:
# flint -d lid-0x18 -i /tmp/fw-sx.bin b
Burning the MFA2 Images
Burning the MFA2 images enables the user to extract (i.e. unzip) 4MB images from MFA2 archive that matches the device type and device PSID. If there are more than one matching images, the user may use the --latest_fw
flag and burn the latest firmware, or choose the required image from the user menu.
The device flash MUST have all relevant device information (signatures, PSID, VPD, DEV_INFO, MFG_INFO, etc.) valid since MFA2 format does not have that information and without the burn process will fail.flint -d <device> -i <mfa2 file> --psid <PSID string> (optionally) --latest_fw (optionally) –silent (optionally) b (or burn)
- Burning the MFA2 Images when the Device Includes a Valid Image
In this scenario, the user may (optional) provide a“—psid”
flag and extract from the MFA2 archive the image that matches this flag, and this way actually change the PSID on the device. - Burning the MFA2 Images when in Live Fish Mode
In this scenario, the user must provide a“—psid”
flag and extract from the MFA2 archive the image that matches this flag, and this way actually change the PSID on the device.