How to switch pcie/ocp Nics for ncsi
wangzhiqiang8906 at gmail.com
Tue Jul 23 18:22:50 AEST 2019
FP5280G2 BMC MAC0 is for NCSI, and there is a
separated GPIO to select the NCSI to connect to PCIe or OCP
I want to switch pcie/ocp NICs and preserve the state bewteen
BMC reboots and AC cycles.
My solutions is:
use gpio-hog, and dynamically modify the dts file in userspace.
But maybe it is a bad choice.
are there any good suggestions?
More information about the openbmc