Platform: Intel Newport (Accton AS9516-32D), Tofino2, Ubuntu 20.04, kernel 5.4.0-128
Problem: After installing bf-sde-9.7.0 with newport+asic+tofino2 profile, switchd fails with:
BF_PLTFM ERROR - Error in opening /dev/bf_fpga_0
BF_PLTFM ERROR - Error in fpga initialization
BF_PLTFM ERROR - pltfm_mgr: platform init failed
Root cause found: lspci | grep 1d1c returns nothing — both the FPGA (0x1d1c:0x01F0) and Tofino2 ASIC are not visible on the PCIe bus. The bf_fpga kernel module loads successfully but creates no /dev/bf_fpga_0 because it finds no FPGA on PCIe.
What works:
- BMC is reachable via CDC ethernet (
enx020000000002) - EEPROM data from BMC reads successfully (board identified as Newport)
- All kernel modules load:
bf_kdrv,bf_fpga,cdc_ether - P4 program compiles successfully
Question: What initializes the FPGA and Tofino2 PCIe on Newport platform? Is there a specific startup sequence or script needed before running switchd?