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 sense and causes the

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

2015-08-05 Thread 郭传鈜
In fact there is a model called TL-WR941N v6 which sells in China.It uses AR9344 SoC and AR9381 for 450M wireless.It's just a mistake made by the patch submitter to call it wr941nd-v6.I think you should rename the old profile and create a new one:D 2015-08-06 8:40 GMT+08:00 Matthias Schiffer

[OpenWrt-Devel] [PATCH v3] lantiq: get more status information from xDSL

2015-08-05 Thread feckert
Signed-off-by: Florian Eckert eckert.flor...@googlemail.com Signed-off-by: Helge Mader hma...@tdt.de Tested-by: Martin Blumenstingl martin.blumensti...@googlemail.com Tested-by: Andre Heider a.hei...@gmail.com --- v2 fix annex and line mode comma v2 fix latency to ms v3 fix latency syntax

[OpenWrt-Devel] package libcoap for OpenWRT, Makefile

2015-08-05 Thread Baptiste Clenet
Hi, I'm trying to add a package for libcoap and then compile it with my target Ralink MT7628. Here is the Makefile: # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=libcoap

[OpenWrt-Devel] [PATCH] dnsmasq: dns rebind protection improvements

2015-08-05 Thread Kevin Darbyshire-Bryant
From upstream dnsmasq pre 2.76 release. Include 0.0.0.0/8 in DNS rebind checks. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/dnsmasq/Makefile | 2 +- .../patches/300-dns-rebind-improvements.patch | 42 ++ 2

Re: [OpenWrt-Devel] package libcoap for OpenWRT, Makefile

2015-08-05 Thread Dirk Neukirchen
On 05.08.2015 10:09, Baptiste Clenet wrote: Hi, I'm trying to add a package for libcoap and then compile it with my target Ralink MT7628. Here is the Makefile: # coap_address_t is defined in address.h inside some #ifdef (#ifdef WITH_LWIP or #ifdef WITH_CONTIKI or #ifdef WITH_POSIX)

Re: [OpenWrt-Devel] [PATCHv2 netifd 3/3] bridge: Allow setting multicast_router option

2015-08-05 Thread Felix Fietkau
On 2015-08-05 01:00, Linus Lüssing wrote: The multicast_router option of a bridge allows to control the forwarding behaviour of multicast packets independant of the listener state: * 0: Only forward if specific listener is present * 1 (default): Forward if specific listener or a multicast

Re: [OpenWrt-Devel] package libcoap for OpenWRT, Makefile

2015-08-05 Thread Yousong Zhou
On 5 August 2015 at 16:09, Baptiste Clenet bapcle...@gmail.com wrote: define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS=$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) \ CPPFLAGS=$(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR) \ LDFLAGS=$(TARGET_LDFLAGS) -L$(PKG_BUILD_DIR)

Re: [OpenWrt-Devel] package libcoap for OpenWRT, Makefile

2015-08-05 Thread Baptiste Clenet
2015-08-05 14:58 GMT+02:00 Yousong Zhou yszhou4t...@gmail.com: On 5 August 2015 at 16:09, Baptiste Clenet bapcle...@gmail.com wrote: define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS=$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) \ CPPFLAGS=$(TARGET_CPPFLAGS)

Re: [OpenWrt-Devel] package libcoap for OpenWRT, Makefile

2015-08-05 Thread Yousong Zhou
On 5 August 2015 at 21:03, Baptiste Clenet bapcle...@gmail.com wrote: 2015-08-05 14:58 GMT+02:00 Yousong Zhou yszhou4t...@gmail.com: On 5 August 2015 at 16:09, Baptiste Clenet bapcle...@gmail.com wrote: define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \

[OpenWrt-Devel] [PATCH] kmod-crypto-manager: autoload aead module

2015-08-05 Thread Doug Goldstein
This package provides the aead module which other modules need loaded when they depend on this package. Signed-off-by: Doug Goldstein car...@cardoe.com --- package/kernel/linux/modules/crypto.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/crypto.mk

Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-05 Thread Alexandru Ardelean
I will admit I only tested with x86. I ASSumed that it's on kernel 4.1. Will check again and try to spin up a patch for kernel 4.1. On Wed, Aug 5, 2015 at 3:53 PM, Florian Siebertz florian.siebe...@inf.h-brs.de wrote: Thank you for your work, i really appreciate it. Now the package is back,

[OpenWrt-Devel] [PATCH] samba36: preserve smbpasswd across sysupgrade

2015-08-05 Thread Kevin Darbyshire-Bryant
Add /etc/samba/smbpasswd to list of samba conffiles thus preserving samba passwords across sysupgrade by default. Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk --- package/network/services/samba36/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git

