[OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread Russell Senior
Revert some brain damage. The rx and tx LEDs on the eval board are not connected to the CPU, but to the FTDI chip instead. Therefore, they are not and cannot be under GPIO control. The LINK_0, LINK_1 LEDs are configured to be driven by the switch, and are not under GPIO control either, though t

Re: [OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread John Crispin
On 17/09/2014 09:24, Russell Senior wrote: > It also enables GPIO control of the second GPIO controller, in > rt5350.dtsi, but does not use it. that is why it is not enabled by default :) please resend without the change to rt5350.dtsi John

Re: [OpenWrt-Devel] [PATCHv2] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread Russell Senior
Revert some brain damage. The rx and tx LEDs on the eval board are not connected to the CPU, but to the FTDI chip instead. Therefore, they are not and cannot be under GPIO control. The LINK_0, LINK_1 LEDs are configured to be driven by the switch, and are not under GPIO control either, though t

Re: [OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread John Crispin
On 17/09/2014 09:24, Russell Senior wrote: > diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c > b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c > index c997e35..891dd96 100644 > --- a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c > +++ b/pack

Re: [OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread John Crispin
On 17/09/2014 09:39, John Crispin wrote: > On 17/09/2014 09:24, Russell Senior wrote: >> diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c >> b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c >> index c997e35..891dd96 100644 >> --- a/package/kernel/gpio-button

Re: [OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread Russell Senior
> "John" == John Crispin writes: John> On 17/09/2014 09:24, Russell Senior wrote: >> It also enables GPIO control of the second GPIO controller, in >> rt5350.dtsi, but does not use it. John> that is why it is not enabled by default :) It could be used, which I did while testing. I don't un

Re: [OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread John Crispin
narf ... fat fingered it ... sorry you need to send a v3 /me gets coffee On 17/09/2014 09:42, John Crispin wrote: > > On 17/09/2014 09:39, John Crispin wrote: >> On 17/09/2014 09:24, Russell Senior wrote: >>> diff --git >>> a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c

Re: [OpenWrt-Devel] [PATCH] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread John Crispin
On 17/09/2014 09:42, Russell Senior wrote: >> "John" == John Crispin writes: > > John> On 17/09/2014 09:24, Russell Senior wrote: >>> It also enables GPIO control of the second GPIO controller, in >>> rt5350.dtsi, but does not use it. > > John> that is why it is not enabled by default :)

[OpenWrt-Devel] [PATCHv3 1/3] ramips: fix device-trees for AsiaRF awm002/3 evb

2014-09-17 Thread Russell Senior
Revert some brain damage. The rx and tx LEDs on the eval board are not connected to the CPU, but to the FTDI chip instead. Therefore, they are not and cannot be under GPIO control. The LINK_0, LINK_1 LEDs are configured to be driven by the switch, and are not under GPIO control either, though t

[OpenWrt-Devel] [PATCHv3 2/3] [package] gpio-button-hotplug: Add a "mode" event

2014-09-17 Thread Russell Senior
Signed-off-by: Russell Senior --- package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c index c997e35..891dd96 1

[OpenWrt-Devel] [PATCHv3 3/3] ramips: slider switch on asiarf evb, send mode event

2014-09-17 Thread Russell Senior
Uses the new mode event in gpio-button-hotplug. Signed-off-by: Russell Senior --- target/linux/ramips/dts/AWM002-EVB-4M.dts | 2 +- target/linux/ramips/dts/AWM002-EVB-8M.dts | 2 +- target/linux/ramips/dts/AWM003-EVB.dts| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/

Re: [OpenWrt-Devel] [PATCHv3 2/3] [package] gpio-button-hotplug: Add a "mode" event

2014-09-17 Thread Russell Senior
diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c index c997e35..891dd96 100644 --- a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c +++ b/package/kernel/gpio-button-hotplug/src/gpio-butto

Re: [OpenWrt-Devel] Missing dependency on host sed?

2014-09-17 Thread John Szakmeister
On Wed, Sep 17, 2014 at 1:40 AM, Jonathan Bennett wrote: > I'll throw a couple thoughts out, and then defer to someone that understands > the openwrt build env better than I do. > First, you do have sed installed on your host system, right? I don't think > this is the issue, but best to check the

Re: [OpenWrt-Devel] Missing dependency on host sed?

2014-09-17 Thread John Szakmeister
On Wed, Sep 17, 2014 at 1:40 AM, Jonathan Bennett wrote: [snip] > Now, what I think is happening here is that we have a race between a couple > of compilation threads, one of which is the sed utility. What happens is > something that uses sed is trying to compile before sed has finished > compilin

Re: [OpenWrt-Devel] [PATCH] libubus: fix build; add _GNU_SOURCE for O_CLOEXEC

2014-09-17 Thread Felix Fietkau
On 2014-09-15 13:26, Alexandru Ardelean wrote: > --- > CMakeLists.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/CMakeLists.txt b/CMakeLists.txt > index cb2f420..2d322a6 100644 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -13,6 +13,7 @@ SET(UBUS_MAX_MSGLEN 1048576) > > ADD_

Re: [OpenWrt-Devel] [RFC] netifd-device: add support for promisc setting

2014-09-17 Thread Felix Fietkau
On 2014-09-15 11:57, Martin Hundebøll wrote: > Signed-off-by: Martin Hundebøll > --- > device.c | 9 + > device.h | 3 +++ > system-linux.c | 10 ++ > 3 files changed, 22 insertions(+) Applied and pushed to git. Thanks, - Felix _

[OpenWrt-Devel] [PATCH] ramips: add support for Nexx WT1520

2014-09-17 Thread openwrt
I removed the GPIOs block from the .dts file; there are no accessible GPIO pins on the board and the reset button does not change the status of any exportable pin. Also removed the commented li ne. ___ openwrt-devel mailing list openwrt-devel@lists.open

[OpenWrt-Devel] [PATCH] ramips: add support for Nexx WT1520

2014-09-17 Thread openwrt
From: Roger Pueyo Centelles --- target/linux/ramips/base-files/etc/board.d/01_leds | 3 + .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 3 + target/linux/ramips/base-files/lib/ramips.sh | 3 + .../ramips/base-files/lib/up

[OpenWrt-Devel] [PATCH] hostapd/netifd: fix missing htmode for wpa_supplicant

2014-09-17 Thread Arvid E. Picciani
the variable is called htmode, not ht Signed-off-by: Arvid E. Picciani --- package/network/services/hostapd/files/netifd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh ind

[OpenWrt-Devel] [PATCH v3] dnsmasq: allow de-selecting features from -full variant.

2014-09-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- v2 -> v3 - Let the kconfig menu items depend on actual build variant selected. - Make features of -full variant selectable. v1 -> v2 Rebase it on the lastest trunk. package/network/services/dnsmasq/Makefile | 26 ++-- ...

[OpenWrt-Devel] [PATCH v6] ppp: add new protocol PPPoSSH.

2014-09-17 Thread Yousong Zhou
This patch adds protocol support for PPP over SSH. The protocol name is 'pppossh' with the following options. - server, SSH server name. Required - port, SSH server port. Defaults to 22. - sshuser, SSH login username. Required. - identity, list of client private key files. ~/.ssh/id_{rsa,

Re: [OpenWrt-Devel] Missing mpc83xx in BB-RC3

2014-09-17 Thread Claudio Thomas
On 16.09.2014 18:45, Hauke Mehrtens wrote: > On 09/16/2014 02:52 PM, Claudio Thomas wrote: >> On 16.09.2014 14:44, Felix Fietkau wrote: >>> On 2014-09-16 13:47, Claudio Thomas wrote: Hi, I until now was still using the trunk for testing and working, but today I the first time checked

Re: [OpenWrt-Devel] [RFC] Fix VLAN on Atheros AR8327N

2014-09-17 Thread Florian Fainelli
On 08/31/2014 10:42 AM, Jiri Pirko wrote: > Sat, Jul 19, 2014 at 09:49:38PM CEST, nolt...@gmail.com wrote: >> Commit 40842 reverted the fix for tagged+untagged VLANs on AR8327: >> https://dev.openwrt.org/changeset/40777 >> https://dev.openwrt.org/changeset/40842 >> >> According to jow, some people

Re: [OpenWrt-Devel] [RFC] Fix VLAN on Atheros AR8327N

2014-09-17 Thread John Crispin
On 17/09/2014 19:47, Florian Fainelli wrote: > On 08/31/2014 10:42 AM, Jiri Pirko wrote: >> Sat, Jul 19, 2014 at 09:49:38PM CEST, nolt...@gmail.com wrote: >>> Commit 40842 reverted the fix for tagged+untagged VLANs on >>> AR8327: https://dev.openwrt.org/changeset/40777 >>> https://dev.openwrt.or

Re: [OpenWrt-Devel] overcommit memory/ratio

2014-09-17 Thread Nikos Mavrogiannopoulos
On Tue, 2014-09-16 at 22:29 +, Karl P wrote: > Alternatively, if you know which process it is, set it's oom_adj_score so > that > it gets killed first. > Some other people are kinda used to things behaving as > they are, for better or worse. (Turning off overcommit on an openwrt device

Re: [OpenWrt-Devel] [RFC] Fix VLAN on Atheros AR8327N

2014-09-17 Thread Valentin Spreckels
Hi, Am 17.09.2014 19:50, schrieb John Crispin: > > > On 17/09/2014 19:47, Florian Fainelli wrote: >> On 08/31/2014 10:42 AM, Jiri Pirko wrote: >>> Sat, Jul 19, 2014 at 09:49:38PM CEST, nolt...@gmail.com wrote: Commit 40842 reverted the fix for tagged+untagged VLANs on AR8327: https://d

[OpenWrt-Devel] [PATCH] [tools] gcc: don't clobber stamp-bits with a symlink to itself

2014-09-17 Thread John Szakmeister
Several versions of gcc have an issue in libstdc++v3 where the build may clobber stamp-bits with a link to itself. This doesn't manifest itself on all systems. On several Ubuntu systems, this doesn't appear to be a problem, but it is an issue on Fedora 16 systems. To fix the issue, we'll simply

[OpenWrt-Devel] [PATCH] [package] gdb: add zlib as a dependency for gdbserver

2014-09-17 Thread John Szakmeister
Signed-off-by: John Szakmeister --- package/devel/gdb/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile index 7663188..9038115 100644 --- a/package/devel/gdb/Makefile +++ b/package/devel/gdb/Makefile @@ -42,6 +42,7 @@ endef defin

[OpenWrt-Devel] [PATCH] [include] include: clear the line before outputting the progress message

2014-09-17 Thread John Szakmeister
Signed-off-by: John Szakmeister --- This doesn't necessarily fix anything that's "broken", but it's nice to actually be able to read the lines instead of them overwriting each other. include/scan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/scan.mk b/include/sca

[OpenWrt-Devel] [PATCH/RFC] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-09-17 Thread John Szakmeister
This fixes an issue where the toolchain/prepare step could run, but some of the necessary host tools might be missing. Signed-off-by: John Szakmeister --- I found that on two systems I could reliably make the build fail with multiple jobs. It turns out that some of the host tools being built are

[OpenWrt-Devel] [PATCH] toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected

2014-09-17 Thread Michael Heimpold
Without this patch, selecting "Compile with full language support" results in the following question during build: ... Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y Locale data > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW) 2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW)