[OpenWrt-Devel] [PATCH 12.09] AA: hotplug2: use source hosted by OpenWrt as the original source is down

2014-07-03 Thread Matthias Schiffer
The SVN server used so far seems to have gone down as of 07/2014, so let's just use the source tarball mirrored by OpenWrt. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- package/hotplug2/Makefile | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

Re: [OpenWrt-Devel] Runlevel support for procd

2014-07-29 Thread Matthias Schiffer
:) [1] https://github.com/freifunk-gluon/gluon On 07/29/2014 05:59 PM, John Crispin wrote: please explain the use case that this will solve. at the time of design we decided to not support run levels as we had no valid uses cases that required run levels On 29/07/2014 17:06, Matthias

[OpenWrt-Devel] [PATCH] ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC

2014-08-07 Thread Matthias Schiffer
and (primary+1) on the WAN interface (like OpenWrt does with this patch). Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- I think this should also be applied to Barrier Breaker. target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1043nd-v2.c | 4 +--- 1 file changed, 1 insertion

Re: [OpenWrt-Devel] [PATCH] ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC

2014-08-15 Thread Matthias Schiffer
On 08/07/2014 03:30 PM, Matthias Schiffer wrote: This sets the MAC address of the WLAN interface to the official primary MAC address (the one on the label under the devices, and the one used with the stock firmware). The MAC address used so far (primary-1) isn't even used at all

[OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

2014-08-30 Thread Matthias Schiffer
Hi, I've noticed that the code produced by Barrier Breaker's toolchain sometimes has significantly worse performance that that built by Attitude Adjustment. I can see this extremely with the VPN tool fastd developed and maintained by me: On the same Barrier Breaker system, a binary built by the

Re: [OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

2014-08-30 Thread Matthias Schiffer
On 08/30/2014 06:42 PM, Matthias Schiffer wrote: Hi, I've noticed that the code produced by Barrier Breaker's toolchain sometimes has significantly worse performance that that built by Attitude Adjustment. I can see this extremely with the VPN tool fastd developed and maintained by me

Re: [OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

2014-08-30 Thread Matthias Schiffer
On 08/30/2014 06:54 PM, Felix Fietkau wrote: On 2014-08-30 18:45, Matthias Schiffer wrote: On 08/30/2014 06:42 PM, Matthias Schiffer wrote: Hi, I've noticed that the code produced by Barrier Breaker's toolchain sometimes has significantly worse performance that that built by Attitude

Re: [OpenWrt-Devel] uClibc bug: epoll_pwait broken on OpenWrt x86

2014-09-01 Thread Matthias Schiffer
Sure, I've attached my testcase (source and compiled for Barrier Breaker). Matthias On 09/01/2014 08:31 AM, Waldemar Brodkorb wrote: Hi, can you provide a simple testcase showing the bug? best regards Waldemar Am 01.09.2014 um 00:53 schrieb Matthias Schiffer mschif...@universe

[OpenWrt-Devel] [PATCH 3/3] ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7

2014-09-01 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 18e07a4..f188578 100755

[OpenWrt-Devel] [PATCH 1/3] ar71xx: simplify TP-LINK model detection

2014-09-01 Thread Matthias Schiffer
All TP-LINK machine names begin with TP-LINK, so there's no need to check for more specific model names. This also allows adding new models like the Archer series more easily. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 6

[OpenWrt-Devel] [PATCH 2/3] ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection

2014-09-01 Thread Matthias Schiffer
[ ] conditions should use = instead of == for string equality. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b

Re: [OpenWrt-Devel] uClibc bug: epoll_pwait broken on OpenWrt x86

2014-09-15 Thread Matthias Schiffer
, Matthias Schiffer wrote: I've found commit 555ae2e88cd16a83f854634b6c3f35715b11d3d4, which works around the issue in the current uClibc master: commit 555ae2e88cd16a83f854634b6c3f35715b11d3d4 Author: Natanael Copa natanael.c...@gmail.com Date: Thu Jul 5 11:55:19 2012 + i386/bits

Re: [OpenWrt-Devel] uClibc bug: epoll_pwait broken on OpenWrt x86

2014-09-16 Thread Matthias Schiffer
On 09/16/2014 04:34 PM, Bernhard Reutner-Fischer wrote: On 15 September 2014 17:33, Matthias Schiffer mschif...@universe-factory.net wrote: Ping? I'd like to get this fixed as soon as possible (even though it's probably too late for the OpenWrt BB final?). I guess I can try to write a patch

Re: [OpenWrt-Devel] [PATCH 1/3] ar71xx: simplify TP-LINK model detection

2014-09-18 Thread Matthias Schiffer
Ping... On 09/01/2014 05:53 PM, Matthias Schiffer wrote: All TP-LINK machine names begin with TP-LINK, so there's no need to check for more specific model names. This also allows adding new models like the Archer series more easily. Signed-off-by: Matthias Schiffer mschif...@universe

Re: [OpenWrt-Devel] [PATCH 1/3] ar71xx: simplify TP-LINK model detection

2014-10-03 Thread Matthias Schiffer
On 10/03/2014 10:23 PM, John Crispin wrote: On 01/09/2014 17:53, Matthias Schiffer wrote: All TP-LINK machine names begin with TP-LINK, so there's no need to check for more specific model names. This also allows adding new models like the Archer series more easily. are you sure

[OpenWrt-Devel] Link-time optimization broken with binutils 2.24-linaro

2014-10-11 Thread Matthias Schiffer
Hi, it seems that package builds with -flto fail since the upgrade to binutils 2.24-linaro; see the attached build log for details. I've verified that this isn't a GCC problem, everything works fine with the current GCC and vanilla binutils 2.22 and 2.24; only 2.24-linaro is broken. Other

[OpenWrt-Devel] [RFC 0/2]

2014-11-21 Thread Matthias Schiffer
, but as far as I can tell from the information in the manual book, the only difference is the antenna (lower angle, higher gain), so I've included them as supported devices as well. Matthias Schiffer (2): firmware-utils: add new tool mktplinkfw3 for the new TP-LINK Pharos devices (CPE210/220/510/520

[OpenWrt-Devel] [RFC 1/2] firmware-utils: add new tool mktplinkfw3 for the new TP-LINK Pharos devices (CPE210/220/510/520)

2014-11-21 Thread Matthias Schiffer
in the mktplinkfw3 source code. Furthermore, the bootloader expects the kernel image as an ELF executable. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/mktplinkfw3.c | 469

[OpenWrt-Devel] [RFC 2/2] ar71xx: add support for TP-LINK CPE210/220/510/520

2014-11-21 Thread Matthias Schiffer
This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These devices are very similar to the Ubiquiti NanoStations, but with better specs: faster CPU, more RAM, 2x2 MIMO. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh

[OpenWrt-Devel] [PATCH] tools/mklibs: add missing unistd.h in readelf/elf.cpp

2012-04-10 Thread Matthias Schiffer
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close(). Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- tools/mklibs/patches/011-missing_unistd.patch | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 tools/mklibs/patches/011

[OpenWrt-Devel] [PATCH] Fix ccache build

2012-04-20 Thread Matthias Schiffer
argument. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- tools/ccache/Makefile |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index 9bc0b59..6506c1d 100644 --- a/tools/ccache/Makefile +++ b/tools

[OpenWrt-Devel] [PATCH v2 1/2] tools/ccache: fix PKG_CAT

2012-04-20 Thread Matthias Schiffer
r31166 changed the package format from gzip to xz, but didn't change PKG_CAT, causing the unpacking to fail. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- tools/ccache/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ccache/Makefile b

Re: [OpenWrt-Devel] [PATCH] Fix ccache build

2012-04-20 Thread Matthias Schiffer
Sure, here is a new version. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH v2 2/2] tools/ccache: fix build when no ccache is installed on the host system

2012-04-20 Thread Matthias Schiffer
configure fails if no ccache is installed on the system, as the default configure command sets CC=$(HOSTCC), which is ccache gcc when ccache is enabled. Fix this by setting CC=$(HOSTCC_NOCACHE) as configure argument. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- tools

[OpenWrt-Devel] [PATCH] ar71xx: TL-WR741NDv4: add WLAN LED config

2012-04-21 Thread Matthias Schiffer
On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/uci-defaults/leds |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/base-files/etc/uci

[OpenWrt-Devel] [PATCH] Update BIRD to version 1.3.7

2012-05-04 Thread Matthias Schiffer
Besides some nice new featues like an include command in config files, the possibility to define protocol instances from templates, and support for BGP peerings on link-local IPv6 addresses the new release also contains lots of bugfixes. Signed-off-by: Matthias Schiffer mschif...@universe

Re: [OpenWrt-Devel] Any known issues with Luci logins (r31835)

2012-05-21 Thread Matthias Schiffer
Hi, On 05/22/2012 12:52 AM, Jim Henderson wrote: For the past few days, I've been updating to the latest SVN code, and I'm seeing that when I try to login to luci, I get a failed username/password. I can ssh to the router (pubkey authentication), but changing the root password doesn't

Re: [OpenWrt-Devel] [PATCH] Update BIRD to version 1.3.7

2012-06-18 Thread Matthias Schiffer
Has already been applied as r31719. Regards, Matthias On 06/19/2012 01:52 AM, Jo-Philipp Wich wrote: Hi, $ GET http://patchwork.openwrt.org/patch/2155/mbox/ | git am Applying: Update BIRD to version 1.3.7 error: patch failed: net/bird/Makefile:1 error: net/bird/Makefile: patch does not

[OpenWrt-Devel] [PATCH] batman-adv: don't add bridge interfaces that are not up

2012-08-03 Thread Matthias Schiffer
uci will return the bridge ports instead of the name of the bridge interface for network.$iface.ifname when the bridge isn't up yet, causing the wrong interfaces to be added to the mesh interface in addition to the bridge interface itself. Signed-off-by: Matthias Schiffer mschif...@universe

[OpenWrt-Devel] [PATCH] ar71xx: add support for TP-Link TL-WDR3600

2012-08-18 Thread Matthias Schiffer
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has only two antennas. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- Hi, I just got one of these routers and made OpenWRT run on it - I hope it's not to late to get this in for Attitude Adjustment

[OpenWrt-Devel] [PATCH netifd] Allow setting the UCI config path on the command line

2014-03-04 Thread Matthias Schiffer
Add a -c switch which allows setting an alternative UCI path instead of using the libuci default. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- Hi, this is a little patch we cooked up during the development of our new Freifunk firmware, Project Gluon [1]. Use case: Our

Re: [OpenWrt-Devel] [PATCH netifd] Allow setting the UCI config path on the command line

2014-03-18 Thread Matthias Schiffer
Ping? On 03/04/2014 06:37 PM, Matthias Schiffer wrote: Add a -c switch which allows setting an alternative UCI path instead of using the libuci default. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- Hi, this is a little patch we cooked up during the development of our

[OpenWrt-Devel] [PATCH 1/3] mac80211: ath9k: add support for QCA953x

2014-03-31 Thread Matthias Schiffer
This adds the following patches by Sujith Manoharan from ath9k-devel: ath9k: Add QCA953x WMAC platform support ath9k: Disable AR_INTR_SYNC_HOST1_FATAL for QCA953x ath9k: Fix temperature compensation Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- .../patches/567-ath9k-qca953x

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add support for the TP-LINK TL-WR841N/ND v9

2014-03-31 Thread Matthias Schiffer
Everything seems to be working fine. Potential issues: * VLAN port IDs are reversed with regard to the numbers on the case. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx/base-files/etc/uci-defaults

[OpenWrt-Devel] [PATCH 2/3] ar71xx: add support for QCA953x SoC

2014-03-31 Thread Matthias Schiffer
(my test system doesn't have USB) * ? (I have no idea if the QCA953x has any other features I don't know about that aren't used by the TL-WR841N v9) Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/config-3.10| 1 + .../linux/ar71xx/files

Re: [OpenWrt-Devel] [PATCH 1/3] mac80211: ath9k: add support for QCA953x

2014-04-06 Thread Matthias Schiffer
Ping. I'm getting quite a few requests by people who want to try out these patches, as many people already have a TL-WR841N/ND v9. It would be nice if the support could land in trunk ASAP... On 04/01/2014 06:16 AM, Matthias Schiffer wrote: This adds the following patches by Sujith Manoharan from

[OpenWrt-Devel] Looking for advice: Bad TX level on the TL-WR841 v9

2014-04-20 Thread Matthias Schiffer
Hi, I recently contributed the patches to support the TL-WR841 v9, and I'm getting reports that the TX quality of these devices is terrible on OpenWrt (RX looks fine). iwinfo reports Tx-Power: 19 dBm, and in the next room I get about -80 dBm when the device is running OpenWrt, while I get about

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL)

2013-03-10 Thread Matthias Schiffer
On 03/10/2013 05:05 PM, Daniel Golle wrote: On 03/10/2013 05:37 PM, Bastian Bittorf wrote: * Daniel Golle daniel.go...@gmail.com [10.03.2013 16:24]: However, the law over here says that it should not be up to the user to decide that. i understand your thoughts, but linux/openwrt is not

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL)

