Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Raspberry PI4 NIC problem



Hi, works fine!
Thank you!

2020年5月26日(火) 4:51 Jared McNeill <jmcneill%invisible.ca@localhost>:
>
> Hi! I just committed some changes to genet and brgphy that should help.
> Can you cvs up and try again?
>
> On Mon, 25 May 2020, Shin'ichiro TAYA wrote:
>
> > I have RPI4 running NetBSD-current/evbarm64 (9.99.60).
> > But NIC(genet) doesn't work.
> >
> > I thoroughly compare the source code & dmesg between raspbian & NetBSD.
> > I found phy-mode is "rgmii" for raspbian but "ramie-rxid" for NetBSD.
> >
> > See
> > https://github.com/raspberrypi/linux/blob/rpi-4.19.y/arch/arm/boot/dts/bcm2838.dtsi
> > or fdtdump bcm2711-rpi-4-b.dtb of raspbian.
> >
> > This means  bit 16 of GENET_EXT_RGMII_OOB_CTRL is set to 1.
> > I modified genet_update_link() and set
> > GENET_EXT_RGMII_OOB_ID_MODE_DISABLE to GENET_EXT_RGMII_OOB_CTRL and it
> > works fine.
> > Also I rewrite phy-mode in bcm2711-rpi-4-b.dts and ti works fine.
> >
> > Am I missing something?
> >
> >


Home | Main Index | Thread Index | Old Index