# mstflint -d 41:00.0 brom example.mrom
Current ROM info on flash: N/A
New ROM info: type=PXE version=3.5.305 cpu=AMD64
Burning ROM image - OK
Restoring signature - OK
#
To read an expansion ROM image to a file, run the following command:
# mstflint -d <mst device> rrom <image name>.rom
Example:
# mstflint -d 41:00.0 rromexample.mrom
# mstflint -d 41:00.0 q
Image type: FS2
FW Version: 2.42.5000
FW Release Date: 4.5.2017
Rom Info: type=PXE version=3.5.305 cpu=AMD64
Device ID: 4099
Description: Node Port1 Port2 Sys image
GUIDs: f45214030001b8a0 f45214030001b8a1 f45214030001b8a2 f45214030001b8a3
MACs: f4521401b8a1 f4521401b8a2
VSD:
PSID: MT_1090120019
#
To remove the expansion ROM, run the following command:
# mstflint -d <mst device> drom
Examples:
# mstflint -d 41:00.0 drom
Removing ROM image - OK
Restoring signature - OK
mstflint: Performing Checksum Calculation on
Image/Device
The flint utility allows performing an MD5 checksum on the non-persistent sections of thefirmware
image. For example: the sections that are changed when performing a firmwareupgrade.
To perform a checksum on the flash, run the following command line:# mstflint -d <mst device>
checksumTo perform a checksum on a firmware image, run the following command line:
# mstflint -i <image file> checksumwhere:
device Flash device to verify.
image file Image file to verify.
Examples:mstflint -i fw-ConnectX4Lx.bin checksum -I- Calculating Checksum ... Checksum:
68ddae6bfe42f87f09084f3f468a35c6
mstflint -d 41:00.0
-I- Calculating Checksum ...
Checksum: 68ddae6bfe42f87f09084f3f468a35c6
mstflint: Querying the Firmware Image
To query the FW image on a device, use the following command line:
# mstflint -d <device> q
To query the FW image in a file, use the following command line:
# mstflint -i <image file> q
where: