bb - Burn Block - Burns the given image as is.No checks are done.
example crossflash cx3 to cx3pro (bricks card):
flint -d /dev/mst/mt4099_pci_cr0 -i 3xpro.bin bb
-nofs - when specified, the burn process will not be failsafe. A non-failsafe burn is
required (on the rare occasion) when a new firmware version has modifications in
the Invariant Sector
#example burn new image to empty card
#wipes out guid and mac if i remember right
#backup those first with:
flint -d /dev/mst/mt4099_pci_cr0 query full
#then
flint -d /dev/mst/mt4099_pci_cr0 -i fw-4099-2_31_5050-MCX354A-FCB_A2.bin -nofs -guid 12345678 -mac 0002c9002100 burn
{ PCI_DEVICE(MST_MELLANOX_PCI_VENDOR, 0x0213) }, /* MT2892 Family [ConnectX-6 Dx Secure Flash Recovery] */
secure flash recovery still requires a signed image matching the existing psidJust a hint from the mstflint source code
mstflint/kernel/mst_main.c at 346d949ed26d039030282c3b59951cd231ad0adf · Mellanox/mstflint
Mstflint - an open source version of MFT (Mellanox Firmware Tools) - Mellanox/mstflintgithub.com
{ PCI_DEVICE(MST_MELLANOX_PCI_VENDOR, 0x0213) }, /* MT2892 Family [ConnectX-6 Dx Secure Flash Recovery] */
Simply short the jumper puts the device into non-secure flash recovery.
Then the question becomes, how to enter secure flash recovery.
Also, this looks promising, but I am too lazy to deal with burning all the macs and guids:
Hey, can you tell me how it was achieved? I am very interested in this, and I want to use to convert my CX6 NIC. What commands are needed to use MTUSB-1 to refresh the firmware and how to back up the original firmware?glad to hear. I used both windows and centos for the mtusb-1 approach. both seemed to flash without issue (other than taking a lot longer than the pci route!)