Status of rt3050-esw driver

Daniel Golle daniel at makrotopia.org
Fri Dec 4 08:22:18 EST 2020


Hi Mauro,

when it comes to support in vanilla Linux, the closest it gets to is
the work of Stefan Roese from about 1 year ago:

https://github.com/stroese/linux/blob/gardena-v5.5/drivers/net/dsa/mt7628-esw.c

In OpenWrt we carry an out-of-tree legacy switch configuration layer
(swconfig) and that has mature support for the rt3050-esw incl. mt7628:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3050.c;h=292f11a1700e03862e35a772a64e4f56da818b59;hb=HEAD


I hope that helps a bit


On Fri, Dec 04, 2020 at 11:42:01AM +0100, Mauro Condarelli wrote:
> Hi,
> I am very confused about the current status of the driver of internal switch in Subject.
> My need is to statically initialize the ESW found in MT7628 SoC.
> 
> I have found several references (some rather old) to some work from John Crispin and other developers, but apparently this work did never found its way in the kernel (but socumentation is there in Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt !) because it doesn't seem to conform to kernel guidelines (using DSA infrastructure).
> 
> I have been using a derivative of this driver from Stefan Roese, but it "stopped working" some time ago.
> I actually use mostly WiFi and thus breakage, happening in some kernel upgrade, went completely unnoticed till recently.
> I am fighting to find out exactly where I broke things, but this spawned a search and I'm now wondering if there's a better (and more robust) way to enable MT7628 ESW.
> 
> Any hint and/or pointer to relevant documentation would be very welcome.
> 
> Thanks in Advance
> Mauro Condarelli
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek



More information about the Linux-mediatek mailing list