2013-03-10 Thread Matthias Schiffer
On 03/10/2013 06:11 PM, Daniel Golle wrote: On 03/10/2013 06:56 PM, Matthias Schiffer wrote: By the way, this is not entirely correct... a lot of the TP-Link routers I've bought in Germany have the regdomain set to US in the art partitition (the stock firmware gives me a list with many

[OpenWrt-Devel] AA backport request: r34577 ar71xx: TP-LINK also has a family TL-WDR

2013-09-17 Thread Matthias Schiffer
Hi, can r34577 be backported to the Attitude Adjustment branch? We're currently working on an automated update system for our AA-based firmware, and without this patch TL-WDR models aren't recognized correctly. signature.asc Description: OpenPGP digital signature

[OpenWrt-Devel] [PATCH 2/3] Update QuickTun to version 2.1.6

2011-04-05 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- net/quicktun/Makefile |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/net/quicktun/Makefile b/net/quicktun/Makefile index 9fb8774..d629b02 100644 --- a/net/quicktun/Makefile +++ b/net/quicktun

[OpenWrt-Devel] [PATCH 3/3] Improve QuickTun init script The new init script won't fail if quicktun takes more than 1 second to start.

2011-04-05 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- net/quicktun/files/quicktun.init | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/net/quicktun/files/quicktun.init b/net/quicktun/files/quicktun.init index ae7bdd6..82caa26 100644 --- a/net

