Host Requirements
OS Version: Burn MAC & FW in Ubuntu 16.04
Required Tools
Broadcom NIC Driver (download from Broadcom website)
MAC/FW burn tool: bnxtmt-lite-227.0.115.0-x86_64.k406 ( get from Broadcom agency )
FW package / MAC burn bin file: BCM957416A4160C.pkg ( get from Broadcom website )
PCIe slots (speed) : Gen3.0 x4
If you want to upload log, it need install "crul" first.
Burn MAC first and then burn FW
If not, we would install other driver which might not make MAC burned smoothly
1. Steps to Burn MAC
Step 1 : Compile 'bnxtmt-lite' (Broadcom production tool)
Step 2 : Unload the 'bnxt_en' driver if it's installed
Step 3 : Erase the flash for MAC burn
Step 4 : Flash the NVRAM image and burn MAC
For the MAC address, we can modify sample.mac and sample.mpf to change MAC address
After checking the MAC address, we can run below command to burn MAC.
Show the success of burning MAC procedure We will burn MAC with the upper one first and then burn the lower one.
2. Steps to Burn FW
Step 1 : Install Niccli ( Broadcom NIC command line tool)
Step 3 : Do the cold boot (unplug the power cable and plug in)
Step 4 : Check the MAC and FW are installed well
After checking the MAC and FW are installed well, we have finished burning MAC and FW
you can check NIC info by niccli tool (MAC address and FW) 3. Loopback Test
Physically connection: we need to connect between two ports of the controller with a compliant UTP cable. ( if not, we should get a fail test result )
one port connect to the other to do the loopback test Type the command to do the external loopback test (socket-based)
Q: Can we burn the MAC multiple times?
A: No, we only could burn MAC once. If the MAC address is wrong, we should re-flash the flash on the board and re-do the MAC burn process.
Q: Can we burn the FW multiple times?
A: Yes, we could burn/update the FW several times with the above FW update procedure.
( Please add command "-rescue -force" for the first time when you burn FW. )