[OpenWrt-Devel] [PATCH fstools] libfstools: fix find_mount to return device path

2014-12-23 Thread Rafał Miłecki
So far we were returning mount point which doesn't make sense for a function that already takes mount point as an argument. Signed-off-by: Rafał Miłecki --- libfstools/find.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libfstools/find.c b/libfstools/find.c index b50b

Re: [OpenWrt-Devel] [PATCH 2/2] package: add timer led function

2014-12-23 Thread drEagle
Hi Luka, Is there patches correct ? I do not find them in the patchworks. Regards, Gérald Le 20/12/2014 03:51, Gerald Kerma a écrit : > Add ucidef_set_led_timer to uci-defaults.sh > > Signed-off-by: Gerald Kerma > --- > .../base-files/files/lib/functions/uci-defaults.sh | 20 >

Re: [OpenWrt-Devel] [PATCH 1/2] scripts: fix recursive dependencies that might be caused by using conditional dependencies.

2014-12-23 Thread Yousong Zhou
On 22 December 2014 at 18:29, Yousong Zhou wrote: > `kmod-ipt-ipset' has a `DEPENDS' value of > `@(!(TARGET_ps3||TARGET_pxcab)||BROKEN)'. > Recursive dependency will occur if another package conditionally depends > on it with something like `+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset' > which wil

[OpenWrt-Devel] [PATCH 1/2] package: remove references to symbols TARGET_{ps3, pxcab}.

2014-12-23 Thread Yousong Zhou
Target pxcab and ps3 were removed from maintaince in r34764 and r34765 respectively. Signed-off-by: Yousong Zhou --- package/kernel/mac80211/Makefile |2 +- package/network/utils/ipset/Makefile |6 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/package/kernel/ma

[OpenWrt-Devel] [PATCH 2/2] dnsmasq: fix dependency problems of the dnsmasq-full variant.

2014-12-23 Thread Yousong Zhou
This patch tries to - Let the DHCPv6 feature depend on CONFIG_IPV6. - Conditionally select libnettle, kmod-ipv6, kmod-ipt-ipset only if the corresponding features are enabled. - Install `trust-anchors.conf` only if DNSSEC is selected. Big thanks goes to Frank Schäfer for providing necessar

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-23 Thread Tomer Eliyahu
Hi, Our request for uploading the sources is pending approval from Marvell's legal department. Best Regards, Tomer On Mon, Dec 22, 2014 at 7:01 PM, Hauke Mehrtens wrote: > On 12/22/2014 05:43 PM, Ram Marzin wrote: >>> Did I read it right - it relies on hw (to offload the cpu) but is hw >>> in

Re: [OpenWrt-Devel] [PATCH 1/1] package: contrib: add smstools3 package

2014-12-23 Thread drEagle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jiri, Le 21/12/2014 08:48, Jiri Slachta a écrit : > Hello Gerald, > > I would recommend you to resend the patch to the openwrt packages repository > on > github as a pull request. I have proposed and ask for a pull. Thanks for the review. R

[OpenWrt-Devel] [PATCH][ar71xx] Mikrotik Routerboard RB2011 switch fix

2014-12-23 Thread Matt Lee
Hi Chris, >This patch is the same as the Routerboard 951G fix, I've built this >and tested it on my rb-2011uias-2hnd. However we should check that it >also works on other/older RB2011 routers which did work OK with the >unpatched code. > >diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mac

Re: [OpenWrt-Devel] [PATCH][ar71xx] Mikrotik Routerboard RB2011 switch fix

2014-12-23 Thread David Hutchison
Hello, Can you try: ath79_eth0_pll_data.pll_1000 = 0x6f000; This is the value I originally found on the 951G, I tried to toggle as many bits as possible and narrow down from there. John Crispin found some documentation and we narrowed it down to 0x3e00 for the 951G. He is actually working

Re: [OpenWrt-Devel] 090-backport_netfilter_rtcache.patch and IPsec routing/connection errors/packet loss

2014-12-23 Thread Andre Valentin
Hi! I just recompiled the module and loaded it on the router. But it seems that this does not fix the error. 5 minutes later I got several alerts (ping checks). Kind regards, André On 20.12.2014 00:56, Florian Westphal wrote: > Andre Valentin wrote: >> If I enable this patch/module, I get str

Re: [OpenWrt-Devel] [PATCH][ar71xx] Mikrotik Routerboard RB2011 switch fix

2014-12-23 Thread Matt Lee
Hi David, I tested on 2011UiAS-2HnD and 2011UAS-2HnD, and for me, this works better with pll_1000 set to 0x6f00. But I have to make more testing. I will conitnue testing... Thanks On Tue, Dec 23, 2014 at 1:57 PM, David Hutchison wrote: > Hello, > > Can you try: ath79_eth0_pll_data.pl

[OpenWrt-Devel] [PATCH fstools] libfstools: ubi: avoid crash in volume finding function

2014-12-23 Thread Rafał Miłecki
In case /sys/devices/virtual/ubi/ubi?/ubi?_?/name doesn't exist volname will be NULL and calling strlen for NULL isn't a good idea. Signed-off-by: Rafał Miłecki --- libfstools/ubi.c | 4 1 file changed, 4 insertions(+) diff --git a/libfstools/ubi.c b/libfstools/ubi.c index 866034a..ac9eb1b

[OpenWrt-Devel] Wiki upload rights

2014-12-23 Thread valent.turko...@gmail.com
Hi, wiki admins please enable upload rights for "valentt" account so that I can continue contributing to wiki. Thanks, Valent. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH fstools] libfstools: ubi: rework reading volumes

2014-12-23 Thread Rafał Miłecki
UBI volume IDs don't have to be contiguous, this may happen if there were few and the not last one was removed. In such case we may have e.g. ubi0_0, ubi0_2. It means we can't simply read value from "volumes_count" and iterate from 0 to the count - 1. This patch rewrites ubi_part_match to read who

[OpenWrt-Devel] [PATCH] binutils: enable plugin support

2014-12-23 Thread Matthias Schiffer
--enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which must be used with GCC 4.9 for LTO to work. Without this option, gcc-ar etc. will just fail with sorry - this program has been built without plugin support Using the normal ar from binutils with GCC 4.9 and -flto wi

Re: [OpenWrt-Devel] 090-backport_netfilter_rtcache.patch and IPsec routing/connection errors/packet loss

2014-12-23 Thread Stijn Tintel
On 23-12-14 20:11, Andre Valentin wrote: > Hi! > > I just recompiled the module and loaded it on the router. But it seems that > this does not fix the error. 5 minutes later I got several alerts (ping > checks). The workaround below seems to work for me. How did you apply this patch to the OpenWr

[OpenWrt-Devel] [PATCH][mvebu] WRT1900AC mvneta fix vlan tagging

2014-12-23 Thread Mark Milburn
This is a 3.14.x backport of: "mvneta: Fix TSO and checksum for non-acceleration vlan traffic" Fixes vlan tagging on SoC interfaces for the WRT1900AC. Useful when using mvsw6171 driver. Here's hoping I didn't foul up the patch format this time. Signed-off-by: Mark Milburn --- .../110-mvneta_f

Re: [OpenWrt-Devel] [PATCH 1/3] ustream: add function ustream_read().

2014-12-23 Thread Yousong Zhou
On 22 December 2014 at 22:46, Felix Fietkau wrote: > On 2014-12-16 22:15, Yousong Zhou wrote: >> It can be used to fill caller specified buffer area with data already in >> ustream read buffer. Useful in the following use pattern. >> >> int available = ustream_pending_data(s, false); >> if (availa