Re: [OpenWrt-Devel] [PATCH 2/3] [rpcd] file: handle return output of b64_decode

2016-04-11 Thread Jo-Philipp Wich
Hi Luka, Please use ssize_t instead. Regards, Jo > Am 11.04.2016 um 18:56 schrieb Luka Perkov : > > Solve this compile warning: > > file.c:300:16: error: comparison of unsigned expression < 0 is always false > [-Werror,-Wtautological-compare] >if (data_len < 0) > > Signed-off

[OpenWrt-Devel] [PATCH] ar71xx: Add TP-Link TL-WR740N v6 support to 15.05.1

2016-04-11 Thread Stijn Segers
This patch adds support for the TP-Link TL-WR740N v6 to OpenWrt Chaos Calmer. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds. Also thanks to Matthias Schiffer for clarifying the DEVICE_PROF

[OpenWrt-Devel] [PATCH] ar71xx: Add TP-Link TL-WR740N v6 support to trunk

2016-04-11 Thread Stijn Segers
This patch adds support for the TP-Link TL-WR740N v6 into OpenWrt trunk. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds. Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE s

[OpenWrt-Devel] [PATCH] ar71xx: Add support for the OMYlink OMY-X1

2016-04-11 Thread L. D. Pinney
https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney --- target/linux/ar71xx/base-files/etc/board.d/01_leds| 5 +++ target/linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/etc/diag.sh

[OpenWrt-Devel] [PATCH] ipq806x: enable hard float

2016-04-11 Thread Adrian Panella
Sorry, resubmitting again fixing format problem. commit e40d7bf480243f855ad38e7752b96ba1e744ea1c Author: Adrian Panella Date: Tue Apr 5 21:45:14 2016 -0500 IPQ806X: enable hard float Signed-off-by: Adrian Panella diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Ma

[OpenWrt-Devel] [PATCH] ipq806x: enable hard float

2016-04-11 Thread Adrian Panella
resubmitting fixing format problem commit e40d7bf480243f855ad38e7752b96ba1e744ea1c Author: Adrian Panella Date: Tue Apr 5 21:45:14 2016 -0500 IPQ806X: enable hard float Signed-off-by: Adrian Panella diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile index 97a40cf..

Re: [OpenWrt-Devel] rsync mirror of download.openwrt.org ?

2016-04-11 Thread Daniel Petre
On 04/12/2016 12:54 AM, Laurent GUERBY wrote: On Fri, 2016-03-25 at 19:02 +0100, Laurent GUERBY wrote: On Sat, 2016-03-19 at 15:47 +0100, John Crispin wrote: On 19/03/2016 14:10, Laurent GUERBY wrote: Hi, We've setup a mirror of openwrt on a 10G+ connection IPv4+v6, MPTCP support using initi

Re: [OpenWrt-Devel] rsync mirror of download.openwrt.org ?

2016-04-11 Thread Laurent GUERBY
On Fri, 2016-03-25 at 19:02 +0100, Laurent GUERBY wrote: > On Sat, 2016-03-19 at 15:47 +0100, John Crispin wrote: > > > > On 19/03/2016 14:10, Laurent GUERBY wrote: > > > Hi, > > > > > > We've setup a mirror of openwrt on a 10G+ connection IPv4+v6, MPTCP > > > support using initial rsync from ba

[OpenWrt-Devel] [PATCH 2/3] [rpcd] file: handle return output of b64_decode

2016-04-11 Thread Luka Perkov
Solve this compile warning: file.c:300:16: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] if (data_len < 0) Signed-off-by: Luka Perkov --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c i

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add myself in Copyright header

2016-04-11 Thread Luka Perkov
Signed-off-by: Luka Perkov --- file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file.c b/file.c index 6ddde32..1c4d8bc 100644 --- a/file.c +++ b/file.c @@ -2,6 +2,7 @@ * rpcd - UBUS RPC server * * Copyright (C) 2013-2014 Jo-Philipp Wich + * Copyright (C) 2016 Luka Perkov *

[OpenWrt-Devel] [PATCH 1/3] [rpcd] file: add append write support

