Pre-install MiniUPnPd on OpenWrt by default

2022-01-25 Thread Sergey Ponomarev
Hi, Most routers support port forwarding via UPnP IDG or/and NAT-PMP/PCP. And many vendors use the MiniUPnPd http://miniupnp.free.fr This daemon is kind of standard de-facto. This is necessary for any p2p application but OpenWrt builds don't have it pre-installed and pre-configured. While it's not

Re: Pre-install MiniUPnPd on OpenWrt by default

2022-01-25 Thread Stijn Segers
Hi Sergey, Op dinsdag 25 januari 2022 om 15u27 schreef Sergey Ponomarev : Hi, Most routers support port forwarding via UPnP IDG or/and NAT-PMP/PCP. And many vendors use the MiniUPnPd http://miniupnp.free.fr This daemon is kind of standard de-facto. This is necessary for any p2p application but

Re: Pre-install MiniUPnPd on OpenWrt by default

2022-01-25 Thread Sergey Ponomarev
I totally understand your concern and having a strict policy by default it's really a good practice to follow. I thought about this and IMHO the main problem here is most of the time that's a question of trade off. For example I developed a web app and to test OAuth flow I manually made a forwardi

Re: Re: Switch issues and CI to GitHub

2022-01-25 Thread Sergey Ponomarev
+1 for a GitHub +1 for GitLab +1 for a self hosting GitLab +1 for joining to any existing OS hosting -1 for plain emails. As a contributor but not a core developer I would like to ask. Please tell me honestly. Is the send-patch approach just an IQ test? Because I failed it :) My few patches that I

[PATCH] toolchain/gcc: set dialects for each version

2022-01-25 Thread Stijn Tintel
GCC has an option "-std=" to set the language standard for C and C++. Newer GCC versions sometimes switch to newer standards by default. This has the potential to break the OpenWrt toolchain build whenever a distro introduces a new GCC version that uses a newer dialect by default. Let's set the de

[PATCH] util-linux: add lslocks

2022-01-25 Thread Roman Azarenko 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 --- This change adds the "lslocks" uti

[PATCH] uqmi: add support for get operating mode

2022-01-25 Thread Oskari Lemmela
Currently only the set operation is supported. Add support for getting the current operating mode. Signed-off-by: Henrik Ginstmark Signed-off-by: Oskari Lemmela --- commands-dms.c | 46 +- commands-dms.h | 2 ++ 2 files changed, 35 insertions(+), 13

Re: Re: Switch issues and CI to GitHub

2022-01-25 Thread Sam Kuper
On Tue, Jan 25, 2022 at 06:56:04PM +0200, Sergey Ponomarev wrote: > Speaking about GitHub and access to it from sanctioned territories > this is a really big concern. [..] Thank you for corroborating that concern. Some news reports, think-tank analysis, and legal guidance providers suggest the cu

Re: Re: Switch issues and CI to GitHub

2022-01-25 Thread Sergey Ponomarev
Well, we may *speculate* and try to minimise risks but that's what I tried to say: it's counterproductive. For example, did you know that GitHub was blocked in Ukraine for one day? As far as I remember, literally some small court in a village said to block four hundred sites with GH and LiveJourna

Re: [PATCH] toolchain/gcc: set dialects for each version

2022-01-25 Thread Rosen Penev
On Tue, Jan 25, 2022 at 9:06 AM Stijn Tintel wrote: > > GCC has an option "-std=" to set the language standard for C and C++. > Newer GCC versions sometimes switch to newer standards by default. This > has the potential to break the OpenWrt toolchain build whenever a distro > introduces a new GCC

[PATCH 1/5] ath79: mikrotik: change to qca8k DSA driver

2022-01-25 Thread Oskari Lemmela
Current mikrotik ath79 devices do not use switch drivers. Enable the QCA8K driver and disable the old AR8126 phy. Signed-off-by: Oskari Lemmela --- target/linux/ath79/mikrotik/config-default | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/ath79/mikrotik/config-default b/tar

[PATCH 0/5] ath79: add support for routerboard 960pgs

2022-01-25 Thread Oskari Lemmela
This patchset converts the ath79 mikrotik to use the qca8k DSA driver. Once a generic ath79 target has been converted to a DSA, the change is no longer required. The SPI controller in the ar934x does not handle delays correctly. Backport SPI driver delay fixes from the 5.17-rc1 kernel. These fixes

[PATCH 3/5] ath79: fix ar934x spi driver delays

2022-01-25 Thread Oskari Lemmela
Backport spi driver delay fixes from the 5.17-rc1 kernel. Signed-off-by: Oskari Lemmela --- ...-ar934x-fix-transfer-and-word-delays.patch | 32 + ...3-v5.17-spi-ar934x-fix-transfer-size.patch | 67 +++ 2 files changed, 99 insertions(+) create mode 100644 target/linux/at

[PATCH 2/5] ath79: add support for MikroTik RouterBOARD 960PGS (hEx PoE)

2022-01-25 Thread Oskari Lemmela
This patch adds support for the MikroTik RouterBOARD 960PGS (hEx PoE) router. The device has a USB 2.0 port and a SFP port for adding optical fiber connectivity. The ports 2-5 can power other PoE capable devices with the same voltage as applied to the unit. Specifications: - SoC: Qualcomm Atheros

[PATCH 4/5] ath79: mikrotik: add poe driver

2022-01-25 Thread Oskari Lemmela
Add hwmon based driver for mikrotik POE controllers. Signed-off-by: Oskari Lemmela --- .../linux/ath79/files/drivers/hwmon/rbpoe.c | 256 ++ .../linux/ath79/files/drivers/hwmon/rbpoe.h | 25 ++ .../ath79/files/drivers/hwmon/rbpoeport.c | 311 ++ target/linux/

[PATCH 5/5] ath79: mikrotik: add poe to hex poe board

2022-01-25 Thread Oskari Lemmela
Enable poe controller to hex poe board. Signed-off-by: Oskari Lemmela --- .../qca9557_mikrotik_routerboard-960pgs.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/target/linux/ath79/dts/qca9557_mikrotik_routerboard-960pgs.dts b/target/linux/ath79/dts/qca9557_mikrot

Re: Re: Switch issues and CI to GitHub

2022-01-25 Thread Sam Kuper
On Tue, Jan 25, 2022 at 09:45:52PM +0200, Sergey Ponomarev wrote: > Well, we may *speculate* and try to minimise risks but that's what I > tried to say: it's counterproductive. Avoiding unnecessary risks is productive. It's one of the ways in which projects and organisations stay afloat. > A

Re: Switch issues and CI to GitHub

2022-01-25 Thread Sam Kuper
On Thu, Jan 20, 2022 at 10:42:15AM +0100, Paul Spooren wrote: >> Must confess: I was unaware of the ~16k issue body character limit... > > I discussed this with Drew (sourcehut developer) Thanks! That means there's a chance it will be documented and, if possible, fixed/improved. Incidentally, i