[OpenWrt-Devel] [PATCH] libnl-tiny: backport 'gnet_stats_rate_est64' support

2016-03-28 Thread Alexandru Ardelean
This has been added to the kernel uapi for a while, and makes sense to have it here too. At the moment we're using it for query-ing qdisc via netlink using libnl-tiny. Signed-off-by: Alexandru Ardelean --- package/libs/libnl-tiny/src/include/linux/gen_stats.h | 12 1 file changed, 1

[OpenWrt-Devel] [PATCH] ar71x: Added support for TP-Link TL-WR841N v11 to 15.05

2016-03-28 Thread Stijn Segers
This patch adds support for the TP-Link TL-WR841N to OpenWrt Chaos Calmer 15.05. Confirmed working [1] and [2]. Signed-off by Stijn Segers [1] https://forum.openwrt.org/viewtopic.php?id=63657 [2] https://forum.openwrt.org/viewtopic.php?id=61309 --- target/linux/ar71xx/image/Makefile | 9 +++

[OpenWrt-Devel] [PATCH] ar71xx: Add TL-WR841N/ND v11 support

2016-03-28 Thread Stijn Segers
This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is similar to the already supported v10 - see [1]. I have added support based on that topic; in the meantime it has been confirmed working (see the forum thread, and also [2]). Signed-off by Stijn Segers [1]: https://forum.open

[OpenWrt-Devel] [PATCH] brcm63xx: implement gpio to irq

2016-03-28 Thread dani
Implement "to_irq" in the GPIO driver. Some GPIOs in bcm63xx have IRQs. They are known in this target as external IRQs. This patch just adds the function "to_irq" for allowing to use the generic GPIO lib function gpio_to_irq(). This function just returns the IRQ number at the GPIO line. Signed-of

Re: [OpenWrt-Devel] [RFC] ramips: Add initial support for the Netgear WNDR3700v5

2016-03-28 Thread John Crispin
On 28/03/2016 20:26, L. D. Pinney wrote: > > > On Mon, Mar 28, 2016 at 12:34 PM, John Crispin > wrote: > > lets try to figure out what they changed by comparing the sercomm uboot > sources of the unit with RTSDK original > > ​ AFAICT the source downloaded f

Re: [OpenWrt-Devel] [RFC] ramips: Add initial support for the Netgear WNDR3700v5

2016-03-28 Thread L. D. Pinney
On Mon, Mar 28, 2016 at 12:34 PM, John Crispin wrote: > lets try to figure out what they changed by comparing the sercomm uboot > sources of the unit with RTSDK original > > ​ AFAICT the source downloaded from Netgear only contains the uboot binary​ and not the source code. ​(WNDR3700v5_boot_v113

[OpenWrt-Devel] [RFC PATCH 10/10] base-files: add option to symlink /var to /tmp

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- config/Config-images.in | 5 + package/base-files/Makefile | 5 + 2 files changed, 10 insertions(+) diff --git a/config/Config-images.in b/config/Config-images.in index a60dd50..3619256 100644 --- a/config/Config-images.in +++ b/config/Config-images.in

[OpenWrt-Devel] [RFC PATCH 09/10] samba36: /tmp/etc is created in /etc/init.d/boot

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/samba36/files/samba.init | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init index f88e0f3..dceb6e5 100755 --- a/package/network/services/

[OpenWrt-Devel] [RFC PATCH 06/10] openvpn: /tmp/etc is created in /etc/init.d/boot

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/openvpn/files/openvpn.init | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init index 7ee756d..221704e 100644 --- a/package/network/ser

[OpenWrt-Devel] [RFC PATCH 08/10] samba36: generate config in /tmp/etc

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/samba36/files/samba.init | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init index 376ae89..f88e

[OpenWrt-Devel] [RFC PATCH 07/10] openvpn: /var/run is created in /etc/init.d/boot

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/openvpn/files/openvpn.init | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init index 221704e..5ca02ac 100644 --- a/package/network/s

[OpenWrt-Devel] [RFC PATCH 05/10] openvpn: generate config in /tmp/etc

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/openvpn/files/openvpn.init | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init index 5396d0b..7ee756d 10

[OpenWrt-Devel] [RFC PATCH 03/10] igmpproxy: generate config in /tmp/etc

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/igmpproxy/files/igmpproxy.init | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package/network/services/igmpproxy/files/igmpproxy.init b/package/network/services/igmpproxy/files/igmpproxy.init index d03f9

[OpenWrt-Devel] [RFC PATCH 04/10] igmpproxy: /tmp/etc is created in /etc/init.d/boot

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/igmpproxy/files/igmpproxy.init | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/services/igmpproxy/files/igmpproxy.init b/package/network/services/igmpproxy/files/igmpproxy.init index 7af69e3..b603921 100644 --- a/package

[OpenWrt-Devel] [RFC PATCH 02/10] dnsmasq: generate config in /tmp/etc

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/services/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 61ded6a..54cd6e5 100644 --- a/pa

[OpenWrt-Devel] [RFC PATCH 01/10] base-files: create /tmp/etc on boot

2016-03-28 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/base-files/files/etc/init.d/boot | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index ccd0afe..944c873 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/pack

[OpenWrt-Devel] [RFC PATCH 00/10] make symlink /var to /tmp optional

2016-03-28 Thread Stijn Tintel
When running OpenWrt on devices with a lot of storage, it might be desirable not to have /var completely on tmpfs. This patch series adds an option to make symlinking /var to /tmp optional. If the option is disabled, /var/run will be symlinked to /tmp/run so that it will still be on tmpfs. As som

Re: [OpenWrt-Devel] [RFC] ramips: Add initial support for the Netgear WNDR3700v5

2016-03-28 Thread John Crispin
lets try to figure out what they changed by comparing the sercomm uboot sources of the unit with RTSDK original On 28/03/2016 17:58, L. D. Pinney wrote: > Sercomm hacked bootloader replaced with my own from : > https://github.com/gnubee-git/GnuBee-MT7621-uboot.git > > Relevent files and instruc

[OpenWrt-Devel] [RFC] ramips: Add initial support for the Netgear WNDR3700v5

2016-03-28 Thread L. D. Pinney
Sercomm hacked bootloader replaced with my own from : https://github.com/gnubee-git/GnuBee-MT7621-uboot.git Relevent files and instructions can be downloaded from : https://drive.google.com/open?id=0B0CKglNyN0URM2FhVDBpNkVsRlk Some Devices are 'uncooperative' Reset and WPS switches, and LEDs ot