[OpenWrt-Devel] [PATCH v4 5/5] ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

2015-07-09 Thread Günther Kelleter
Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 3 + .../ar71xx/base-files/etc/uci-defaults/01_leds | 6 + .../ar71xx/base-files/etc/uci-defaults/02_network |

[OpenWrt-Devel] [PATCH v4 1/5] ar71xx: add support for the devolo dLAN pro 500 Wireless+

2015-07-09 Thread Günther Kelleter
Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx/base-files/etc/uci-defaults/01_leds | 7 + .../ar71xx/base-files/etc/uci-defaults/02_network | 4 + target/linux/ar71xx/base-files/lib/ar71xx.sh |

[OpenWrt-Devel] [PATCH v4 0/5] ar71xx: Add support for devolo dLAN devices

2015-07-09 Thread Günther Kelleter
This patch set adds support for two devolo dLAN devices: dLAN pro 500 Wireless+ dLAN pro 1200+ Wifi ac It supports the wireless and ethernet interfaces. PLC support must be implemented in user space and will follow later when basic support is finally accepted. Changes since PATCH v3:

[OpenWrt-Devel] [PATCH v4 2/5] ar71xx: add support to use gpio irqs

2015-07-09 Thread Günther Kelleter
Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de --- .../739-MIPS-ath79-add-gpio-irq-support.patch | 224 + 1 file changed, 224 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-irq-support.patch diff --git

[OpenWrt-Devel] [PATCH v4 3/5] mac80211: make ath10k firmware v2 selectable

2015-07-09 Thread Günther Kelleter
Added option for old firmware version (10.1 API v2). It seems that recent firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and this provides the option to select an older version instead. Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de ---

Re: [OpenWrt-Devel] How to add 6LoWPAN to OpenWRT

2015-07-09 Thread Hauke Mehrtens
On 07/09/2015 04:51 PM, Firas wrote: When I tried to compile the kernel and configure it I found only 6LoWPAN over Bluetooth support, and I need to add 6LoWPAN to work over RF module like Jenic JN51xx. I’m using OpenWRT Kernel 3.18! So how can I implement that please can you guide me

Re: [OpenWrt-Devel] [PATCH] ramips: mt7620 ArcherC20i USB support

2015-07-09 Thread Gunnar Thorburn
USB port of TP-Link Archer C20i does not work with trunk and CC. This patch adds two nodes (ehci and ohci) to the device tree enabling USB. Signed-off-by: Gunnar Thorburn gun...@thorburn.se --- target/linux/ramips/dts/ArcherC20i.dts | 8 1 file changed, 8 insertions(+) diff --git

Re: [OpenWrt-Devel] How to get higher version (2.0) of radvd package

2015-07-09 Thread Hauke Mehrtens
On 07/09/2015 02:32 PM, Pratik Prajapati wrote: Hi, I want to build radvd (2.0 version) on OpenWrt but it supports radvd 1.9 version. I have two options: 1) either configure OpenWrt to download radvd's 2.0 version instead of 1.9 or 2) disable radvd in oldpackages and create a new

[OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-09 Thread LiWeijian
From: Tom Deng 2579131...@qq.com Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng 2579131...@qq.com --- diff --git

Re: [OpenWrt-Devel] 6LoWPAN with OpenWRT

2015-07-09 Thread Varka Bhadram
Hi Firas, On 07/09/2015 05:52 PM, Firas wrote: I'm using OpenWRT Kernel 3.18, and I haven't found separate support for 6LoWPAN. In this kernel there is only 6LoWPAN over Bluetooth ! 6LoWPAN over IEEE-802.15.4 support available in OpenWRT from the kernel version 4.0 [1] I want to use it

[OpenWrt-Devel] IPTables/NAT

2015-07-09 Thread John kerry
Hi, I have to enable NAT with a MASQUERADING target, and to block the GUI from WAN have to server bind only the bridge address. Could anyone tell me how i can do it in the GUI itself. Thanks Regards, John ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Archer C7 CC 15.05-rc1 Ath9K phy1: Failed to stop TX DMA, queues=0x002!

2015-07-09 Thread camden lindsay
I'm sorry, i said ath9k in the subject but the above seems more likely to be ath10k. On Thu, Jul 9, 2015 at 7:03 PM, camden lindsay camden.lindsay+open...@gmail.com wrote: Hello- Thought I should report this, since there was so much discussion and confusion on tracker

[OpenWrt-Devel] Archer C7 CC 15.05-rc1 Ath9K phy1: Failed to stop TX DMA, queues=0x002!

2015-07-09 Thread camden lindsay
Hello- Thought I should report this, since there was so much discussion and confusion on tracker https://dev.openwrt.org/ticket/11862 causing a lot of work for some folks here. root@HACKEDBOXII.'':~# cat /etc/banner ___ __ |

Re: [OpenWrt-Devel] Does anyone have used Ralink i2s under openwrt?

2015-07-09 Thread Sergio
Hi guys,     Hi,   once i fixed the codec problem on my unit i will look at the bug. can you help me get one of the rt5350 boards that you have ? can you tell me a link the the board ?   John I'm using toplinkst top-ap01-38 with RT5350 and trying to setup a dac codec using i2s.

Re: [OpenWrt-Devel] Does anyone have used Ralink i2s under openwrt?

2015-07-09 Thread John Crispin
On 09/07/2015 09:59, Sergio wrote: Hi guys, Hi, once i fixed the codec problem on my unit i will look at the bug. can you help me get one of the rt5350 boards that you have ? can you tell me a link the the board ? John I'm using toplinkst top-ap01-38 with RT5350 and

Re: [OpenWrt-Devel] [PATCH v3 4/7] ar71xx: add support to use gpio irqs

2015-07-09 Thread John Crispin
Hi, minor nitpick inline On 07/07/2015 14:58, Günther Kelleter wrote: Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de --- .../739-MIPS-ath79-add-gpio-irq-support.patch | 225 + 1 file changed, 225 insertions(+) create mode 100644

Re: [OpenWrt-Devel] [PATCH v3 7/7] ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

2015-07-09 Thread John Crispin
Hi, this function seem to be overly complicated. do you really need this ? John On 07/07/2015 14:58, Günther Kelleter wrote: +static void inc_mac_addr(u8 *base_mac, u8 *dst_mac, u8 inc) +{ + u32 tmp = 0; + char index = 6; + + tmp = base_mac[5] + inc; + while

Re: [OpenWrt-Devel] [PATCH 3/5] ar71xx: compex wpj531 remove unnecessary switch initialization

2015-07-09 Thread Christian Mehlis
Am 09.07.2015 um 08:14 schrieb John Crispin: why is this unnecessary ? do we now rely on the bootloader to have already made the setup ? Hi John, I see, I couldn't find any difference in calling this function or not from a perspective within the system (swconfig, ethtool). Perhaps I'm just

Re: [OpenWrt-Devel] [PATCH v3 5/7] mac80211: make ath10k firmware v2 selectable

2015-07-09 Thread John Crispin
Hi, dont know at10k very well so pardon my uneducated question... how does at10k know/choose which of the 2 to use ? John On 07/07/2015 14:58, Günther Kelleter wrote: Added option for old firmware version (10.1 API v2). It seems that recent firmware versions are constantly crashing

Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

2015-07-09 Thread Guenther Kelleter
Hi -Original Message- From: John Crispin [mailto:blo...@openwrt.org] Sent: Thursday, July 09, 2015 8:24 AM To: Guenther Kelleter; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported Hi, On 07/07/2015 14:58,

Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

2015-07-09 Thread John Crispin
Hi, On 07/07/2015 14:58, Günther Kelleter wrote: to allow target specific override of phydev-supported. why do you need to do this ? do you want to force a specific link type ? if so, then using a fixed link would be preferable to faking phy caps John Signed-off-by: Günther

Re: [OpenWrt-Devel] [PATCH v3 6/7] base-files: added option to configure the gpio led trigger in uci-defaults

2015-07-09 Thread John Crispin
Hi, see inline On 07/07/2015 14:58, Günther Kelleter wrote: Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de --- package/base-files/files/etc/init.d/led | 7 +++ .../base-files/files/lib/functions/uci-defaults.sh | 20 2 files changed,

Re: [OpenWrt-Devel] Rebooting boards with 16M SPI flash

2015-07-09 Thread Arjen de Korte
Citeren Paul Fertser fercer...@gmail.com: Hi John, John Crispin blo...@openwrt.org writes: looks good to me but i will run this past linux-mtd and ask them for an opinion before merging it. This patch was meant as a quick hack rather than a complete solution, that's why I didn't bother

Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

2015-07-09 Thread John Crispin
On 09/07/2015 09:42, Guenther Kelleter wrote: Hi -Original Message- From: John Crispin [mailto:blo...@openwrt.org] Sent: Thursday, July 09, 2015 8:24 AM To: Guenther Kelleter; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata

Re: [OpenWrt-Devel] Rebooting boards with 16M SPI flash

2015-07-09 Thread Paul Fertser
Arjen de Korte arjen+open...@de-korte.org writes: Citeren Paul Fertser fercer...@gmail.com: Another is that such a patch is mostly a bad substitute for proper hardware design. Not really. There may not be a hardware reset line if the flash is running in x4 data mode. Imagine there's a bug

Re: [OpenWrt-Devel] [PATCH v3 2/7] ath79: dev-eth: initialize clock for id 0 on AR934X

2015-07-09 Thread John Crispin
Hi, looking closer at the code i noticed that you need to do this as ath79_mdio1_data is not initialized to 0 properly. the reason being that it is not static and that in turn is because the header file declares it as extern yet there are no users. i would suggest you drop this patch and instead

[OpenWrt-Devel] 6LoWPAN with OpenWRT

2015-07-09 Thread Firas
I'm using OpenWRT Kernel 3.18, and I haven't found separate support for 6LoWPAN. In this kernel there is only 6LoWPAN over Bluetooth ! I want to use it with RF Module ! So how can I implement that please can you guide me please ! Firas Al Omary RD (Software , Elctronics) Engineer

Re: [OpenWrt-Devel] Does anyone have used Ralink i2s under openwrt?

2015-07-09 Thread Sergio
John Crispin blogic at openwrt.org writes: sorry, been too busy and i doubt i will have time in the near future to look at it :( Oooh! Too bad :)) John, could you teld me some tips on how to progress with it and RT5350 cpu instead MT7620? I've defined a new section in

Re: [OpenWrt-Devel] [PATCH v3 2/7] ath79: dev-eth: initialize clock for id 0 on AR934X

2015-07-09 Thread Guenther Kelleter
Hi -Original Message- From: John Crispin [mailto:blo...@openwrt.org] Sent: Thursday, July 09, 2015 8:32 AM To: Guenther Kelleter; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v3 2/7] ath79: dev-eth: initialize clock for id 0 on AR934X Hi, looking closer

Re: [OpenWrt-Devel] [PATCH 2/4] gemini: add NAS packages to Raidsonic profile

2015-07-09 Thread Roman Yeryomin
On 9 July 2015 at 08:31, John Crispin blo...@openwrt.org wrote: On 08/07/2015 23:00, Roman Yeryomin wrote: Signed-off-by: Roman Yeryomin ro...@advem.lv --- target/linux/gemini/raidsonic/target.mk | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [OpenWrt-Devel] [PATCH 1/4] gemini: copy kernel image to BIN_DIR

2015-07-09 Thread Roman Yeryomin
On 9 July 2015 at 08:26, John Crispin blo...@openwrt.org wrote: On 08/07/2015 23:00, Roman Yeryomin wrote: Signed-off-by: Roman Yeryomin ro...@advem.lv --- target/linux/gemini/image/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[OpenWrt-Devel] How to get higher version (2.0) of radvd package

2015-07-09 Thread Pratik Prajapati
Hi, I want to build radvd (2.0 version) on OpenWrt but it supports radvd 1.9 version. I have two options: 1) either configure OpenWrt to download radvd's 2.0 version instead of 1.9 or 2) disable radvd in oldpackages and create a new package for 2.0 version under /openwrt/package/ (like this

Re: [OpenWrt-Devel] Rebooting boards with 16M SPI flash (was: Re: help)