Re: [OpenWrt-Devel] [PATCH] Updated versions of NaCl and Quicktun

2011-04-05 Thread Matthias Schiffer
Sure, no problem... I just considered these changes trivial enough to be commited as one. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 1/3] Update NaCl to version 20110221

2011-04-05 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- libs/nacl/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/nacl/Makefile b/libs/nacl/Makefile index bdc6fd3..192b9a9 100644 --- a/libs/nacl/Makefile +++ b/libs/nacl/Makefile @@ -1,12

[OpenWrt-Devel] Quicktun package

2011-01-15 Thread Matthias Schiffer
flash it's a nice alternative to OpenVPN etc. as it doesn't need OpenSSL or other huge libraries. In fact, the quicktun binary is 50KB with NaCL statically linked in, thus depending only on libc. Matthias Schiffer nacl.tar.gz Description: application/gzip quicktun.tar.gz Description

[OpenWrt-Devel] [PATCH v2 1/2] firmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices (CPE210/220/510/520)

2014-11-25 Thread Matthias Schiffer
in the source code. Furthermore, the bootloader expects the kernel image as an ELF executable. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- tools/firmware-utils/Makefile| 1 + tools/firmware-utils/src/tplink-safeloader.c | 538 +++ 2

[OpenWrt-Devel] [PATCH v2 0/2] TP-LINK CPE210/220/510/520

2014-11-25 Thread Matthias Schiffer
the mappings used on Ubiquiti NanoStations. Matthias Schiffer (2): firmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices (CPE210/220/510/520) ar71xx: add support for TP-LINK CPE210/220/510/520 target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx

[OpenWrt-Devel] [PATCH v2 2/2] ar71xx: add support for TP-LINK CPE210/220/510/520

2014-11-25 Thread Matthias Schiffer
This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These devices are very similar to the Ubiquiti NanoStations, but with better specs: faster CPU, more RAM, 2x2 MIMO. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh

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

2014-12-23 Thread Matthias Schiffer
will cause linking with static convenience libraries to fail. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- toolchain/binutils/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 820b5f8..8e661b9 100644

[OpenWrt-Devel] [RFC] build: use gcc-provided ar, nm and ranlib where appropriate

