[PATCH 0/6] backport fixes and improvements for MT7530

DENG Qingfang dqfext at gmail.com
Sat Feb 5 10:34:23 PST 2022


On Sun, Feb 6, 2022 at 2:23 AM Hauke Mehrtens <hauke at hauke-m.de> wrote:
>
> On 2/5/22 19:21, Rosen Penev wrote:
> > On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens <hauke at hauke-m.de> wrote:
> >>
> >> On 2/3/22 13:06, DENG Qingfang wrote:
> >>> Hi,
> >>>
> >>> This series backports some patches from upstream to address the current
> >>> MT7530 DSA driver's problems.
> >>>
> >>> Thanks.
> >>>
> >>> DENG Qingfang (6):
> >>>     kernel: backport MediaTek jumbo frame support
> >>>     kernel: backport MT7530 ageing time support
> >>>     kernel: backport MT7530 VLAN fix
> >>>     kernel: backport MT7530 MDB operations
> >>>     kernel: backport MediaTek Ethernet PHY driver
> >>>     kernel: backport MT7530 IRQ support
> >>>
> >> Hi,
> >>
> >> The last two patches are breaking the Linksys e8450 (mt7622) for me.
> >>
> >> I am getting these errors:
> > Note the commentary in
> > https://github.com/openwrt/openwrt/commit/3f4301e123f29348b4ad87578d62b7d1f5f210c6
> >
> > The message in dmesg is harmless. It just says the functionality in
> > this patch needs dts bindings, which were only provided for ramips.
>
> The following error messages are a bigger problem:
> --------
> [    1.312943] mt7530 mdio-bus:00 lan1 (uninitialized): failed to
> connect to PHY: -EINVAL

Try removing the PHY_INTERFACE_MODE_INTERNAL check in mt7531_phy_config_init,
the only place that returns -EINVAL.

> [    1.320890] mt7530 mdio-bus:00 lan1 (uninitialized): error -22
> setting up PHY for tree 0, switch 0, port 0
> ---------
>
> The LAN ports are not registered and then LAN is not working at all.
>
> Hauke



More information about the openwrt-devel mailing list