2015-07-09 Thread Jonas Gorski
On Wed, Jul 8, 2015 at 2:00 PM, Paul Fertser fercer...@gmail.com wrote: Hi, ldy647 ldy...@163.com writes: recently, when we install our wireless router, we found when we run the reboot command, the board couldn't restart. We hope you could lend us a hand to solve this problem. We'll be quite

[OpenWrt-Devel] [PATCH V3] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-09 Thread chrono
Ahoy everyone, more on the Telekom Speedstick LTE V (Huawei 3372s) from here: http://www.amazon.de/dp/B00NLJE3O6 I've tested Enricos latest patch on MIPS (3.18.17) and x86_64 (3.18.11) and had a little bit of trouble applying it to latest trunk, so here's the latest tested patch from a diff

Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

2015-07-09 Thread Guenther Kelleter
Hi -Original Message- From: John Crispin [mailto:blo...@openwrt.org] Sent: Thursday, July 09, 2015 9:56 AM To: Guenther Kelleter; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported On 09/07/2015 09:42,

Re: [OpenWrt-Devel] [PATCH v3 7/7] ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac

2015-07-09 Thread Guenther Kelleter
-Original Message- From: John Crispin [mailto:blo...@openwrt.org] Sent: Thursday, July 09, 2015 8:42 AM To: Guenther Kelleter; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v3 7/7] ar71xx: add support for the devolo dLAN pro 1200+ WiFi ac Hi, this

Re: [OpenWrt-Devel] [PATCH v3 5/7] mac80211: make ath10k firmware v2 selectable

2015-07-09 Thread Guenther Kelleter
Hi -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of John Crispin Sent: Thursday, July 09, 2015 8:38 AM To: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v3 5/7] mac80211: make ath10k firmware v2 selectable

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

2015-07-09 Thread Matthias Schiffer
The musl build fix introduced in r45108 removed all netinet/ether.h includes, which made the prototypes of ether_aton and ether_ntoa unavailable. As a result, the compiler assumed they return int instead of a pointer. This currupted the pointer on 64bit targets, causing ebtables to segfault in

Re: [OpenWrt-Devel] How to add 6LoWPAN to OpenWRT

2015-07-09 Thread Firas
I'm using RF module JN5148 from Jennic .. and modules from this company are also not expensive ! Can you please provide me with the download page of the new version 4.0 of OpenWrt ! I'm now checking on how to add Jennic drivers to OpenWRT if you know how to please let me know ! Firas

[OpenWrt-Devel] [PATCH v4 4/5] base-files: added option to configure the gpio led trigger in uci-defaults

2015-07-09 Thread Günther Kelleter
Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de --- package/base-files/files/etc/init.d/led | 7 +++ .../base-files/files/lib/functions/uci-defaults.sh | 20 2 files changed, 27 insertions(+) diff --git

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Add support for Onion Omega

2015-07-09 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boken Lin b...@onion.io wrote: The firmware won't be dock-specific. The same firmware will be used regardless of which dock the Omega is plugged into. And all docks have similar configuration, i.e. every dock has a USB port. And when I build a

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Add support for Onion Omega

2015-07-09 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please consider renaming your board. If I understand your website properly, the module is the Omega, and this boardfile is for the omega _with_ one of it's docks This Omega boardfile would not be usable for someone with a different dock, with

[OpenWrt-Devel] How to add 6LoWPAN to OpenWRT

2015-07-09 Thread Firas
When I tried to compile the kernel and configure it I found only 6LoWPAN over Bluetooth support, and I need to add 6LoWPAN to work over RF module like Jenic JN51xx. I'm using OpenWRT Kernel 3.18! So how can I implement that please can you guide me please !