Steps to flash Mellanox ConnectX-6 4127

Linux
	1. If you have 3rd party LAN controller, please remove to prevent flashing on wrong target.

	2. Install MFT tool:

		Download website (URL may change over time) https://network.nvidia.com/products/adapter-software/firmware-tools/ 

		a. For ARM64 RPM based - Please download mft-4.23.0-104-arm64-rpm.tgz - If DEB based please download accordingly.
			- Untar the .tgz package, i.e. execute "tar xvzf mft-4.23.0-104-arm64-rpm.tgz".
			- Go to the mft-4.23.0-104-arm64-rpm package, execute "./install.sh --oem".

		b. For x64 RPM based - Please download mft-4.23.0-104-x86_64-rpm.tgz - If DEB based please download accordingly.
			- Untar the .tgz package, i.e. execute "tar xvzf mft-4.23.0-104-x86_64-rpm.tgz".
			- Go to the mft-4.23.0-104-x86_64-rpm package, execute "./install.sh --oem".

	3. If FWUpdate.sh, Verify.sh, and VPDMLX_16B are not executable please set them to executeable "chmod a+x FWUpdate.sh Verify.sh VPDMLX_16B".
	
	4. Execute "./FWUpdate.sh" to flash firmware.
	
	5. Reboot system for new firmware to take effect. 

	6. If need to check firmware version, execute "./Verify.sh".

ESXi
	1. If you have 3rd party LAN controller, please remove to prevent flashing on wrong target.
	2. Download and install Vmware ESX MFT tool from the Mellanox Management Tools webpage (URL may change over time): 
		https://network.nvidia.com/products/adapter-software/firmware-tools/
		- Select Vmware ESX Server 
		- Select version
		- Select architecture 
		- Select and download both NMST and MFT packages
	3. Install the vib package (if need to include --no-sig-check option to bypass certificate error):
   		Example:
			esxcli software vib install -v mft-4.14.0.105-10EM-650.0.0.4598673.x86_64.vib
			esxcli software vib install -v nmst-4.14.0.105-1OEM.650.0.0.4598673.x86_64.vib
	4. Due to MFT tool not having --oem option for Vmware, VPD cannot update correct firmware version after update (show old version).
	5. Reboot system. 
	6. If FWUpdate_ESXi.sh and Verify_ESXi.sh are not executable please set them to executeable "chmod a+x FWUpdate_ESXi.sh Verify_ESXi.sh".
	7. Execute "./FWUpdate_ESXi.sh" to flash firmware.
	8. Reboot system for new firmware to take effect. 
	9. If need to check new firmware version, execute "./Verify_ESXi.sh".