2014-12-25 Thread Matthias Schiffer
-by: Matthias Schiffer mschif...@universe-factory.net --- This RFC is a followup to my previous patch binutils: enable plugin support which actually fixes the build of my package fastd with GCC 4.9. I've checked that it doesn't cause any build regressions with any of the GCC versions 4.6, 4.8 and 4.9

[OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2014-12-29 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 ++ .../ar71xx/base-files/lib/upgrade/platform.sh | 2 + target/linux/ar71xx/image/Makefile

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2014-12-29 Thread Matthias Schiffer
, Matthias Schiffer mschif...@universe-factory.net wrote: Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 ++ .../ar71xx/base-files/lib/upgrade/platform.sh

[OpenWrt-Devel] [PATCH] ar71xx: add support for the TP-LINK TL-WR941ND v5

2015-02-03 Thread Matthias Schiffer
This device is very similar to the TL-WR841N v8, only two LED GPIOs are different. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +- .../ar71xx/base-files/etc/uci-defaults/01_leds | 3 +- .../ar71xx/base-files/etc

[OpenWrt-Devel] [PATCH] ar71xx: fix board detection for TP-LINK TL-WA860RE

2015-01-16 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index a12101a..78a0cef 100755

[OpenWrt-Devel] [PATCH] build: explicitly unexport CONFIG_SITE

2015-01-15 Thread Matthias Schiffer
unexporting CONFIG_SITE. The explicit export for the target builds overrides the unexport, so the target builds will still correctly get the site config. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- This bug was reported on openwrt-devel by Luiz Angelo Daros de Luca some

Re: [OpenWrt-Devel] [PATCH netifd] bridge: allow enabling or disabling the multicast querier independently of IGMP snooping

2015-02-17 Thread Matthias Schiffer
On 01/28/2015 11:00 PM, John Crispin wrote: On 28/01/2015 21:31, Matthias Schiffer wrote: On 01/28/2015 11:54 AM, John Crispin wrote: [...] this should not break anything with multiple ubus calls. the default behavior also wont change as we set cfg-multicast_querier = true; Please make

[OpenWrt-Devel] [PATCH netifd] bridge: allow enabling or disabling the multicast querier independently of IGMP snooping

2015-01-26 Thread Matthias Schiffer
this. The default is still the value of the 'igmp_snooping' option to maintain backwards compatiblity. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- bridge.c | 8 +++- system-linux.c | 2 +- system.h | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH netifd] bridge: allow enabling or disabling the multicast querier independently of IGMP snooping

2015-01-28 Thread Matthias Schiffer
On 01/28/2015 01:59 PM, John Crispin wrote: On 27/01/2015 03:49, Matthias Schiffer wrote: In larger networks, especially big batman-adv meshes, it may be desirable to enable IGMP snooping on every bridge without enabling the multicast querier to specifically put the querier on a well

Re: [OpenWrt-Devel] [PATCH netifd] bridge: allow enabling or disabling the multicast querier independently of IGMP snooping

2015-01-28 Thread Matthias Schiffer
On 01/28/2015 01:34 PM, John Crispin wrote: On 28/01/2015 13:30, Matthias Schiffer wrote: On 01/28/2015 11:54 AM, John Crispin wrote: change this to bridge-ifname, (cfg-igmp_snoop cfg-multicast_querier) ? 1 : 0); this should not break anything with multiple ubus calls. the default

[OpenWrt-Devel] [PATCH] ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address

2015-01-28 Thread Matthias Schiffer
Fix the WLAN MAC address to match the one printed on the label by using the correct address from the ART instead of the address of the LAN interface. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/files/arch/mips/ath79/mach-dir-615-c1.c | 8 +--- 1

Re: [OpenWrt-Devel] [PATCH netifd] bridge: allow enabling or disabling the multicast querier independently of IGMP snooping

2015-01-28 Thread Matthias Schiffer
On 01/28/2015 11:54 AM, John Crispin wrote: Hi, On 27/01/2015 03:49, Matthias Schiffer wrote: In larger networks, especially big batman-adv meshes, it may be desirable to enable IGMP snooping on every bridge without enabling the multicast querier to specifically put the querier on a well

Re: [OpenWrt-Devel] [PATCH netifd] bridge: allow enabling or disabling the multicast querier independently of IGMP snooping