2016-04-11 Thread Luka Perkov
Signed-off-by: Luka Perkov --- file.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index d983518..91a55a1 100644 --- a/file.c +++ b/file.c @@ -93,6 +93,7 @@ static const struct blobmsg_policy rpc_file_rb_policy[__RPC_F_RB_MAX] = { enum { RPC

[OpenWrt-Devel] [PATCH] ramips: awake rt305x USB controller

2016-04-11 Thread Сергей Василюгин
Because of Ralink uboot set USB controller into sleep mode [1] we check it and awake controller before any registers access. Fix ticket #21396 [2] [1] http://marc.info/?l=linux-usb&m=137398626102108&w=2 [2] https://dev.openwrt.org/ticket/21396 Signed-Off-By: Serge Vasilugin diff --git a/targe

Re: [OpenWrt-Devel] [RFC relayd 1/2] relayd: add ipv6 support

2016-04-11 Thread Bjørn Mork
Michal Kazior writes: > This adds basic IPv6 support framework. Things > like, e.g. DHCPv6 will not work (yeT) though > because link-local support requires additional > changes (including kernel). Could the DHCPv6 support be implemented as an LDRA instead? Ref https://tools.ietf.org/html/rfc6221

[OpenWrt-Devel] [PATCH] ramips: add support for ELECOM WRH-300CR

2016-04-11 Thread FUKAUMI Naoki
Signed-off-by: YuheiOKAWA Signed-off-by: FUKAUMI Naoki --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 + .../linux/ramips/base-files/etc/board.d/02_network | 3 +- target/linux/ramips/base-files/etc/diag.sh | 3 +- target/linux/ramips/base-files/lib/ramips.sh |

[OpenWrt-Devel] [PATCH] CC: ramips: backport rt3352 usbphy fix in dts-file

2016-04-11 Thread Сергей Василюгин
Backport of trunk patch. Fix kernel hang during loading ehci-hcd module. SIgned-Off-By: Serge Vasilugin diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index 7dffddb..dacb047 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt

[OpenWrt-Devel] [RFC relayd 1/2] relayd: add ipv6 support

2016-04-11 Thread Michal Kazior
This adds basic IPv6 support framework. Things like, e.g. DHCPv6 will not work (yeT) though because link-local support requires additional changes (including kernel). Signed-off-by: Michal Kazior --- dhcp.c | 30 +-- main.c | 730 +++--

[OpenWrt-Devel] [RFC relayd 2/2] relayd: add ipv6 link local support

2016-04-11 Thread Michal Kazior
This patch combined with an corresponding kernel patch makes it possible to route link-local addresses which, in practice, means DHCPv6, RA, RS are now functional. Signed-off-by: Michal Kazior --- main.c | 3 +++ route.c | 22 ++ 2 files changed, 25 insertions(+) diff --gi

[OpenWrt-Devel] [RFC relayd 0/2] relayd: add ipv6 support

2016-04-11 Thread Michal Kazior
Hi, I've been recently working on adding IPv6 support to relayd (which supported only IPv4). It does, however, require a kernel patch to make it actually usable because link-local addresses are not routable by kernel by default. The patch, currently an RFC, can be found here: https://www.mail

[OpenWrt-Devel] [PATCH] brcm63xx: fix external IRQs

2016-04-11 Thread dani
External IRQs are currently broken, fix the BCM6345_EXT_IRQ driver. Since the adoption of the new driver irq-bcm6345-ext, in Chaos Calmer, external IRQs don't work. It seems there were some minor errors at the initial development of the driver. This patch fixes the ticket https://dev.openwrt.org/

[OpenWrt-Devel] [PATCH] ubus: cli.wait_for: add polling for services

2016-04-11 Thread Zefir Kurtisi
In ubus_cli_wait_for() there is a potential critical section between initially checking for the requested services and the following handling of 'ubus.object.add' events. In our system we let procd (re)start services and synchronize inter-service dependencies by using 'ubus wait_for' in the initsc

Re: [OpenWrt-Devel] [PATCH] ramips: mt7621: add support for disabling flow control

2016-04-11 Thread Cristian Morales Vega
Sorry, for some reason I didn't receive your reply (but patchwork told me about it), so I am replying here. Maybe it's something that should be done with ethtool, but I had no idea those phys were exposed through anything other than swconfig. What would be the "DEVNAME" in "ethtool -a DEVNAME" if