User Manual

Rev 1.50
Mellanox Technologies
23
num_of_flashes: The number of the flashes connected to the device
-v - Print version information
3.2.2 Command Descriptions
The flint utility commands are:
Common FW Update and Query:
b[urn] - Burn flash
q[uery] [full] - Query misc. flash/firmware characteristics, use "full" to get more informa-
tion.
v[erify] - Verify entire flash
swreset - SW reset the target un-managed switch device. This command is sup-
ported only in the In-Band access method.
Expansion ROM Update:
brom <ROM-file> - Burn the specified ROM file on the flash.
drom - Remove the ROM section from the flash.
rrom <out-file> - Read the ROM section from the flash.
Initial Burn, Production:
bb - Burn Block - Burns the given image as is. No checks are done.
sg [nocrc] - Set GUIDs.
sv - Set the VSD.
Misc FW Image operations:
ri <out-file> - Read the fw image on the flash.
dc [out-file] - Dump Configuration: print fw configuration file for the given image.
dh [out-file] - Dump Hash: print hash file for the given image.
HW Access Key:
set_key [key] - Set/Update the HW access key which is used to enable/disable access to
HW. The key can be provided in the command line or interactively typed
after the command is given.
NOTE: The new key is activated only after the device is reset.
hw_access <enable|disable> [key] - Enable/disable the access to the HW. The key can be provided in the com-
mand line or interactively typed after the command is given
Low Level Flash Operations:
cfi - Query flash device parameters
e[rase] <addr> - Erase sector
rw <addr> - Read one dword from flash
ww <addr> < data> - Write one dword to flash
wwne <addr> - Write one dword to flash without sector erase
wbne <addr> <size> <data ...> - Write a data block to flash without sector erase
rb <addr> <size> [out-file] - Read a data block from flash
The following sections provide the command line syntax for the following flint utility commands,
together with examples of usage.