2015-01-28 Thread Matthias Schiffer
On 01/28/2015 11:54 AM, John Crispin wrote: Hi, On 27/01/2015 03:49, Matthias Schiffer wrote: In larger networks, especially big batman-adv meshes, it may be desirable to enable IGMP snooping on every bridge without enabling the multicast querier to specifically put the querier on a well

[OpenWrt-Devel] [PATCH v2] x86: use PARTUUID instead explicitly specifying the device by default

2015-03-15 Thread Matthias Schiffer
This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias Schiffer

[OpenWrt-Devel] [PATCH] ar71xx: detect GL.iNet model

2015-03-16 Thread Matthias Schiffer
There are two versions of the GL.iNet, the 6408A and the 6416A. The only difference is the flash size. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 14 ++ 1 file changed, 14 insertions(+) diff --git a/target/linux

[OpenWrt-Devel] [PATCH] curl: fix PKG_CONFIG_DEPENDS

2015-03-18 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- package/network/utils/curl/Makefile | 66 ++--- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index

[OpenWrt-Devel] [PATCH] build: define STAMP_CONFIGURED recursively

2015-03-18 Thread Matthias Schiffer
would never match, and in consequence, the stamps were never removed. This caused packages not to be rebuilt when they should have been. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- This issue also affects Barrier Breaker. include/package.mk | 2 +- 1 file changed, 1

Re: [OpenWrt-Devel] [PATCH] ar71xx: detect GL.iNet model

2015-03-16 Thread Matthias Schiffer
On 03/16/2015 07:50 PM, Cezary Jackiewicz wrote: Dnia 2015-03-16, o godz. 18:35:55 Matthias Schiffer mschif...@universe-factory.net napisał(a): There are two versions of the GL.iNet, the 6408A and the 6416A. The only difference is the flash size. Signed-off-by: Matthias Schiffer mschif

[OpenWrt-Devel] [PATCH] ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7

2015-03-10 Thread Matthias Schiffer
ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/base

[OpenWrt-Devel] [PATCH] uClibc: fix syscall() for syscalls with 6 arguments on PowerPC

2015-03-11 Thread Matthias Schiffer
Patch from the uClibc master. Fixes the package fastd on PowerPC. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- toolchain/uClibc/patches-0.9.33.2/470-powerpc_syscall6.patch | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 toolchain/uClibc/patches

Re: [OpenWrt-Devel] UCI overlay proposal

2015-03-06 Thread Matthias Schiffer
On 03/05/2015 08:25 PM, David Lang wrote: On Thu, 05 Mar 2015 13:36:10 +0100, Matthias Schiffer wrote: Hi, during the development of our Freifunk firmware framework Gluon we've come to the conclusion that the current UCI configuration format using static files doesn't always fit our needs

[OpenWrt-Devel] [PATCH] ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions

2015-03-14 Thread Matthias Schiffer
While the switch positions aren't explicitly labeled as on and off, we've heard complaints about them being wrong. This patch changes the handling to match the stock firmware. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/files/arch/mips/ath79/mach-tl

[OpenWrt-Devel] [PATCH] x86: use PARTUUID instead explicitly specifying the device by default

2015-03-10 Thread Matthias Schiffer
This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. This unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-03-11 Thread Matthias Schiffer
, Matthias Schiffer wrote: Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 ++ .../ar71xx/base-files/lib/upgrade/platform.sh | 2 + target/linux/ar71xx

Re: [OpenWrt-Devel] [OpenWrt-Devel,kernel] wnr2200 gpio

2015-03-13 Thread Matthias Schiffer
There are still a few issues with this patch. The commit message wnr2200 gpio doesn't really say much. I'd recommend changing it to ar71xx: fix LED GPIO definitions for NETGEAR WNR2200 or something similar. The Signed-off-by line is still missing. The patch doesn't apply like this using

Re: [OpenWrt-Devel] [PATCH] ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC

2015-03-25 Thread Matthias Schiffer
On 03/25/2015 05:46 PM, Hannu Nyman wrote: I tested your code with my old WNDR3700 (v1), WNDR3700v2 and WNDR3800. All three routers got detected ok. My v2 is old and its art contents stop at byte 0x28, so it uses your \xff branch. Ah, can you send my a dump of your ART? Then I can hopefully

