Re: [PATCH 0/5] mediatek: Add support for Buffalo WSR-2533DHP2

2021-03-10 Thread INAGAKI Hiroshi
Hi Hauke, On 2021/03/10 8:52, Hauke Mehrtens wrote: These patches are adding support for different TRX magics and later support for the Buffalo WSR-2533DHP2. This was developed mostly by INAGAKI Hiroshi and I did some fixes and cleaned the patches up in the last days. I added the two patches al

Re: iproute2 fails to build setting LIBBPF_DYNAMIC unless LIBBPF_DIR is defined.

2021-03-10 Thread Neil Kettle
Tony - thanks for that, performed dirclean and still failing, but again, a few strange errors fixed with make iproute2/clean and rebuild. However, the same old problem still exists in the build of both images I routinely build (nanopi r2s/zeropi). The root cause is the compilation of both bpf_li

[PATCH] realtek: drop ethtool log noise

2021-03-10 Thread Bjørn Mork
phylink_mac_link_state calls can be triggered by userspace, and might happen rather often in some settings like when running snmp daemons. Signed-off-by: Bjørn Mork --- One more patch I forgot I've been using. This log line is pretty annoying in combination with mini_snmpd with ethtool support (

Re: [PATCH 1/6] realtek: fix link-state interrupt

2021-03-10 Thread Birger Koblitz
Indeed, this fixes a stupid typo that prevents the IRQ to be correctly configured. Please apply. Birger On 09/03/2021 22:12, Bjørn Mork wrote: This bug was the root cause for the failing sfp driver. Signed-off-by: Bjørn Mork --- .../realtek/files-5.4/drivers/net/dsa/rtl83xx/common.c |

Re: [PATCH 2/6] realtek: re-enable sfp driver for ZyXEL GS1900-10HP

2021-03-10 Thread Birger Koblitz
ACK. Please apply. Birger On 09/03/2021 22:12, Bjørn Mork wrote: There is no need to define a static link or a phy for the sfp ports. Using phy-mode and managed properties to describe the link to the sfp phy. We have to keep the now unconnected virtual "phys" because the switch driver uses

Re: [PATCH] rtl83xx-poe: add package

2021-03-10 Thread Birger Koblitz
Run tested by me on a DGS1210-10P. Please merge,   Birger On 09/03/2021 22:18, Bjørn Mork wrote: From: John Crispin Signed-off-by: John Crispin Signed-off-by: Bjørn Mork --- This is John's simple PoE daemon for the realtek devices, which has been cycling around in assorted repos since last y

Re: [PATCH 3/6] realtek: need to handle PHY_INTERFACE_MODE_NA for sfps

2021-03-10 Thread Birger Koblitz
Tested and it indeed fixes the problem that SFPs report this mode when configures their serdes. Please apply,  Birger On 09/03/2021 22:12, Bjørn Mork wrote: Signed-off-by: Bjørn Mork --- target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/dsa.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH 6/6] realtek: enable SerDes NWAY and SGMII negotiation

2021-03-10 Thread Birger Koblitz
ACK, please merge,   Birger On 09/03/2021 22:12, Bjørn Mork wrote: This allows copper SFPs to negotiate speeds lower than 1gig. Signed-off-by: Bjørn Mork --- .../drivers/net/dsa/rtl83xx/common.c | 4 +- .../files-5.4/drivers/net/dsa/rtl83xx/dsa.c | 41 ++- 2 fil

Re: [PATCH 4/6] realtek: enable HWMON for SFP sensors

2021-03-10 Thread Birger Koblitz
Tested and is necessary to e.g. read out temperatures from an SFP module. Please merge,   Birger On 09/03/2021 22:12, Bjørn Mork wrote: Signed-off-by: Bjørn Mork --- target/linux/realtek/config-5.4 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/realtek/config-5.4 b/target/l

[PATCH 0/3] realtek: various fixes

