Re: [PATCH v2] vxlan: allow for dynamic source ip selection

2020-11-27 Thread Matthias Schiffer
On 11/24/20 4:26 AM, Johannes Kimmel wrote: > By setting 'auto', the zero address or the empty string as source > address (option ipaddr, option ip6addr), vxlan will choose one > dynamically. This helps in setups where a wan ip or prefix changes. > > This corresponse to setting up an vxlan tunnel

Re: [PATCH 1/2] mac80211: convert UniFi Outdoor+ HSR support to OF

2021-01-23 Thread Matthias Schiffer
On 1/23/21 1:58 AM, David Bauer wrote: Enable support for the Ubiquiti UniFi Outdoor+ RF filter via device-tree. The old way of using platform data is not required anymore, as it was only used on the now removed ar71xx target. Signed-off-by: David Bauer --- .../ath/551-ath9k_ubnt_uap_plus_hsr

[PATCH opkg] libopkg: pkg_hash: prefer original packages to satisfy dependencies

2021-03-12 Thread Matthias Schiffer
by name and use the last entry by default, so "foo" would be used to satisfy a dependency on "bar". Change the logic to prefer the actual package "bar" in this case. Signed-off-by: Matthias Schiffer --- libopkg/pkg_hash.c | 14 -- 1 file changed, 12 insertion

Re: [PATCH opkg] libopkg: pkg_hash: prefer original packages to satisfy dependencies

2021-03-17 Thread Matthias Schiffer
On 3/13/21 3:52 AM, Daniel Golle wrote: On Sat, Mar 13, 2021 at 02:00:40AM +0100, Matthias Schiffer wrote: When one package "provides" another non-virtual package, prefer to use the original package instead of the providing package. Example: Consider packages "foo" a

[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 --- target/linux/ar71xx/image/Makefile | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 1/2] ar71xx: add Image/BuildLoaderPatched macro

2015-04-29 Thread Matthias Schiffer
he TP-LINK CPE series). Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/image/Makefile | 22 ++ 1 file changed, 22 insertions(+) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index e4f6c71..06e2c0d 100644 --- a/target/linux/ar71xx/

[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 --- target/linux/mpc85xx/base-files/etc/uci-defaults/02_network| 2 -- target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl

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

2015-04-29 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- .../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-3.18/101-NET-add

[OpenWrt-Devel] [PATCH 1/3] mpc85xx: move newly created files from patch files to files directory

2015-04-29 Thread Matthias Schiffer
This will make these files much more maintainable. Signed-off-by: Matthias Schiffer --- .../files/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c | 168 +++ .../files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 212 .../arch/powerpc/platforms/85xx/tl_wdr4900_v1.c| 145 ++ .../140

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 > wrote: >> Signed-off-by: Matthias Schiffer >> --- >> .../101-NET-add-of_get_mac_address_mtd.patch | 76 >> ++ >> ...

[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 --- .../681-NET-add-of_get_mac_address_mtd.patch | 75 + .../681-NET-add-of_get_mac_address_mtd.patch | 75

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

2015-04-30 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- .../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 a/target/linux/mpc85xx/patches-3.18

[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 --- .../files/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c | 168 +++ .../files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 212 .../arch/powerpc/platforms/85xx/tl_wdr4900_v1.c| 145 ++ .../140

[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 --- target/linux/mpc85xx/base-files/etc/uci-defaults/02_network| 2 -- target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl

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.

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 > --- > target/linux/a

[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 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh

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 [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 extending $PATH will not w

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 [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

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 --- target/linux/ar71xx/image/Makefile | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/target/

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

2015-07-02 Thread Matthias Schiffer
On 07/02/2015 08:49 AM, miaoq...@qti.qualcomm.com wrote: > From: Miaoqing Pan > > Patch cherry-picked from the following location: > https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/commit/?h=release/coconut_ioe4531_2.0&id=5c357bf6c763e4140dddcc9a3bc5f005525a9c0e > > Changelist, >

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). >

[OpenWrt-Devel] [PATCH v2 1/3] ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND v9, Compex WPJ531)

2015-07-06 Thread Matthias Schiffer
The initialization routines for these boards were relying on some (wrong) defaults for the QCA953x ethernet. Make these defaults explicit to prevent breaking them when the QCA953x defaults are fixed. Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n

[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 3/3] ar71xx: add support for ap143

2015-07-06 Thread Matthias Schiffer
From: Miaoqing Pan Signed-off-by: Miaoqing Pan --- .../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 + .../ar71xx/files/arch/mips/ath79/mach-ap143.c | 142 +++

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

2015-07-06 Thread Matthias Schiffer
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 Signed-off-by: Matthias Schiffer --- .../linux/ar71xx/files/arch/mips/ath79/dev-eth.c |

[OpenWrt-Devel] [PATCH] ebtables: fix miscompilation on 64bit targets

2015-07-09 Thread Matthias Schiffer
used) and ensures netinet/ether.h is included early. Signed-off-by: Matthias Schiffer --- A similar fix is necessary in the 15.05 tree, but as r46161 has not been backported, this patch won't work without changes. Of course, one option would be to remove musl and all musl-related patches from

Re: [OpenWrt-Devel] Raspberry Pi 2 sysupgrade

2015-07-10 Thread Matthias Schiffer
On 07/08/2015 07:42 PM, Bruno Randolf wrote: > Hi! > > I have the below change to add rudimentary support for sysupgrade on the > Raspberry Pi. I looked at the way platform_copy_config() is implemented > for x86 and tried to do the same, but I get the following error on mount: > > mount: mounting

[OpenWrt-Devel] Hard float ABI for BCM2708/BCM2709

2015-07-11 Thread Matthias Schiffer
Hi, I've noticed that OpenWrt currently uses the soft-float ABI in the Raspberry Pi images. Is there a specific reason hard float is not used, even though most other distributions like Raspbian have switched to it? I tried adding "fpu" to FEATURES to enable hard-float, and the generated images see

Re: [OpenWrt-Devel] Hard float ABI for BCM2708/BCM2709

2015-07-11 Thread Matthias Schiffer
On 07/11/2015 07:21 PM, Florian Fainelli wrote: > Le 11 juil. 2015 09:52, "Matthias Schiffer" > a écrit : >> >> Hi, >> I've noticed that OpenWrt currently uses the soft-float ABI in the >> Raspberry Pi images. Is there a specific reason hard

[OpenWrt-Devel] [PATCH 2/2] sunxi: respect CONFIG_TARGET_IMAGES_GZIP

2015-07-16 Thread Matthias Schiffer
The ext4 images are huge uncompressed. Signed-off-by: Matthias Schiffer --- target/linux/sunxi/image/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 19ab935..d3f4409 100644 --- a/target/linux/sunxi

[OpenWrt-Devel] [PATCH 1/2] sunxi: fix uboot install location

2015-07-16 Thread Matthias Schiffer
Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix the ImageBuilder. Similar fixes are necessary for many (all?) other uboot targets. Also remove the DTS copy command, BIN_DIR was unnecessarily cluttered with DTS files unrelated to the chosen profile. Signed-off-by: Matthias

Re: [OpenWrt-Devel] [RFC] brcm2708: enable hard float ABI

2015-07-17 Thread Matthias Schiffer
As I wrote in my last mail, using the same toolchain build/staging dirs with different float ABIs seems broken to me and should be fixed before any further work is done towards adding hard float support to BCM270x. After thinking a bit more about this, I came to the conclusion that the whole CONFI

Re: [OpenWrt-Devel] [PATCH 2/2] CC: brcm2708: Add gzip image compression

2015-07-17 Thread Matthias Schiffer
On 07/17/2015 07:18 PM, Bruno Randolf wrote: > Signed-off-by: Bruno Randolf > --- > target/linux/brcm2708/image/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/target/linux/brcm2708/image/Makefile > b/target/linux/brcm2708/image/Makefile > index e70bdd0..90d54bb 100644 > --

[OpenWrt-Devel] [PATCH] ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2

2015-07-22 Thread Matthias Schiffer
first non-printable character and explicitly setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will definitely work like this, even when awk supports locales and LANG is set). Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 +- 1 file changed, 1

Re: [OpenWrt-Devel] [PATCH 1/2] sunxi: fix uboot install location

2015-07-24 Thread Matthias Schiffer
On 07/24/2015 09:30 AM, John Crispin wrote: > > > On 16/07/2015 22:20, Matthias Schiffer wrote: >> -BOARDS:= \ >> -sun4i-a10-cubieboard \ >> -sun4i-a10-olinuxino-lime \ >> -sun4i-a10-pcduino \ >> -sun5i-a13-olinuxino \ >> -

[OpenWrt-Devel] Split kernel modules out of the base opkg repo?

2015-07-25 Thread Matthias Schiffer
Hi, I'd like to propose to split the current "base" opkg repo into two, one for userspace applications and one for kernel modules. This would greatly simplify providing your own kernel module repository with modules for a customized kernel, while still being able to rely on the upstream "base" repo

Re: [OpenWrt-Devel] Split kernel modules out of the base opkg repo?

2015-07-25 Thread Matthias Schiffer
On 07/25/2015 03:55 PM, John Crispin wrote: > > > On 25/07/2015 14:46, Matthias Schiffer wrote: >> Hi, >> I'd like to propose to split the current "base" opkg repo into two, one >> for userspace applications and one for kernel modules. This would >

Re: [OpenWrt-Devel] Split kernel modules out of the base opkg repo?

2015-07-25 Thread Matthias Schiffer
On 07/25/2015 06:16 PM, Florian Fainelli wrote: > On Jul 25, 2015 7:39 AM, "Matthias Schiffer" > wrote: >> >> On 07/25/2015 03:55 PM, John Crispin wrote: >>> >>> >>> On 25/07/2015 14:46, Matthias Schiffer wrote: >>>> Hi, >>&

Re: [OpenWrt-Devel] [PATCH 1/2] sunxi: fix uboot install location

2015-08-02 Thread Matthias Schiffer
On 07/31/2015 06:06 PM, Zoltan HERPAI wrote: > On Sun, 26 Jul 2015, Zoltan HERPAI wrote: > >> On Fri, 24 Jul 2015, John Crispin wrote: >> >>> On 16/07/2015 22:20, Matthias Schiffer wrote: >>>> -BOARDS:= \ >>>> -sun4i-a10-cubieboard \ >&

[OpenWrt-Devel] [PATCH] ar71xx: fix TP-LINK TL-WR941ND v6 support

2015-08-05 Thread Matthias Schiffer
and no USB...). Fix this by adding proper support for the device. Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +- .../ar71xx/base-files/etc/uci-defaults/01_leds | 9 ++ .../ar71xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/ar71xx/

Re: [OpenWrt-Devel] [PATCH] ar71xx: fix TP-LINK TL-WR941ND v6 support

2015-08-05 Thread Matthias Schiffer
Please ignore this patch for now, the WLAN isn't working correctly, I'll have a look at that first. Matthias On 08/06/2015 02:40 AM, Matthias Schiffer wrote: > The images currently generated for the TL-WR941ND v6 try to treat it like > a TL-WDR3500, which doesn't make any

[OpenWrt-Devel] Unable to get TP9343/QCA9561 WLAN working with ath9k (was: ar71xx: fix TP-LINK TL-WR941ND v6 support)

2015-08-06 Thread Matthias Schiffer
Hi, as I've already written on the OpenWrt ML, I'm currently porting OpenWrt to the TP-LINK TL-WR941ND v6, which uses a TP9343 SoC (which is confusingly part of the QCA956x series). The WMAC identifies as QCA9561 (0x600 rev 0). I'm unable to get the WLAN working at all. The TX seems to work fine (

[OpenWrt-Devel] [PATCH] base-files: default_postinst: propagate the real postinst return code

2015-08-07 Thread Matthias Schiffer
Using the postinst script for sanity checks and expecting opkg to fail if the postinst didn't return 0 was possible in Barrier Breaker, propagate the real postinst return code through default_postinst to restore this behaviour. Signed-off-by: Matthias Schiffer --- package/base-files/file

[OpenWrt-Devel] [PATCH v4 1/4] sunxi: don't copy DTS files to BIN_DIR

2015-08-13 Thread Matthias Schiffer
The DTS files aren't useful (other targets don't copy them either) and clutter BIN_DIR with files unrelated to the chosen profile. Signed-off-by: Matthias Schiffer --- target/linux/sunxi/image/Makefile | 30 +- 1 file changed, 5 insertions(+), 25 deletion

[OpenWrt-Devel] [PATCH v4 2/4] sunxi: fix uboot install location

2015-08-13 Thread Matthias Schiffer
Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix ImageBuilder. Similar fixes are necessary for many (all?) other uboot targets. Signed-off-by: Matthias Schiffer --- package/boot/uboot-sunxi/Makefile | 14 +++--- target/linux/sunxi/image/Makefile | 4 ++-- 2 files

[OpenWrt-Devel] [PATCH v4 4/4] sunxi: respect CONFIG_TARGET_IMAGES_GZIP

2015-08-13 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- target/linux/sunxi/image/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 45e8dea..905188b 100644 --- a/target/linux/sunxi/image/Makefile +++ b/target/linux/sunxi

[OpenWrt-Devel] [PATCH v4 3/4] sunxi: create KDIR_TMP, build boot.img in it

2015-08-13 Thread Matthias Schiffer
d-off-by: Matthias Schiffer --- target/linux/sunxi/image/Makefile | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 19ab935..45e8dea 100644 --- a/target/linux/sunxi/image/Makefile

[OpenWrt-Devel] [PATCH 0/2] Avoid unnecessary libopenssl build dependencies

2015-08-28 Thread Matthias Schiffer
Hi, these two patches allow building OpenWrt in its default configuration without having to download and build libopenssl (which seems desirable as the OpenSSL download links break so often). Matthias Schiffer (2): opkg: work around unconditional libopenssl build dependency hostapd: work

[OpenWrt-Devel] [PATCH 2/2] hostapd: work around unconditional libopenssl build dependency

2015-08-28 Thread Matthias Schiffer
As the OpenWrt build system only resolves build dependencies per directory, all hostapd variants were causing libopenssl to be downloaded and built, not only wpad-mesh. Fix this by applying the same workaround as in ustream-ssl. Signed-off-by: Matthias Schiffer --- package/network/services

[OpenWrt-Devel] [PATCH 1/2] opkg: work around unconditional libopenssl build dependency

2015-08-28 Thread Matthias Schiffer
As the OpenWrt build system only resolves build dependencies per directory, all opkg variants were causing libopenssl to be downloaded and built, not only opkg-smime. Fix this by applying the same workaround as in ustream-ssl. Signed-off-by: Matthias Schiffer --- package/system/opkg/Makefile

Re: [OpenWrt-Devel] [PATCH 4/4] mac80211: ath9k: enable hw manual peak calibration for QCA9561

2015-09-01 Thread Matthias Schiffer
On 09/01/2015 06:21 AM, miaoq...@qti.qualcomm.com wrote: > From: Miaoqing Pan > > This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/ > 2015-August/034979.html. As the peak detect calibration is set > incorrectly. > > Signed-off-by: Miaoqing Pan Tested-

Re: [OpenWrt-Devel] musl-1.1.10.tar.gz md5sum doesn't match

2015-09-05 Thread Matthias Schiffer
Your .config doesn't match the current OpenWrt trunk (the musl version number is set in .config). Just run `make oldconfig` (or `make menuconfig` and save without changing anything) to fix it. On 09/06/2015 12:23 AM, Derek Werthmuller wrote: > Not sue where the Makefile is for this package, but I

Re: [OpenWrt-Devel] [PATCH] CC: ar71xx: add support for the TP-LINK TL-WR1043ND v3

2016-02-07 Thread Matthias Schiffer
On 02/07/2016 05:29 AM, Sven Roederer wrote: > The hardware of the v3 is identical to the v2. > > Based-on-patch-by: nbd (b9d5ee8) > > - Backport to CC > - add TPL-WR1043v3 to list of supported boards in config-menu > - was tested for all 3 boards by freifunk-community Berlin > > Signed-off-by:

[OpenWrt-Devel] Weird ethernet setup on DIR-505

2016-02-28 Thread Matthias Schiffer
Hi, I've noticed that the DIR-505 has a very weird network setup: (1) The kernel sets up eth0 and eth1; the DIR-505 has only one ethernet port though, so eth0 is always dead. /etc/config/network is setup to only use eth1. (2) The single status LED is currently abused as ethernet traffic indicator.

[OpenWrt-Devel] [PATCH 1/3] firmware-utils: mkfwimage: add -Wall, fix obvious bugs causing compile warnings

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer --- tools/firmware-utils/Makefile| 2 +- tools/firmware-utils/src/mkfwimage.c | 12 +--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index 7a4403c..2573d8c 100644

[OpenWrt-Devel] [PATCH 2/3] ar71xx, firmware-utils: split ubdev01 flash layout from XM

2016-02-29 Thread Matthias Schiffer
The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer --- target/linux/ar71xx/image/Makefile | 2 +- tools/firmware-utils/src/mkfwimage.c | 6 ++ 2 files changed, 7 insertions(+), 1

[OpenWrt-Devel] [PATCH 3/3] firmware-utils: mkfwimage: fix firmware_max_length for XM layout

2016-02-29 Thread Matthias Schiffer
ffect.) Fix all of this by setting the correct flash layout also used by the stock firmware. Flashing has been tested from both firmware 5.5.x and 5.6.x. The fixed layout also matches the mtdparts defined by OpenWrt. Signed-off-by: Matthias Schiffer --- tools/firmware-utils/src/mkfwimage.c | 2 +-