[OpenWrt-Devel] [PATCH v2] ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC

2015-03-29 Thread Matthias Schiffer
$model ] check was dropped as there is no way to actually hit this unless no ART partition is found at all. The awk command was carefully crafted to work both with gawk and the (horribly broken) busybox awk. Fixes #18992. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- v2: * Fix

[OpenWrt-Devel] [PATCH] build: fix CMake assembly builds with ccache

2015-03-28 Thread Matthias Schiffer
-by: Matthias Schiffer mschif...@universe-factory.net --- include/cmake.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/cmake.mk b/include/cmake.mk index c1fd7d9..49fba26 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -49,6 +49,8 @@ define Build/Configure/Default

[OpenWrt-Devel] UCI overlay proposal

2015-03-05 Thread Matthias Schiffer
Hi, during the development of our Freifunk firmware framework Gluon we've come to the conclusion that the current UCI configuration format using static files doesn't always fit our needs. Therefore we propose a new feature we've called UCI overlays. The basic idea is that we'd like to provide UCI

[OpenWrt-Devel] [PATCH v3] x86: use PARTUUID instead explicitly specifying the device by default

2015-03-23 Thread Matthias Schiffer
This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias Schiffer

[OpenWrt-Devel] [PATCH] x86_64: fix PARTUUID format with leading zeros

2015-03-23 Thread Matthias Schiffer
Otherwise the root device won't be found in 1/16 of the generated images (whenever the signature starts with a zero digit). Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/x86_64/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH] ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC

2015-03-23 Thread Matthias Schiffer
their model name in the ART and thus use the * branch as well. The [ -z $model ] check was dropped as there is no way to actually hit this unless no ART is found at all. The awk command was carefully crafted to work both with gawk and the (horribly broken) busybox awk. Signed-off-by: Matthias Schiffer

[OpenWrt-Devel] [PATCH 2/2] ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images

2015-04-29 Thread Matthias Schiffer
Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/image/Makefile | 8 ++-- 1 file changed, 2 insertions

[OpenWrt-Devel] [PATCH v2 1/4] generic: move of_get_mac_address_mtd() patches to generic

2015-04-30 Thread Matthias Schiffer
The ability to read MAC addresses from MTD is useful for other targets besides ramips and lantiq as well. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- .../681-NET-add-of_get_mac_address_mtd.patch | 75 + .../681-NET-add

[OpenWrt-Devel] [PATCH v2 4/4] mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entry

2015-04-30 Thread Matthias Schiffer
This also changes the MAC address to one of the adresses actually used by the stock firmware on one of the ethernet interfaces. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/mpc85xx/base-files/etc/uci-defaults/02_network| 2 -- target/linux/mpc85xx

[OpenWrt-Devel] [PATCH v2 2/4] mpc85xx: move newly created files from patch files to files directory

2015-04-30 Thread Matthias Schiffer
This will make these files much more maintainable. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- .../files/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c | 168 +++ .../files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 212 .../arch/powerpc/platforms/85xx

[OpenWrt-Devel] [PATCH v2 3/4] mpc85xx: gianfar: add mtd-mac-address support

2015-04-30 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- .../101-net-gianfar-use-mtd-mac-address.patch | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 target/linux/mpc85xx/patches-3.18/101-net-gianfar-use-mtd-mac-address.patch diff --git

[OpenWrt-Devel] [PATCH 2/3] mpc85xx: gianfar: add mtd-mac-address support

2015-04-29 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- .../101-NET-add-of_get_mac_address_mtd.patch | 76 ++ .../102-net-gianfar-use-mtd-mac-address.patch | 19 ++ 2 files changed, 95 insertions(+) create mode 100644 target/linux/mpc85xx/patches

[OpenWrt-Devel] [PATCH 3/3] mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entry

2015-04-29 Thread Matthias Schiffer
This also changes the MAC address to one of the adresses actually used by the stock firmware on one of the ethernet interfaces. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/mpc85xx/base-files/etc/uci-defaults/02_network| 2 -- target/linux/mpc85xx

Re: [OpenWrt-Devel] [PATCH 2/3] mpc85xx: gianfar: add mtd-mac-address support

