Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Guilin.Wang
I agree with Jeff that we need to test in detail before switching to ath79. -- Original -- From: "Jeff"; Date: Thu, Apr 11, 2019 10:31 PM To: "Petr Štetiar"; "wellnw"; Cc: "openwrt-devel"; "Kevin 'ldir' Darbyshire-Bryant"; Subject: Re: [OpenWrt-Devel] [PA

[OpenWrt-Devel] [PATCH procd 1/4] instance: add support for customizable syslog facilities

2019-04-11 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- service/instance.c | 32 +++- service/instance.h | 1 + 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/service/instance.c b/service/instance.c index 3512f66..d37d872 100644 --- a/service/instance.c +++ b/service/inst

[OpenWrt-Devel] [PATCH (resend as series) procd/openwrt 0/4] procd enhancements

2019-04-11 Thread Michael Heimpold
This series bundles two little enhancements for procd and also adds the required passing-through to the procd shell script helper. (1) Allow to specify the syslog facility for stdour/stderr syslog redirection At the moment, the instance stdout/stderr output is always logged with daemon facility w

[OpenWrt-Devel] [PATCH openwrt 3/4] procd: allow passing optional syslog facility as instance parameter

2019-04-11 Thread Michael Heimpold
While at, also add stdout/stderr documentation. Signed-off-by: Michael Heimpold --- package/system/procd/files/procd.sh | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 72f25fe0c0..6115f0702f

[OpenWrt-Devel] [PATCH procd 2/4] service: allow setting a dedicated group id

2019-04-11 Thread Michael Heimpold
Sometimes is desirable to run a process with a specific group id instead of the default one which is derived from passwd entry. However, we still want to initialize supplementary group ids (including the default one), thus we have to store the specific one in a dedicated structure element. Signed

[OpenWrt-Devel] [PATCH openwrt 4/4] procd: allow passing optional group instance parameter

2019-04-11 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/system/procd/files/procd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 6115f0702f..b49b2b9d01 100644 --- a/package/system/procd/files/procd.sh

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Sami Olmari 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 --- On Thu, Apr 11, 2019 at 5:31 PM Je

[OpenWrt-Devel] [PATCH 3/4] ath79: allow to override AR8033 SGMII aneg status

2019-04-11 Thread David Bauer
In order to make the QCA955x SGMII workaround work, the unsuccessful SGMII autonegotiation on the AR8033 should not block the PHY state-machine. Otherwise, the ag71xx driver never becomes aware of the copper-side link-establishment and the workaround is never executed. Signed-off-by: David Bauer

[OpenWrt-Devel] [PATCH 2/4] ath79: add QCA955x SGMII link loss workaround

2019-04-11 Thread David Bauer
This commit adds a workaround for the loss of the SGMII link observed on the QCA955x generation of SoCs. The workaround originates part from the U-Boot source code, part from the implementation from AVM found in the GPL tarball for the AVM FRITZ!WLAN Repeater 450E. The bug results in a stuck SGMII

[OpenWrt-Devel] [PATCH 4/4] ath79: enable QCA955x SGMII workaround

2019-04-11 Thread David Bauer
Enable the QCA955x SGMII workaround for all devices which sport the AR8033 + QCA955x combination which is known to show the link-stuck symptoms. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi | 6 ++ target/linux/ath79/dts/qca9558_ocedo_ursus.dts

[OpenWrt-Devel] [PATCH 1/4] ath79: fix QCA955x GMAC register size

2019-04-11 Thread David Bauer
The register size of the QCA955x currently matches the size stated in the datasheet. However, there are more hidden GMAC registers which are needed for the SGMII workaround to work. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9557.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Jeff
On 4/11/19 5:56 AM, Petr Štetiar wrote: Guilin.Wang [2019-04-11 17:18:12]: Hi, I want to submit it to ar71xx first, and I will submit it to ath79 later. tl;dr version: please don't waste your (and our time) with ar71xx anymore. BTW it was ath79 first and ar71xx possibly later, but this per

Re: [OpenWrt-Devel] [PATCH/netifd] interface: fix "if-down" hotplug event handling

2019-04-11 Thread Hans Dedecker
Hi, On Thu, Apr 11, 2019 at 3:02 PM Martin Schiller wrote: > > commit a97297d83e42 ("interface: set interface in TEARDOWN state when > checking link state") > broke the if-down hotplug event handling, as the iface->state is now > IFS_TEARDOWN when > calling the mark_interface_down() function fr

[OpenWrt-Devel] [PATCH/netifd] interface: fix "if-down" hotplug event handling

2019-04-11 Thread Martin Schiller
commit a97297d83e42 ("interface: set interface in TEARDOWN state when checking link state") broke the if-down hotplug event handling, as the iface->state is now IFS_TEARDOWN when calling the mark_interface_down() function from the IFPEV_DOWN event. Fixes: a97297d83e42 ("interface: set interface

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Petr Štetiar
Guilin.Wang [2019-04-11 17:18:12]: Hi, > I want to submit it to ar71xx first, and I will submit it to ath79 later. tl;dr version: please don't waste your (and our time) with ar71xx anymore. BTW it was ath79 first and ar71xx possibly later, but this period is already over. At least for me ar71x

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Guilin.Wang
Thanks for your suggestion. Since the customer is waiting for urgent use, I want to submit it to ar71xx first, and I will submit it to ath79 later. -- Original -- From: "Kevin 'ldir' Darbyshire-Bryant"; Date: Thu, Apr 11, 2019 05:05 PM To: "wellnw"; Cc: "openw

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Kevin 'ldir' Darbyshire-Bryant
> On 11 Apr 2019, at 08:53, wellnw wrote: > > This patch adds supports for GL-X1200. > > Specification: > - SOC: QCA9563 (775MHz) > - Flash: 16 MiB (W25Q128FVSG) > - RAM: 128 MiB DDR2 > - Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN > - Wireless: QCA9563(2.4GHz) and QCA

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread Alberto Bursi
On 11/04/19 09:53, wellnw wrote: This patch adds supports for GL-X1200. Specification: - SOC: QCA9563 (775MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN - Wireless: QCA9563(2.4GHz) and QCA9886(5GHz)

[OpenWrt-Devel] [PATCH] ar71xx: add support for GL.iNet GL-X1200

2019-04-11 Thread wellnw
This patch adds supports for GL-X1200. Specification: - SOC: QCA9563 (775MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN - Wireless: QCA9563(2.4GHz) and QCA9886(5GHz) - SIM: 2x SIM card slots - M