2021-03-10 Thread Stijn Segers
This patch set fixes a few loose ends on the Realtek target. Please backport these to 21.02 as well if we decide to keep it around for the 21.02 release. Stijn Segers (3): realtek: add lua-rs232 to GS1900-10HP profile realtek: add lua-rs232 to GS110TPP v1 profile realtek: correct PoE power b

[PATCH 2/3] realtek: add lua-rs232 to GS110TPP v1 profile

2021-03-10 Thread Stijn Segers
The GS110TPP v1 has 8 PoE+ ports so it needs the lua-rs232 package for PoE manipulation. Signed-off-by: Stijn Segers --- target/linux/realtek/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index fdc776

[PATCH 1/3] realtek: add lua-rs232 to GS1900-10HP profile

2021-03-10 Thread Stijn Segers
Somehow all the other supported ZyXEL switches have the lua-rs232 package defined as an extra package, needed for PoE manipulation, but the GS1900-10HP does not. Rectify this. Signed-off-by: Stijn Segers --- target/linux/realtek/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH 3/3] realtek: correct PoE power budget for GS110TPP v1

2021-03-10 Thread Stijn Segers
According to multiple sources (Netgear web page [1], Wikidevi [2] and Biot's wiki [3] this switch has a 120W PoE power budget, not a 130W one. [1] https://www.netgear.com/business/wired/switches/smart-cloud/gs110tpp/ [2] https://wikidevi.wi-cat.ru/Netgear_GS110TPP [3] https://biot.com/switches/gs1

Re: [PATCH 0/5] mediatek: Add support for Buffalo WSR-2533DHP2

2021-03-10 Thread Hauke Mehrtens
On 3/10/21 10:03 AM, INAGAKI Hiroshi wrote: Hi Hauke, On 2021/03/10 8:52, Hauke Mehrtens wrote: These patches are adding support for different TRX magics and later support for the Buffalo WSR-2533DHP2. This was developed mostly by INAGAKI Hiroshi and I did some fixes and cleaned the patches up

Dsa multi-cpu port problem

2021-03-10 Thread Ansuel Smith
I'm working on the conversion of ipq806x to dsa. It's been 2 years and still dsa doesn't support multi-cpu port. Online there are many patches that add support for this but they were never accepted upstream since there isn't a solution that would work for all the switches. Fact is that openwrt is d

Re: Dsa multi-cpu port problem

2021-03-10 Thread Rosen Penev
On Wed, Mar 10, 2021 at 4:19 PM Ansuel Smith wrote: > > I'm working on the conversion of ipq806x to dsa. > It's been 2 years and still dsa doesn't support multi-cpu port. > Online there are many patches that add support for this but they were > never accepted upstream since there isn't a solution

Re: Dsa multi-cpu port problem

2021-03-10 Thread Ansuel Smith
> > On Wed, Mar 10, 2021 at 4:19 PM Ansuel Smith wrote: > > > > I'm working on the conversion of ipq806x to dsa. > > It's been 2 years and still dsa doesn't support multi-cpu port. > > Online there are many patches that add support for this but they were > > never accepted upstream since there isn

Re: Dsa multi-cpu port problem

2021-03-10 Thread Rosen Penev
On Wed, Mar 10, 2021 at 4:56 PM Ansuel Smith wrote: > > > > > On Wed, Mar 10, 2021 at 4:19 PM Ansuel Smith wrote: > > > > > > I'm working on the conversion of ipq806x to dsa. > > > It's been 2 years and still dsa doesn't support multi-cpu port. > > > Online there are many patches that add support

Re: [PATCH 1/3] realtek: add lua-rs232 to GS1900-10HP profile

2021-03-10 Thread Bjørn Mork
Stijn Segers writes: > Somehow all the other supported ZyXEL switches have the lua-rs232 package > defined as an extra package, needed for PoE manipulation, but the > GS1900-10HP does not. Rectify this. > > Signed-off-by: Stijn Segers > --- > target/linux/realtek/image/Makefile | 1 + > 1 file