[sdwalker/sdwalker.github.io] bbd629: This week's update

2022-02-06 Thread Stephen Walker via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.--- Begin Message ---
  Branch: refs/heads/master
  Home:   https://github.com/sdwalker/sdwalker.github.io
  Commit: bbd629a1466afcbc178a9379da2a5abdb739876e
  
https://github.com/sdwalker/sdwalker.github.io/commit/bbd629a1466afcbc178a9379da2a5abdb739876e
  Author: Stephen Walker 
  Date:   2022-02-06 (Sun, 06 Feb 2022)

  Changed paths:
M uscan/index-19.07.html
M uscan/index-21.02.html
M uscan/index.html

  Log Message:
  ---
  This week's update



--- End Message ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [PATCH v2 1/2] kernel: backport MediaTek Ethernet PHY driver

2022-02-06 Thread Hauke Mehrtens

On 2/6/22 06:45, DENG Qingfang wrote:

Add support for MediaTek Gigabit Ethernet PHYs found in MT7530.
Fix some link instability issues.

Signed-off-by: DENG Qingfang 
---
v2: removed interface mode check, should work for MT7531.

  ...MediaTek-Gigabit-Ethernet-PHY-driver.patch | 159 ++
  target/linux/generic/config-5.10  |   1 +
  target/linux/mediatek/mt7622/config-5.10  |   1 +
  target/linux/mediatek/mt7623/config-5.10  |   1 +
  target/linux/ramips/mt7621/config-5.10|   1 +
  5 files changed, 163 insertions(+)
  create mode 100644 
target/linux/generic/backport-5.10/771-v5.14-net-phy-add-MediaTek-Gigabit-Ethernet-PHY-driver.patch


.

++static int mt7531_phy_config_init(struct phy_device *phydev)
++{
++  mtk_gephy_config_init(phydev);



I would prefer if you keep the original patch here and add an additional 
patch fixing this problem. Patches in the backport-5.10 folder should 
closely match what is in the upstream kernel. The fix will be a separate 
commit in upstream Linux.


Hauke

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [PATCH] ramips: support TP-Link EAP615-Wall

2022-02-06 Thread Sander Vanheule
On Fri, 2022-02-04 at 20:05 +0200, Stijn Tintel wrote:
> > > diff --git a/target/linux/ramips/image/mt7621.mk
> > > b/target/linux/ramips/image/mt7621.mk
> > > index a461c57f15..617c8adc37 100644
> > > --- a/target/linux/ramips/image/mt7621.mk
> > > +++ b/target/linux/ramips/image/mt7621.mk
> > > @@ -1461,6 +1461,18 @@ define Device/tplink_eap235-wall-v1
> > >  endef
> > >  TARGET_DEVICES += tplink_eap235-wall-v1
> > >  
> > > +define Device/tplink_eap615-wall-v1
> > > +  $(Device/tplink-safeloader)
> > Missing $(Device/dsa-migration).
> This is a new device, so there isn't anything to migrate. This sounds weird?
> 

The same was needed for the EAP235-Wall, even though that device also only ever 
used DSA.
See
https://patchwork.ozlabs.org/project/openwrt/patch/20210214100322.246853-1-san...@svanheule.net/#2633386

Best,
Sander

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


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

2022-02-06 Thread Kristian Evensen
Hi,

On Sun, Feb 6, 2022 at 9:52 AM Arınç ÜNAL  wrote:
>
> On 06/02/2022 00:15, Arınç ÜNAL wrote:
> > On 05/02/2022 21:23, Hauke Mehrtens wrote:
> >> On 2/5/22 19:21, Rosen Penev wrote:
> >>> On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens  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:
> >
> > There was nothing wrong with that commit to revert it. But you could've
> > reverted the series as a whole since, technically, this patch series
> > broke the process so I guess it's better than nothing.
> >
> > I wonder if the PHY driver even works at its current state on upstream
> > for mt7531 or, more specifically, the built-in mt7531 on the MT7622X chips.
>
> Correction:
> MT7622X chips do not have a built-in mt7531 switch, there's a Fast
> Ethernet switch which is different.

When I applied the patches, I experienced the same issue as Hauke on a
custom mt7622 board (but with same switch setup). My "fix" was to add
the following to the mt7622 kernel-config to disable the PHY driver (I
have never experienced any of the issues reported on mt7621 without
the PHY driver):

# CONFIG_MEDIATEK_GE_PHY is not set

Otherwise, the patches included in this series turned out to be the
missing pieces of my performance analysis puzzle. My ISP gives a
non-standard (< 1500) MTU, so without the possibility to change MTU I
experienced fragmentation, etc.

Kristian

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


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

2022-02-06 Thread Arınç ÜNAL

On 06/02/2022 00:15, Arınç ÜNAL wrote:

On 05/02/2022 21:23, Hauke Mehrtens wrote:

On 2/5/22 19:21, Rosen Penev wrote:

On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens  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:


There was nothing wrong with that commit to revert it. But you could've 
reverted the series as a whole since, technically, this patch series 
broke the process so I guess it's better than nothing.


I wonder if the PHY driver even works at its current state on upstream 
for mt7531 or, more specifically, the built-in mt7531 on the MT7622X chips.


Correction:
MT7622X chips do not have a built-in mt7531 switch, there's a Fast 
Ethernet switch which is different.


Arınç

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


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

2022-02-06 Thread Arınç ÜNAL



On 06/02/2022 00:15, Arınç ÜNAL wrote:

On 05/02/2022 21:30, Rosen Penev wrote:

On Sat, Feb 5, 2022 at 10:23 AM Hauke Mehrtens  wrote:


On 2/5/22 19:21, Rosen Penev wrote:
On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens  
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
[    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.
I think the PHY driver was written for mt7530. The e8450 uses mt7531 
AFAIK.


No, the Mediatek GE PHY driver supports both mt7530 and mt7531 switch 
PHYs. Linksys E8450 has an MT7622B chip which seems to have a built-in 
MT7531 switch.


Correction:
MT7622X chips do not have a built-in mt7531 switch, there's a Fast 
Ethernet switch which is different. Linksys put an external mt7531 chip 
on the board for their E8450.


Arınç

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel