[OpenWrt-Devel] ZyXEL NBG4615

Nerijus Baliunas nerijus at users.sourceforge.net
Sat Sep 19 16:48:05 EDT 2015


On Sat, 19 Sep 2015 12:11:06 +0200 John Crispin <blogic at openwrt.org> wrote:

> > it is similar to NBG-419N but has Atheros AR8316 4+1 GbE switch. I enabled
> > CONFIG_AR8216_PHY=y in target/linux/ramips/rt305x/config-3.18, rebuilt and
> > loaded openwrt-ramips-rt305x-nbg-419n-initramfs-uImage.bin to SDRAM via TFTP. 
> > 
> > Now /sys/bus/mdio_bus/drivers/Atheros AR8216!AR8236!AR8/ exists, but
> > # swconfig list
> > Found: switch0 - rt305x
> > 
> > How can I make switch work?
> > 
> > I found similar problem https://forum.openwrt.org/viewtopic.php?id=49276
> 
> rt305x has a rgmii that the switch connects to. however we dont have
> support in the driver for that rgmii port. you will need to first atch
> the driver to support the rgmii interface and then hook up the switch
> driver.

drivers/net/phy/ar8216.c already has
if (priv->phy->interface == PHY_INTERFACE_MODE_RGMII)
Is it something similar? How can I add support for rt305x rgmii?

Regards,
Nerijus
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list