2015-04-30 Thread Matthias Schiffer
On 04/30/2015 11:59 AM, Jonas Gorski wrote: Hi, On Thu, Apr 30, 2015 at 4:00 AM, Matthias Schiffer mschif...@universe-factory.net wrote: Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- .../101-NET-add-of_get_mac_address_mtd.patch | 76

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-05-11 Thread Matthias Schiffer
On 03/21/2015 10:16 AM, Stefan Rompf wrote: Hi Sergey, You should be a wizard to reveal hw protocol without touching hw :) I cannot say 'Mischief managed!' by now, but it's slowly making progress ;-) Unlikely that iwconfig changes something directly, I would bet on the driver.

[OpenWrt-Devel] [PATCH] ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1

2015-06-03 Thread Matthias Schiffer
The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a workaround to avoid confusing users. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 1 file changed, 4 insertions(+) diff --git a/target/linux

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Matthias Schiffer
On 06/10/2015 02:01 PM, Bastian Bittorf wrote: * thomas.lan...@lantiq.com thomas.lan...@lantiq.com [10.06.2015 13:59]: I think this will not work, as /etc/profile (and these additional files) is expected to be executed in the current shell context. Otherwise adding shell variables or

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Matthias Schiffer
On 06/10/2015 04:27 PM, Hendrik Lüth wrote: Am 10.06.2015 um 14:31 schrieb Bastian Bittorf: * Matthias Schiffer mschif...@universe-factory.net [10.06.2015 14:26]: Why should errors in these files cause login issues? This is shell and there's no -e, problematic lines will print an error

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for tp-link wr740n v5.0 (EU)

2015-06-21 Thread Matthias Schiffer
On 06/08/2015 05:47 PM, Daniel Petre wrote: TP-Link ships wr740n v5.0 to Romania (so probably everywhere except China) with 4 MB flash and 32 MB memory (confirmed by their local support). This patch adds support for the v5.0 clone of v4, i just tested it on my own v5.0 router and it works.

[OpenWrt-Devel] [PATCH] ar71xx: add support for TL-WR741ND v5

2015-06-25 Thread Matthias Schiffer
This device is identical to the TL-WR740N v5, it even uses the same HWID (which wasn't the case for older TL-WR741ND revisions). Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux/ar71xx/image/Makefile | 10 +- 1 file changed, 9 insertions(+), 1 deletion

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images

2015-05-30 Thread Matthias Schiffer
Ping? On 04/29/2015 11:38 PM, Matthias Schiffer wrote: Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer mschif...@universe-factory.net --- target/linux

Re: [OpenWrt-Devel] [PATCH 1/2] ar71xx: rework patch for qca953x/956x

2015-07-06 Thread Matthias Schiffer
On 07/04/2015 10:32 PM, Christian Mehlis wrote: Am 02.07.2015 um 23:10 schrieb Matthias Schiffer: I've fixed it up using the following snippet, the Compex WPJ531 will probably need the same fix (it uses pretty much the same initialization code). Thanks Matthias, When submitting the fix

[OpenWrt-Devel] [PATCH v2 0/3] QCA953x fixes, AP143 support

2015-07-06 Thread Matthias Schiffer
Matthias Schiffer (1): ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND v9, Compex WPJ531) Miaoqing Pan (2): ar71xx: rework patch for qca953x/956x ar71xx: add support for ap143 .../ar71xx/base-files/etc/uci-defaults/02_network | 1 + target

[OpenWrt-Devel] [PATCH v2 2/3] ar71xx: rework patch for qca953x/956x

2015-07-06 Thread Matthias Schiffer
support - fix GPIO pin count to 18 - fix chained irq disabled - fix GMAC0/GMAC1 initial - fix WMAC irq number to 47 - merge the changes of dev-eth.c from the patch to file. Signed-off-by: Miaoqing Pan miaoq...@codeaurora.org Signed-off-by: Matthias Schiffer mschif...@universe

[OpenWrt-Devel] [PATCH v2 3/3] ar71xx: add support for ap143

2015-07-06 Thread Matthias Schiffer
From: Miaoqing Pan miaoq...@codeaurora.org Signed-off-by: Miaoqing Pan miaoq...@codeaurora.org --- .../ar71xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + target/linux/ar71xx/config-3.18| 1 +

  1   2   3   4   >