How to switch pcie/ocp Nics for ncsi

Lei YU mine260309 at gmail.com
Thu Aug 1 12:19:00 AEST 2019


I would like to bring this up again.

Could someone who worked on Zaius share how it configures NCSI source via
GPIOs?

John Wang is going to implement this feature. If Zaius has an existing
solution, it would save a lot of effort!

Thanks!

On Wed, Jul 24, 2019 at 1:24 PM Lei YU <mine260309 at gmail.com> wrote:
>
> Zaius has a similar design that it uses two GPIOs to select from 3 NCSI sources.
> But I do not see related code from meta-zaius.
>
> @Patrick Venture is it possible to share what you have done on Zaius machine
> about how to configure the GPIOs to select the NCSI source?
>
> Thanks!
>
>
> On Wed, Jul 24, 2019 at 11:44 AM John Wang <wangzhiqiang8906 at gmail.com> wrote:
> >
> > HI,all
> >
> > FP5280G2 BMC MAC0 is for NCSI, and there is a
> > separated GPIO to select the NCSI to connect to PCIe or OCP
> >
> >                                         -->PCIE
> > mac0-->mux(TS3L501)
> >                       ^                 -->OCP
> >                       |
> >                GPIOH7
> >
> > 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?
> >
> > Thanks.
> >
> > John


More information about the openbmc mailing list