[OpenWrt-Devel] [PATCH] [SIGNED-OFF] Add WeIO board (http://we-io.net) profile. This patch adds support for WeIO board, which is based on Carambola2 board from 8Devices.

2015-08-05 Thread Drasko DRASKOVIC
Signed-off-by: Drasko DRASKOVIC drasko.drasko...@gmail.com --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/lib/upgrade/platform.sh | 3 +- target/linux/ar71xx/config-4.1 | 1 + .../linux/ar71xx/files/arch/mips/ath79/mach-weio.c |

Re: [OpenWrt-Devel] [PATCH] Add WeIO board (http://we-io.net) profile. This patch adds support for WeIO board, which is based on Carambola2 board from 8Devices.

2015-08-05 Thread Drasko DRASKOVIC
On Mon, Jul 27, 2015 at 4:10 AM, Karl Palsson ka...@tweak.net.au wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just one more, I promise :) Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: + +static void __init weio_common_setup(void) +{ + u8 *art = (u8 *)

[OpenWrt-Devel] [PATCH 1/3] tools/firmware-utils: add header version 2 support for mktplinkfw

2015-08-05 Thread Weijie Gao
Signed-off-by: Weijie Gao hackpas...@gmail.com This patch adds header version 2 option for mktplinkfw. The version 2 header is used for AR/QCA firmwares and is not the same as the header generated by mktplinkfw2. Instead, it is nearly the same as version 1 header except for the header version

[OpenWrt-Devel] [PATCH 2/3] ar71xx: add 64kb bootloader mtd parser for tplinkpart

2015-08-05 Thread Weijie Gao
Signed-off-by: Weijie Gao hackpas...@gmail.com This patch adds flash layout parser for TP-Link firmwares which have a 64kb bootloader. This is used for TP-Link TL-WDR6500 v2. --- target/linux/ar71xx/files/drivers/mtd/tplinkpart.c | 35 ++ 1 file changed, 29 insertions(+), 6

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add support for TP-Link TL-WDR6500 v2

2015-08-05 Thread Weijie Gao
Signed-off-by: Weijie Gao hackpas...@gmail.com This patch adds support for TP-Link TL-WDR6500 v2. The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for the whole firmware, so I have to create a new firmware creation method. --- target/linux/ar71xx/base-files/etc/diag.sh

[OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-05 Thread Piotr Dymacz
The following changes fix different mistakes in ramips target and try to make the code more clean and consistent. The patches affect: * dts{,i} files * base-files/* scripts * image Makefile * subtargets *.mk profile files Changes in v2 of the series: * rebased to r46566 * use the upstream

[OpenWrt-Devel] [PATCH v2 02/25] ramips: fix Zbtlink ZBT-WR8305RT board name

2015-08-05 Thread Piotr Dymacz
There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file. Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/etc/board.d/01_leds | 8 +-

[OpenWrt-Devel] [PATCH v2 03/25] ramips: fix Asus WL-330N{, 3G} boards names

2015-08-05 Thread Piotr Dymacz
There are other Asus boards supported in ramips target, so use the same naming scheme for WL-330N{,3G} boards and their dts files. Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/dts/WL-330N.dts | 100 +++ target/linux/ramips/dts/WL-330N3G.dts

[OpenWrt-Devel] [PATCH v2 04/25] ramips: fix Asus RP-N53 and Lenovo Y1{, S} image names

2015-08-05 Thread Piotr Dymacz
This patch: * fixes typo (rp_n53 - rp-n53) in Asus RP-N53 image name * removes manufacturer from image names for Lenovo Y1{,S} devices Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/image/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[OpenWrt-Devel] [PATCH v2 07/25] ramips: fix Asus RT-N56U dts filename

2015-08-05 Thread Piotr Dymacz
Other Asus RT-N dts files are named RT-N... (not RTN...), so use the same for RT-N56U. Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/dts/RT-N56U.dts | 151 target/linux/ramips/dts/RTN56U.dts | 151

[OpenWrt-Devel] [PATCH v2 06/25] ramips: fix UPVEL model names

2015-08-05 Thread Piotr Dymacz
Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/lib/ramips.sh | 4 ++-- target/linux/ramips/dts/UR-326N4G.dts| 2 +- target/linux/ramips/dts/UR-336UN.dts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git

[OpenWrt-Devel] [PATCH v2 05/25] ramips: fix Xiaomi MiWiFi Mini board, image and profile names

2015-08-05 Thread Piotr Dymacz
The following patch: * changes board name from xiaomi-miwifi-mini to miwifi-mini * changes filenames of dts and profile * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Xiaomi MiWiFi Mini device. Signed-off-by: Piotr Dymacz

[OpenWrt-Devel] [PATCH v2 08/25] ramips: fix Belkin F7C027 image name

2015-08-05 Thread Piotr Dymacz
This patch removes manufacturer from Belkin F7C027 image name (belkinf7c027 - f7c027). Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile

[OpenWrt-Devel] [PATCH v2 09/25] ramips: fix Argus ATP-52B board and image names

2015-08-05 Thread Piotr Dymacz
The following patch: * changes board name from argus-atp52b to atp-52b * changes dts filename * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Argus ATP-52B device. Signed-off-by: Piotr Dymacz pep...@gmail.com ---

[OpenWrt-Devel] [PATCH v2 13/25] ramips: fix Tenda W150M model name

2015-08-05 Thread Piotr Dymacz
Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/dts/W150M.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/W150M.dts b/target/linux/ramips/dts/W150M.dts index 5f4d0e3..2309df6 100644 --- a/target/linux/ramips/dts/W150M.dts

[OpenWrt-Devel] [PATCH v2 12/25] ramips: fix Aigale Ai-BR100 dts and profile names

2015-08-05 Thread Piotr Dymacz
The following patch changes dts filename and profile name for Aigale Ai-BR100 (for consistency). Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/dts/AI-BR100.dts | 109 ++ target/linux/ramips/dts/AIBR100.dts | 109

[OpenWrt-Devel] [PATCH v2 10/25] ramips: fix Sitecom WL-341v3 board and image names

2015-08-05 Thread Piotr Dymacz
The following patch changes: * board name from wl341v3 to wl-341v3 * dts filename * LED names in dts file for Sitecom WL-341v3 device. Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/lib/ramips.sh | 2 +- .../ramips/base-files/lib/upgrade/platform.sh

[OpenWrt-Devel] [PATCH v2 14/25] ramips: fix Edimax BR-6425 board name

2015-08-05 Thread Piotr Dymacz
Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/etc/board.d/01_leds | 2 +- target/linux/ramips/base-files/etc/diag.sh | 2 +- target/linux/ramips/base-files/lib/ramips.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[OpenWrt-Devel] [PATCH v2 11/25] ramips: fix Olimex models, images and profiles names

2015-08-05 Thread Piotr Dymacz
Official names for RT5350F based OLinuXino products are RT5350F-OLinuXino{,-EVB} as on official manufacturer website. The following patch: * changes board names from olinuxino-rt5350f{,-evb} to rt5350f-olinuxino{,-evb} * changes filenames of dts and profile files * changes image filenames

[OpenWrt-Devel] [PATCH v2 15/25] ramips: fix Omnima models, images and profiles names

2015-08-05 Thread Piotr Dymacz
Official names for supported Omnima products are (as on website): * Omnima HPM * Omnima MiniEMBWiFi * Omnima MiniEMBPlug This patch changes: * board names * dts filenames * profile names * image filenames * LED names for Omnima devices, for consistency. Signed-off-by: Piotr Dymacz

[OpenWrt-Devel] [PATCH v2 17/25] ramips: fix 7Links PX-4885 dts{, i}, board, image and profile names

2015-08-05 Thread Piotr Dymacz
The following patch changes 7Links PX-4885 dts{,i} filenames, board, image and profile names from PX4885 to PX-4885 (for consistency). Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/etc/board.d/01_leds | 6 +-- target/linux/ramips/base-files/etc/diag.sh

[OpenWrt-Devel] [PATCH v2 18/25] ramips: remove old code for Edimax BR-6524N

2015-08-05 Thread Piotr Dymacz
It seems that support for Edimax BR-6524N was dropped long time ago (dts file for this device is missing). This patch removes remaining code. Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/etc/board.d/01_leds| 3 ---

[OpenWrt-Devel] [PATCH v2 16/25] ramips: fix Buffalo WMR-300 dts, board, image and profile names

2015-08-05 Thread Piotr Dymacz
The following patch changes Buffalo WMR-300 dts filename, board, image and profile names from WMR300 to WMR-300 (for consistency). Signed-off-by: Piotr Dymacz pep...@gmail.com --- .../linux/ramips/base-files/etc/board.d/02_network | 2 +- target/linux/ramips/base-files/etc/diag.sh |

[OpenWrt-Devel] [PATCH v2 20/25] ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh

2015-08-05 Thread Piotr Dymacz
This patch: * fixes various mistakes (leading spaces, wrong or missing model names) * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization) * sorts boards alphabetically in base-files/lib/ramips.sh script. Case statement

[OpenWrt-Devel] [PATCH v2 24/25] ramips: use consistent naming scheme for LEDs

2015-08-05 Thread Piotr Dymacz
The upstream LED naming convention is device:color:led-name, but it seems that many of supported boards in OpenWrt don't follow this approach. The following patch fixes this inconsistency in dts{,i} files and updates base-files scripts for ramips target: * fixes wrong indentation * keeps case

[OpenWrt-Devel] [PATCH v2 23/25] ramips: remove unnecessary LED declaration for WT1520 in diag.sh

2015-08-05 Thread Piotr Dymacz
This device doesn't have defined LEDs in its dts file. Signed-off-by: Piotr Dymacz pep...@gmail.com --- target/linux/ramips/base-files/etc/diag.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index

[OpenWrt-Devel] [PATCH v2 22/25] ramips: fix indentation, case statements structure and optimize base-files/etc/board.d/02_network

2015-08-05 Thread Piotr Dymacz
The following patch: * fixes wrong indentation * combines together boards with same configuration * removes unnecessary spaces * removes empty lines after ;; and uses only |\ (for consistency) * orders boards alphabetically in base-files/etc/board.d/02_network script. One bug was left

[OpenWrt-Devel] [PATCH v2 21/25] ramips: be consistent with case statement in base-files/lib/upgrade/platform.sh

2015-08-05 Thread Piotr Dymacz
Always use |\ (without spaces) and keep boards in alphabetical order. Signed-off-by: Piotr Dymacz pep...@gmail.com --- .../ramips/base-files/lib/upgrade/platform.sh | 234 ++--- 1 file changed, 117 insertions(+), 117 deletions(-) diff --git

[OpenWrt-Devel] [PATCH v2 25/25] ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scripts

2015-08-05 Thread Piotr Dymacz
Instead of using board name provided explicitly as text in LED name, ex.: [...] mlwg2) status_led=mlwg2:blue:system [...] use $board variable, which allows to combine together multiple boards with same color and LED names, ex: [...] mlw221|\ mlwg2) status_led=$board:blue:system

[OpenWrt-Devel] [PATCH v2 19/25] ramips: fix various mistakes in subtargets *.mk profiles

2015-08-05 Thread Piotr Dymacz
This patch: * fixes wrong indentation * fixes wrong names and descriptions (ex. Dlink - D-Link) * changes filenames to manufacturer names * moves oem/unknown manufacturers boards to misc.mk profiles * combines profiles for boards from the same manufacturers in one file (ex. Olimex) * fix

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-05 Thread Michael Heimpold
Hi Piotr, great work! While looking at your DT cleanups, I wonder whether it would be possible to go one step further and adopt the BuildDTB stuff which Jonas did for brcm63xx target: then it would be possible to use preprocessor includes in the DTS files and use defines like KEY_* and so on.

[OpenWrt-Devel] OpenWrt Summit Submission Deadline change

2015-08-05 Thread Eric Schultz
I’ve decided to move the OpenWrt Summit session submission deadline to Friday August 28 (one week later than before). There were a number of folks from Battlemesh who asked for an additional week for their proposals and we’re happy to accommodate them You certainly don’t have to wait until then

[OpenWrt-Devel] [PATCH 0/2] Fix quilt error when $STAGING_DIR doesn't exist yet

2015-08-05 Thread Mathieu Olivari
This patch has been posted a few weeks ago. Just posting again as a gentle reminder. Concerns were raised regarding whether the SDK worked after the modification, which has been confirmed. Mathieu Olivari (2): rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells tools/quilt: fix

[OpenWrt-Devel] [PATCH 2/2] tools/quilt: fix build error during kernel_menuconfig on a cleaned env

2015-08-05 Thread Mathieu Olivari
When running make kernel_menuconfig right after make clean, we error out with the following message: Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed make[2]:

[OpenWrt-Devel] [PATCH 1/2] rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells

2015-08-05 Thread Mathieu Olivari
Certains host packages (like quilt) need to know the previously used install location at run-time. They currently use $STAGING_DIR, which causes issues on cleaned environment, where $STAGING_DIR doesn't exist yet. Signed-off-by: Mathieu Olivari math...@codeaurora.org --- rules.mk | 2 +- 1 file

[OpenWrt-Devel] [PATCH] scripts: add a new patch-rename.sh script

2015-08-05 Thread Mathieu Olivari
During quilt based development, it is sometimes necessary to reorder patch files, which can become a tedious process as the patch list gets bigger. This script can help when doing such operations, by allowing to increment or decrement the number of multiple patch files at once: $

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

2015-08-05 Thread Matthias Schiffer
The images currently generated for the TL-WR941ND v6 try to treat it like a TL-WDR3500, which doesn't make any sense and causes the kernel to panic in early boot. I don't think this has ever worked (the TL-WR941ND v6 has a different SoC, uses another MDIO bus, has only one WMAC and no USB...).