全部博文(51)
分类: LINUX
2020-01-12 17:16:53
BCM958802A8048C 2-port 25Gb 8GB DDR4 SmartNIC
1.Install bnxt_en.ko
$ modprobe vxlan |
---|
2.Bring up PF8(the first PF on the host) and assign an IP address 192.168.1.20
$ ifconfig enp8s0f0 192.168.1.20 |
---|
Now the host can SSH to the PS225 default IP address: 192.168.1.10 to access the Linux shell on SOC.
$ ssh |
---|
git clone . && git checkout bcm/stable && cd bnxt_en/main/Cumulus/drivers/linux/v3 && make && insmod bnxt_en.ko |
---|
The PS225 cards come out of manufacturing with a default 8 + 8PF configuration. The default configurations do not support SR-IOV or pairing models. It`s necessary to enable SR-IOV by upgrading PS225 software and Nitro Configurations(Refer to: "5880X-PS225-UG1xx" Appendix C ).
1.Install following packages.
$ sudo apt-get install xinetd tftpd tftp |
---|
2.Create /etc/xinetd.d/tftp and put this entry
service tftp |
---|
3. Create a folder /tftpboot this should match whatever you gave in server_args. mostly it will be tftpboot
$ sudo mkdir /tftpboot |
---|
4.Restart the xinetd service.
$ sudo /etc/init.d/xinetd stop |
---|
Download binaries according to the corresponding hardware model, such as:
/
Notes:
Stingray binaries manage by Git LFS, Please refer to for setting up Git LFS.
1.From the host SSH to SOC
$ ssh |
---|
2.Copy binary tarball to /tftpboot and uncompress
3.Run the update script
update-me.sh -s 192.168.1.20 -d /tftpboot -i all -t tftp |
---|
4. Reboot PS225
The reboot must be applied on the SOC, I think it's best to restart host as well.
34 Nitro configurations are provided by Broadcom.
root@ ls ./nitro/extra_cfgs/ |
---|
You must read "Appendix C" in "5880X-PS225-UG1xx" carefully to choose what you want.
To load the .pkg with following commands:
update-me.sh -s 192.168.1.20 -d /tftpboot -t tftp -i nitro -c bcm958802a8048_2xAN_8+4_pf_rep |
---|
Reboot PS225: The reboot must be applied on the SOC, I think it's best to restart host as well.