[OpenWrt-Devel] [PATCH] iperf: Fix compilation with libcxx

2019-12-13 Thread Rosen Penev
Avoids redefining bool. Signed-off-by: Rosen Penev --- package/network/utils/iperf/Makefile | 2 +- package/network/utils/iperf/patches/010-libcxx.patch | 12 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 package/network/utils/iperf/patches/01

[OpenWrt-Devel] [PATCH] libcxx: Add package

2019-12-13 Thread Rosen Penev
Currently in OpenWrt, there are two libc++: libstdcpp and uClibc++. The former is huge and the latter supports only C++98 with some basic support for C++11. Those C++ versions seem to be specific to the compiler version libcxx supports C++11 and above while being much smaller than libstdcpp. On mt

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Paul Fertser
Hey Sven, On Fri, Dec 13, 2019 at 11:51:14PM +0100, Sven Roederer wrote: > good point. But also on master seems to be no entry for this board in > "01_leds". So I assume the default case fits for it. I looked several times through the config and was unable to see the default case. Apparently, y

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Sven Roederer
Am Freitag, 13. Dezember 2019, 21:07:23 CET schrieb Paul Fertser: > Hello, > > On Fri, Dec 13, 2019 at 08:50:46PM +0100, Sven Roederer wrote: > > .../ath79/base-files/etc/board.d/02_network | 5 + > > .../etc/hotplug.d/firmware/11-ath10k-caldata | 1 + > > .../ath79/dts/qca9531_glinet_gl-a

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Sven Roederer
Adrian, it's just that I've this patch around for some time, as I use this device on 19.07. So just sharing this patch ... Sven Am Freitag, 13. Dezember 2019, 21:21:14 CET schrieb Adrian Schmutzler: > Hi Sven, > > so, the primary question remains unanswered: Why should exactly this device > be

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Adrian Schmutzler
Hi Sven, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Sven Roederer > Sent: Freitag, 13. Dezember 2019 20:51 > To: openwrt-devel@lists.openwrt.org > Cc: Luochongjun > Subject: [OpenWrt-Devel] [PATCH 19.07] ath79: add support fo

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Paul Fertser
Hello, On Fri, Dec 13, 2019 at 08:50:46PM +0100, Sven Roederer wrote: > .../ath79/base-files/etc/board.d/02_network | 5 + > .../etc/hotplug.d/firmware/11-ath10k-caldata | 1 + > .../ath79/dts/qca9531_glinet_gl-ar750.dts | 142 ++ > target/linux/ath79/image/generic.mk

[OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Sven Roederer
From: Luochongjun This patch supports gl-ar750, which was previously supported by ar71xx. Specification: - SOC: QCA9531 (650MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 10/100: 2xLAN + 10/100: 1xWAN - Wireless: 2.4GHz (bgn) and 5GHz (ac) - USB: 1x USB 2.0 port - Switch: 1x

Re: [OpenWrt-Devel] [PATCH] ramips: add support for JCG JHR-AC876M

2019-12-13 Thread Adrian Schmutzler
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of DENG Qingfang > Sent: Freitag, 13. Dezember 2019 17:24 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] ramips: add support for JCG JHR-AC876M > > JCG JHR

[OpenWrt-Devel] [PATCH] ramips: add support for JCG JHR-AC876M

2019-12-13 Thread DENG Qingfang
JCG JHR-AC876M is an AC2600M router Hardware specs: SoC: MT7621AT 2.4GHz: MT7615N 4x4 @ PCIe0 5GHz: MT7615N 4x4 @ PCIe1 Flash: Winbond W25Q128JVSQ 16MiB RAM: Nanya NT5CB128M16 256MiB USB 2.0 and 3.0 ports 6 LEDs, 3 of which are connected to SoC GPIO Reset and WPS buttons Flash ins

[OpenWrt-Devel] [PATCH] ramips: move set-irq-affinity script to mt7621 subtarget

2019-12-13 Thread DENG Qingfang
Move the set-irq-affinity script to mt7621 because it is the only SMP subtarget. Signed-off-by: DENG Qingfang --- .../ramips/{ => mt7621}/base-files/etc/init.d/set-irq-affinity| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename target/linux/ramips/{ => mt7621}/base-files/etc/init.d/

Re: [OpenWrt-Devel] [RFT PATCH v2] mediatek: split base-files into subtargets

2019-12-13 Thread Adrian Schmutzler
Hi John, > -Original Message- > From: John Crispin [mailto:j...@phrozen.org] > Sent: Freitag, 13. Dezember 2019 14:07 > To: Adrian Schmutzler ; openwrt- > de...@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [RFT PATCH v2] mediatek: split base-files into > subtargets > > On 13/12/2019 1

[OpenWrt-Devel] [PATCH] uboot-envtools: ath79: add etactica eg200 support

2019-12-13 Thread Karl Palsson
Was inadvertantly missed from the inital forward port from ar71xx to ath79. Fixes: 1588114cf2 ath79: add etactica-eg200 support Signed-off-by: Karl Palsson --- package/boot/uboot-envtools/files/ath79 | 1 + 1 file changed, 1 insertion(+) diff --git a/package/boot/uboot-envtools/files/ath79 b/

Re: [OpenWrt-Devel] [PATCH 2/2] sunxi: construct DTS name from device node name and SOC

2019-12-13 Thread Tomasz Maciej Nowak
W dniu 11.12.2019 o 11:42, Adrian Schmutzler pisze: > Hi, > >> -Original Message- >> From: Tomasz Maciej Nowak [mailto:tome...@o2.pl] >> Sent: Dienstag, 10. Dezember 2019 14:39 >> To: Adrian Schmutzler ; openwrt- >> de...@lists.openwrt.org >> Subject: Re: [OpenWrt-Devel] [PATCH 2/2] sunxi:

Re: [OpenWrt-Devel] [PATCH fstools 0/2] blocd: fix vlist holding devices

2019-12-13 Thread John Crispin
On 13/12/2019 11:05, Rafał Miłecki wrote: From: Rafał Miłecki I noticed that "ubus call block info" was listing only the last added devices for me. It has appeared to be a wrong vlist usage + memory corruption. After review/apply I'd like to cherry-pick those fixes to 19.07. Acked-by: John C

Re: [OpenWrt-Devel] [RFT PATCH v2] mediatek: split base-files into subtargets

2019-12-13 Thread John Crispin
On 13/12/2019 12:11, Adrian Schmutzler wrote: This splits some base-files across subtargets, as done previously on ath79 and ramips and also introduced for mt7629 subtarget here already. While at it, apply the following fixes: - Remove lots of trailing whitespaces - Remove wildcard on unielec,u7

Re: [OpenWrt-Devel] libblkid-tiny: bugged buffer management

2019-12-13 Thread Rafał Miłecki
On 26.08.2019 17:33, Rafał Miłecki wrote: I noticed a bug in "block" tool behavior. It was providing inconsistent UUIDs for my disks with NTFS partitions. (...) That bug was exposed by cache_load(0) vs. cache_load(1). Those calls result in different order of buffer allocation in the blkid_probe

[OpenWrt-Devel] [RFT PATCH v2] mediatek: split base-files into subtargets

2019-12-13 Thread Adrian Schmutzler
This splits some base-files across subtargets, as done previously on ath79 and ramips and also introduced for mt7629 subtarget here already. While at it, apply the following fixes: - Remove lots of trailing whitespaces - Remove wildcard on unielec,u7623-02-emmc-512m - Remove inconsistent quotation

[OpenWrt-Devel] [PATCH fstools 2/2] blockd: don't flush devices list on "hotplug" call

2019-12-13 Thread Rafał Miłecki
From: Rafał Miłecki The point of "hotplug" call is to add or remove a single entry to/from devices list. Using vlist_update() and vlist_flush() was clearing whole list (and leaving the last entry in case of adding a devices). Signed-off-by: Rafał Miłecki --- blockd.c | 2 -- 1 file changed, 2

[OpenWrt-Devel] [PATCH fstools 1/2] blockd: fix vlist memory corruption

2019-12-13 Thread Rafał Miłecki
From: Rafał Miłecki vlist_add() expects key to point a persistent memory as it doesn't make its copy. Passing blob_attr of current message was resulting in undefined/random behavior including list corruption and possible crashes. Signed-off-by: Rafał Miłecki --- blockd.c | 2 +- 1 file changed

[OpenWrt-Devel] [PATCH fstools 0/2] blocd: fix vlist holding devices

2019-12-13 Thread Rafał Miłecki
From: Rafał Miłecki I noticed that "ubus call block info" was listing only the last added devices for me. It has appeared to be a wrong vlist usage + memory corruption. After review/apply I'd like to cherry-pick those fixes to 19.07. Rafał Miłecki (2): blockd: fix vlist memory corruption bl

Re: [OpenWrt-Devel] [PATCH] zones: enforce forward policy with zone_NAME_src_POLICY

2019-12-13 Thread Yousong Zhou
On Fri, 13 Dec 2019 at 16:58, Jo-Philipp Wich wrote: > > Hi, > > per definition, zone forward policies were only ever meant to apply to > traffic between interfaces within the same zone *not* to traffic > anywhere else. > > Your patch would break that assumption as far as I can see. > > ~ Jo I se

Re: [OpenWrt-Devel] [PATCH] zones: enforce forward policy with zone_NAME_src_POLICY

2019-12-13 Thread Jo-Philipp Wich
Hi, per definition, zone forward policies were only ever meant to apply to traffic between interfaces within the same zone *not* to traffic anywhere else. Your patch would break that assumption as far as I can see. ~ Jo signature.asc Description: OpenPGP digital signature