[OpenWrt-Devel] [PATCH CC] kernel: take bcm47xx_nvram.h from kernel and not backports

2016-02-29 Thread Matthias Schiffer
of this code will be used. Reported-by: Hante Meuleman Signed-off-by: Hauke Mehrtens [Backport of r47467. The recent mac80211 backport was missing this patch, breaking the build of the brcmfmac module] Signed-off-by: Matthias Schiffer --- This fixes the compile failure of the brcmfmac module

[OpenWrt-Devel] [PATCH CC 00/32] The CC backport wishlist

2016-02-29 Thread Matthias Schiffer
Hi, nbd asked for suggestions for patches to backport to CC, so here I deliver the set of patches we're currently carrying in Gluon and that I deem worthy for backporting. See below for some additional comments regarding the patches. We also carry two kernel bugfixes backported from 4.x to 3.18. W

[OpenWrt-Devel] [PATCH CC 02/32] ar71xx: add support for TL-WR741ND v5

2016-02-29 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 Backport of r46238 --- target/linux/ar71xx/image/Makefile | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

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

2016-02-29 Thread Matthias Schiffer
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. Signed-off-by: Daniel Petre Backport of r46115 --

[OpenWrt-Devel] [PATCH CC 03/32] sunxi: don't copy DTS files to BIN_DIR

