Skip to content

Instantly share code, notes, and snippets.

@misodengaku
Last active May 14, 2017 15:48
Show Gist options
  • Save misodengaku/7fb61aa6e1234b75b40bab073cc64832 to your computer and use it in GitHub Desktop.
Save misodengaku/7fb61aa6e1234b75b40bab073cc64832 to your computer and use it in GitHub Desktop.
connectx2 firmware update on gentoo
cd /usr/src
wget http://content.mellanox.com/ofed/MLNX_OFED-4.0-2.0.2.0/MLNX_OFED_LINUX-4.0-2.0.2.0-ubuntu17.04-x86_64.tgz
tar xzf MLNX_OFED_LINUX-4.0-2.0.2.0-ubuntu17.04-x86_64.tgz
cd MLNX_OFED_LINUX-4.0-2.0.2.0-ubuntu17.04-x86_64
cd src
tar xzf MLNX_OFED_SRC-4.0-2.0.2.0.tgz
cd MLNX_OFED_SRC-4.0-2.0.2.0
cd SOURCES
tar xzf kernel-mft_4.6.0.orig.tar.gz
cd kernel-mft-4.6.0
make
cd /usr/src/MLNX_OFED_LINUX-4.0-2.0.2.0-ubuntu17.04-x86_64/src/MLNX_OFED_SRC-4.0-2.0.2.0/SOURCES/kernel-mft-4.6.0
insmod mst_pci.ko
insmod mst_pciconf.ko
lsmod
mst status
mst start
mst status -v
flint -d /dev/mst/mt26448_pci_cr0 -i fw-ConnectX2-rel-2_9_1200-MNPA19_A1-A3-FlexBoot-3.3.400.bin burn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment