[OpenWrt-Devel] How to disable the Internal PA in the mt7620a ?

2015-11-03 Thread Soulkey
Hello,     I enabled the External PA in the .dts file for the mt7620a like this:                         pa {                                ralink,group = "pa";                                ralink,function = "pa";                        }; But , how to disable the Intercal PA ? Thanks very mu

Re: [OpenWrt-Devel] [PATCH 1/2] [netifd] multicast flag control

2015-11-03 Thread Steven Barth
I'm sorry but this patch doesn't apply: Applying patch #532998 using 'git am' Description: [OpenWrt-Devel,1/2,netifd] multicast flag control Applying: multicast flag control error: patch failed: device.c:40 error: device.c: patch does not apply error: patch failed: system-linux.c:1091 error: syste

[OpenWrt-Devel] [PATCH] tools/mm-macros: update to 0.9.8

2015-11-03 Thread Hannu Nyman
Update mm-macros to 0.9.8. Add a secondary download location. Signed-off-by: Hannu Nyman --- tools/mm-macros/Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/mm-macros/Makefile b/tools/mm-macros/Makefile index 94ce0de..546e3be 100644 --- a/tools/mm-macr

[OpenWrt-Devel] [PATCH] tools/scons: update to 2.4.0

2015-11-03 Thread Hannu Nyman
Update scons to 2.4.0. Change mirror (as the previous one is missing the current version). Signed-off-by: Hannu Nyman --- tools/scons/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/scons/Makefile b/tools/scons/Makefile index bf7559b..3ea5d13 100644 ---

Re: [OpenWrt-Devel] buildbot: gb15 fails to upload due to host keys

2015-11-03 Thread Hannu A Nyman
Well, both gb15 and buildslave2 still fail to upload binaries, and as they are making 9 of the 22 concurrent builds, almost half of the compiled binaries are discarded. Sad. Logs from today: http://buildbot.openwrt.org:8010/builders/x86.kvm_guest/builds/119/steps/shell_11/logs/stdio http://buil

Re: [OpenWrt-Devel] [PATCH 2/2 v3] linux: add support of Synopsys ARC770-based boards

2015-11-03 Thread Felix Fietkau
On 2015-11-03 17:49, Alexey Brodkin wrote: >> > diff --git a/target/linux/arc770/image/Makefile >> > b/target/linux/arc770/image/Makefile >> > --- /dev/null >> > +++ b/target/linux/arc770/image/Makefile >> > @@ -0,0 +1,42 @@ >> > +# >> > +# Copyright (C) 2015 OpenWrt.org >> > +# >> > +# This is fr

Re: [OpenWrt-Devel] [PATCH 2/2 v3] linux: add support of Synopsys ARC770-based boards

2015-11-03 Thread Alexey Brodkin
Hi Felix, On Tue, 2015-11-03 at 08:43 +0100, Felix Fietkau wrote: > On 2015-11-03 00:27, Alexey Brodkin wrote: > > This patch introduces support of new boards with ARC cores. [snip] > > diff --git a/include/kernel.mk b/include/kernel.mk > > index 6a613fe..878a366 100644 > > --- a/include/kernel.

Re: [OpenWrt-Devel] Extra file permissions

2015-11-03 Thread David Madden
[Sorry for the delay---I missed your reply] >>> On Tue Oct 27 09:15:53 CET 2015, Bastian Bittorf wrote: > IMHO it is better to explicitely set 0700 for the SSH stuff? > so the user can just copy the files without tweaking the bits. That's sort of what used to happen -- the permission fix would ex

Re: [OpenWrt-Devel] [PATCH] ramips:Allow funcs in multiple groups in pinctrl-rt2880.c for UARTF pin sharing

2015-11-03 Thread Noble Pepper
This should fix the white space issue. I don't understand why it looks like a forwarding, if you can provide details I'll be glad to fix it. Thanks for your patience, this is my first attempt at an openwrt patch. Noble Existing pinctrl-rt2880.c code only kept track of one pin group that functio

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Yousong Zhou
On 3 November 2015 at 19:19, Bastian Bittorf wrote: > while debugging things, we saw that each > command invoked via rc.common->service or > /lib/functions/network.sh -> config_load > pollutes the env-space a *lot*. here it is > for each service ~20k. > > some things are easy for getting rid of: >

Re: [OpenWrt-Devel] [PATCH] ramips:Allow funcs in multiple groups in pinctrl-rt2880.c for UARTF pin sharing

2015-11-03 Thread John Crispin
Hi, the patch is white space broken and for some reason this seems to be a forwarding. could you fix and resend please John On 03/11/2015 13:26, Noble Pepper wrote: > > Signed-off-by: Noble Pepper > --- > Existing pinctrl-rt2880.c code only kept track of one pin group that > functions

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Bastian Bittorf
* Felix Fietkau [03.11.2015 13:23]: > I think if you're worried about the overhead of that stuff, you should > help migrate init scripts away from this legacy API. > > Services started via procd are not affected by that kind of env-space > pollution. thank you, i will do it that way. bye, basti

[OpenWrt-Devel] [PATCH] ramips:Allow funcs in multiple groups in pinctrl-rt2880.c for UARTF pin sharing

2015-11-03 Thread Noble Pepper
Signed-off-by: Noble Pepper --- Existing pinctrl-rt2880.c code only kept track of one pin group that functions other than gpio may use. Functions in rt305x.c had differing numbers of pins which caused rt2880_get_group_pins() to sometimes return incorrect pins. Example: when trying to use "gpio ua

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Bastian Bittorf
* Jo-Philipp Wich [03.11.2015 12:44]: > > but i'am unsure how to unset all these vars: > > Whenever a script calls uci_load(), the previous state vars are > discarded, see the declaration of uci_load in /lib/config/uci.sh > > You can force an unconditional unload with calling uci_load() on an >

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Felix Fietkau
On 2015-11-03 12:19, Bastian Bittorf wrote: > while debugging things, we saw that each > command invoked via rc.common->service or > /lib/functions/network.sh -> config_load > pollutes the env-space a *lot*. here it is > for each service ~20k. > > some things are easy for getting rid of: > one can

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Jo-Philipp Wich
Hi, > some things are easy for getting rid of: > one can call 'network_flush_cache()' from > /lib/functions/network.sh > > but i'am unsure how to unset all these vars: Whenever a script calls uci_load(), the previous state vars are discarded, see the declaration of uci_load in /lib/config/uci.sh

[OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Bastian Bittorf
while debugging things, we saw that each command invoked via rc.common->service or /lib/functions/network.sh -> config_load pollutes the env-space a *lot*. here it is for each service ~20k. some things are easy for getting rid of: one can call 'network_flush_cache()' from /lib/functions/network.sh

Re: [OpenWrt-Devel] [PATCH] [packages] generic :add-missing-ubi*-in-ramfs-when-sysupgrade

2015-11-03 Thread John Crispin
Hi, this patch looks weird. please explain the error you are seeing and what HW you are using. John On 30/10/2015 06:45, 未命名 wrote: > This patch may fix the sysupgrade with xxx-squashfs-sysupgrade.tar file > by adding missing other ubi* in ramfs. > > Signed-off-by: Shonn Lu > --- > di

Re: [OpenWrt-Devel] [RFC] ar71xx: add Arduino Yun

2015-11-03 Thread John Crispin
Hi, On 01/11/2015 15:15, Hauke Mehrtens wrote: > This is based on patches from Federico Fissore > especially this one: > https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 > > The console is running with 25 baud which is a non standard baud > rate and need