2016-02-29 Thread Matthias Schiffer
The DTS files aren't useful (other targets don't copy them either) and clutter BIN_DIR with files unrelated to the chosen profile. Signed-off-by: Matthias Schiffer Backport of r46604 --- target/linux/sunxi/image/Makefile | 30 +- 1 file changed, 5 inserti

[OpenWrt-Devel] [PATCH CC 04/32] sunxi: fix uboot install location

2016-02-29 Thread Matthias Schiffer
Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix ImageBuilder. Similar fixes are necessary for many (all?) other uboot targets. Signed-off-by: Matthias Schiffer Backport of r46605 --- package/boot/uboot-sunxi/Makefile | 15 --- target/linux/sunxi/image/Makefile

[OpenWrt-Devel] [PATCH CC 05/32] sunxi: respect CONFIG_TARGET_IMAGES_GZIP

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer Backport of r46608 --- target/linux/sunxi/image/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 19ab935..d3f4409 100644 --- a/target/linux/sunxi/image/Makefile +++ b

[OpenWrt-Devel] [PATCH CC 06/32] odhcp6c: add option "sourcefilter" to disable source filter

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Steven Barth Backport of r46408 --- package/network/ipv6/odhcp6c/Makefile| 2 +- package/network/ipv6/odhcp6c/files/dhcpv6.script | 2 +- package/network/ipv6/odhcp6c/files/dhcpv6.sh | 6 -- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package

