[OpenWrt-Devel] MV88E6060 switch

Nerijus Baliūnas nerijus at users.sourceforge.net
Wed Jul 19 06:00:43 EDT 2017


2017-07-19 04:02, Sergey Ryazanov rašė:
> 
>> Linksys WRT300N v2.0 has Marvell 88e6060 switch. But ixp4xx arch does not 
>> have
>> its driver enabled (ar71xx has it). I added CONFIG_NET_DSA_MV88E6060=m,
>> but when I modprobe mv88e6060.ko, nothing happens. It seems driver does not 
>> hook
>> on any hardware:
> 
> This happened because this driver is quite useless on their own. It
> requires some assistance to properly detects switch IC either from
> arch code via platform device data or via DTS.
> 
> Try to use OpenWRT/LEDE specific driver, which is used by ath25 and
> ar7 platforms by enabling CONFIG_MVSWITCH_PHY option in the kernel.

I enabled CONFIG_MVSWITCH_PHY=y. But still no ethernet. When booting:

[    1.049060] libphy: IXP4xx MII Bus: probed
[    1.056182] eth0: MII PHY 32 on NPE-B
[    1.062966] eth1: MII PHY 1 on NPE-C

[   43.178831] NPE-B: firmware functionality 0x2, revision 0x2:1
[   43.209983] device eth0 entered promiscuous mode
[   43.222249] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready

While on a working system as I found in Chinese forum ir should probably be:
eth0: MII PHY 16 on NPE-B
eth0: MII PHY 17 on NPE-B
eth0: MII PHY 18 on NPE-B
eth0: MII PHY 19 on NPE-B
eth1: MII PHY 1 on NPE-C

NPE-B: firmware functionality 0x2, revision 0x2:1
eth0: link down
device eth0 entered promiscuous mode
firmware: requesting NPE-C
NPE-C: firmware functionality 0x5, revision 0x2:1

No received/sent packets on br-lan and eth0 before and after modprobe 
mv88e6060.ko.

Thanks,
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