User Manual
spark - InfiniScale® III Firmware Burning ToolRev 1.50
Mellanox Technologies
46
2. Enter an mstdump command that complies with the following command syntax:
where the -full flag dumps all internal registers.
Example:
This dumps the internal configuration data of the device into the file mt25408.dmp.
C.3 mlxi2c Utility
The mlxi2c utility provides access, via the I2C MST device, to Mellanox 4th generation switch
and bridge (BridgeX) devices.
C.3.1 Operation
The MST driver must be started prior to running mlxi2c. To start mlxi2c:
1. Start the MST driver (mst start
1
or mst restart).
2. Run mlxi2c with the following command line syntax:
[switches...] summary:
-d <device> - MST i2c device name default: "/dev/mst/mtusb-1".
Affected commands: all
-s <system> - System type default: Auto Detection.
Supported systems: MTS3600, FJ_SWITCH, BX4020, BRIDGEX_EVB,
BX4010, MTS3610, MTPDK24, IS5025, IS5030, IS5035.
Affected commands: all
-m - Subsystem module name.
Affected commands: show
-h - Print this help information.
-v - Print version and exit.
<command> summary:
q <i2c_component> - Query an i2c component. Supported components: Adm1024, LM075,
PCA9555, PCA9505, ISMIC, PCF8591.
p <i2c_component> - Route the i2c path to the indicated i2c component.
init_gpio <gpio_name> - Configure the GPIO pins.
mstdump [-full] <mst device> > <dump file>
On BridgeX devices, using the -full flag may have undesired side-effects and require
resetting the device.
[root@mymach]# mstdump /dev/mst/mt25408_pci_cr0 > mt25408.dmp
mlxi2c [switches...] <command> [parameters...]