[OpenWrt-Devel] [PATCH CC 07/32] base-files: default_postinst: propagate the real postinst return code

2016-02-29 Thread Matthias Schiffer
Using the postinst script for sanity checks and expecting opkg to fail if the postinst didn't return 0 was possible in Barrier Breaker, propagate the real postinst return code through default_postinst to restore this behaviour. Signed-off-by: Matthias Schiffer Backport of r46653 --- pa

[OpenWrt-Devel] [PATCH CC 08/32] odhcp6c: minor fixes

2016-02-29 Thread Matthias Schiffer
Better synchronize RA & DHCPv6 events Accumulate some events to avoid flooding Restart softwires for address and prefix changes Signed-off-by: Steven Barth Backport of r46518 --- package/network/ipv6/odhcp6c/Makefile| 4 ++-- package/network/ipv6/odhcp6c/files/dhcpv6.script | 7

[OpenWrt-Devel] [PATCH CC 09/32] tools/firmware-utils: tplink-safeloader: clean up code

2016-02-29 Thread Matthias Schiffer
There is no reason for the internal functions not to be static. Signed-off-by: Matthias Schiffer Backport of r47210 --- tools/firmware-utils/src/tplink-safeloader.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tools/firmware-utils/src/tplink

[OpenWrt-Devel] [PATCH CC 11/32] tools/firmware-utils: tplink-safeloader: add version 1.1 support to CPE210/220/510/520

2016-02-29 Thread Matthias Schiffer
The hardware is identical to version 1.0, add the new models to the support list. Also remove the empty line at the end of the support list, the current stock images don't have it either. Signed-off-by: Matthias Schiffer Backport of r47212 --- tools/firmware-utils/src/tplink-safeloader.

[OpenWrt-Devel] [PATCH CC 10/32] tools/firmware-utils: tplink-safeloader: fix support-list format, clean up vendor information

2016-02-29 Thread Matthias Schiffer
The first 4 bytes of the support list and the vendor information are supposed to contain the length of these fields. Signed-off-by: Matthias Schiffer Backport of r47211 --- tools/firmware-utils/src/tplink-safeloader.c | 47 ++-- 1 file changed, 30 insertions(+), 17

[OpenWrt-Devel] [PATCH CC 12/32] ar71xx: add support for the TP-LINK TL-WR1043ND v3

2016-02-29 Thread Matthias Schiffer
The hardware of the v3 is identical to the v2. Based-on-patch-by: Andreas Ziegler Signed-off-by: Matthias Schiffer Backport of r47406 --- target/linux/ar71xx/image/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux

[OpenWrt-Devel] [PATCH CC 13/32] ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N

2016-02-29 Thread Matthias Schiffer
The hwid check was wrong, causing the AR71XX_MODEL value to end with a space (as $hwver was unset). Signed-off-by: Matthias Schiffer Backport of r47553 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base

[OpenWrt-Devel] [PATCH CC 18/32] kernel: disable software protection bits for macronix flash chips at init

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Felix Fietkau Backport r47626 --- .../462-m25p80-mx-disable-software-protection.patch| 10 ++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch diff --git a/target/linux/gen

[OpenWrt-Devel] [PATCH CC 20/32] kernel/gpio_keys: load module on pre-init

2016-02-29 Thread Matthias Schiffer
fix rescue mode on wdr4900 Signed-off-by: Alexander Couzens Backport of r48793 --- package/kernel/linux/modules/input.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk index 86ff33c..eed9aa2 1006

[OpenWrt-Devel] [PATCH CC 21/32] ar71xx/lzma-loader: fix O32 ABI conformance

2016-02-29 Thread Matthias Schiffer
According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly code of the loader does not reserve stack space for these registers thus when the 'loader_main' function needs to save

[OpenWrt-Devel] [PATCH CC 22/32] ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link TL-WR841N/ND v9, Compex WPJ531)

2016-02-29 Thread Matthias Schiffer
The initialization routines for these boards were relying on some (wrong) defaults for the QCA953x ethernet. Make these defaults explicit to prevent breaking them when the QCA953x defaults are fixed. Signed-off-by: Matthias Schiffer Backport of r46206 --- target/linux/ar71xx/files/arch/mips

[OpenWrt-Devel] [PATCH CC 24/32] ar71xx: compex wpj531 fix ethernet registration

2016-02-29 Thread Matthias Schiffer
In fb6f62e97733312053ab593fcf68eea47a21169e several settings are set on the ethernet device, but they are not working. Fix Ethernet by setting the right values. Signed-off-by: Christian Mehlis Backport of r46281 --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 4 ++-- 1 file chang

[OpenWrt-Devel] [PATCH CC 26/32] ar71xx: compex wpj531 register usb support

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Christian Mehlis Backport of r46283 --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index 2cc2fe8..8a2

[OpenWrt-Devel] [PATCH CC 23/32] ar71xx: rework patch for qca953x/956x

2016-02-29 Thread Matthias Schiffer
o 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 Signed-off-by: Matthias Schiffer Backport of r46207 --- .../linux/ar71xx/files/arch/mips/ath79/dev-eth.c |

[OpenWrt-Devel] [PATCH CC 28/32] ar71xx: rename firmware for Chinese version of TL-WR941ND v6

2016-02-29 Thread Matthias Schiffer
It seems there are two *different* versions on TL-WR941ND v6: Chinese and European one. Currently supported by OpenWrt is Chinese one. Rename firmware to make it clear. For details see: http://wiki.openwrt.org/toh/tp-link/tl-wr941nd https://forum.openwrt.org/viewtopic.php?id=59295 Signed-off-by: R

[OpenWrt-Devel] [PATCH CC 14/32] OpenSSL: Added source/old to PKG_SOURCE_URL

2016-02-29 Thread Matthias Schiffer
OpenSSL moves old versions of the library from http://www.openssl.org/source/ to http://www.openssl.org/source/old/$version/ breaking the old links. That behavior breaks the OpenWRT-build every time OpenSSL releases a new version. This patch adds http://www.openssl.org/source/old/$version/ to the

[OpenWrt-Devel] [PATCH CC 27/32] mac80211: set mcast-rate for mesh point interfaces

2016-02-29 Thread Matthias Schiffer
In order to set the multicast rate for mesh point interfaces the "mesh join" was made explicit and moved to mac80211_setup_vif(), similar to how it is done for IBSS interfaces. Previously, the mesh join was made implicit in case authentication (i.e. $key) was not used when creating the interface i

[OpenWrt-Devel] [PATCH CC 29/32] ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)

2016-02-29 Thread Matthias Schiffer
decided to completely reorganize the Kconfig patch even though only a single section has been added. Signed-off-by: Matthias Schiffer Backport of r47420 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +- .../ar71xx/base-files/etc/uci-defaults/01_leds | 9 ++ .../ar71xx/base-files

[OpenWrt-Devel] [PATCH CC 25/32] ar71xx: compex wpj531 fix setting mac address on ethernet

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Christian Mehlis Backport of r46282 --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach

[OpenWrt-Devel] [PATCH CC 32/32] kernel: add Realtek USB to Ethernet modules

2016-02-29 Thread Matthias Schiffer
https://forum.openwrt.org/viewtopic.php?pid=279394 Signed-off-by: Dirk Neukirchen Backport of r46031 --- package/kernel/linux/modules/usb.mk | 30 ++ 1 file changed, 30 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/us

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

2016-02-29 Thread Matthias Schiffer
OpenWrt should support an optional /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/ directory. The file suffix should make clear, that these scripts are (sourced) shell-snippets. If the user needs e.g. php or lua,

[OpenWrt-Devel] [PATCH CC 19/32] brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Felix Fietkau Backport of r48732 --- package/kernel/brcm2708-gpu-fw/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/brcm2708-gpu-fw/Makefile b/package/kernel/brcm2708-gpu-fw/Makefile index eee85e0..286984b 100644 --- a/package/kernel/br

[OpenWrt-Devel] [PATCH CC 15/32] firmware-utils: mkfwimage: add -Wall, fix obvious bugs causing compile warnings

2016-02-29 Thread Matthias Schiffer
Signed-off-by: Matthias Schiffer Backport of r48827 --- tools/firmware-utils/Makefile| 2 +- tools/firmware-utils/src/mkfwimage.c | 12 +--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index

[OpenWrt-Devel] [PATCH CC 17/32] firmware-utils: mkfwimage: fix firmware_max_length for XM layout

2016-02-29 Thread Matthias Schiffer
ffect.) Fix all of this by setting the correct flash layout also used by the stock firmware. Flashing has been tested from both firmware 5.5.x and 5.6.x. The fixed layout also matches the mtdparts defined by OpenWrt. Signed-off-by: Matthias Schiffer Backport of r48829 --- tools/firmware-u

[OpenWrt-Devel] [PATCH CC 16/32] ar71xx, firmware-utils: split ubdev01 flash layout from XM

2016-02-29 Thread Matthias Schiffer
The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer Backport of r48828 --- target/linux/ar71xx/image/Makefile | 2 +- tools/firmware-utils/src/mkfwimage.c | 6 ++ 2 files changed, 7

[OpenWrt-Devel] [PATCH CC 30/32] x86/generic: enable pata_atiixp driver

2016-02-29 Thread Matthias Schiffer
This enables booting from devices that use an ATI PATA controller for the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro thin-clients. Signed-off-by: Felix Kaechele Backport of r47304 --- target/linux/x86/generic/config-default | 1 + 1 file changed, 1 insertion(+) diff --

[OpenWrt-Devel] [PATCH] lua: host: install lnum_config.h

2016-03-01 Thread Matthias Schiffer
One of the host patches introduces the new header file lnum_config.h included by luaconf.h, but doesn't install it. Install it to allow building C modules for the host Lua. Signed-off-by: Matthias Schiffer --- .../lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch | 11 +

Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2

2016-03-11 Thread Matthias Schiffer
On 03/11/2016 02:46 PM, Joseph Marlin wrote: > We certainly haven't. I've tried applying these patches - > http://thread.gmane.org/gmane.comp.embedded.openwrt.devel/39001 > > to no avail. I still get hit by a "Error code 2 - Firmware Check Failed". > > I'm really suspecting this comes down to a

Re: [OpenWrt-Devel] Which image for the Nanostation Loco M2, WAS:Cannot flash UBNT Loco M2

2016-03-11 Thread Matthias Schiffer
On 03/11/2016 05:15 PM, Aaron Z wrote: > )On Fri, Mar 11, 2016 at 9:28 AM, Matthias Schiffer > wrote: >> PS. Completely unrelated to this issue: I noticed in your log that you used >> the wrong image ("nanostation" instead of "bullet") for your Loco.

Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2

2016-03-12 Thread Matthias Schiffer
On 03/12/2016 02:08 PM, John Crispin wrote: > > > On 11/03/2016 15:28, Matthias Schiffer wrote: >> On 03/11/2016 02:46 PM, Joseph Marlin wrote: >>> We certainly haven't. I've tried applying these patches - >>> http://thread.gmane.org/gmane.comp.embed

Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2

2016-03-12 Thread Matthias Schiffer
On 03/12/2016 03:43 PM, Outback Dingo wrote: > On Fri, Mar 11, 2016 at 3:28 PM, Matthias Schiffer < > mschif...@universe-factory.net> wrote: > >> On 03/11/2016 02:46 PM, Joseph Marlin wrote: >>> We certainly haven't. I've tried applying th

Re: [OpenWrt-Devel] 15.05.1 - Chaos Calmer

2016-03-18 Thread Matthias Schiffer
On 03/16/2016 01:06 PM, John Crispin wrote: > The OpenWrt developers are proud to announce the minor fix release of > OpenWrt Chaos Calmer. > >___ __ > | |.-.-.-.| | | |..| |_ > | - || _ | -__| || | | || _||

Re: [OpenWrt-Devel] 15.05.1 - Chaos Calmer

2016-03-21 Thread Matthias Schiffer
On 03/16/2016 02:07 PM, Matthias Schiffer wrote: > On 03/16/2016 01:06 PM, John Crispin wrote: >> The OpenWrt developers are proud to announce the minor fix release of >> OpenW

  1   2   3   4   >