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

2015-07-09 Thread Paul Fertser
Hi John, John Crispin 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 adding proper commit message, S-o-b etc. But since I'm the autho

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] Rebooting boards with > 16M SPI flash

2015-07-09 Thread Arjen de Korte
Citeren Paul Fertser : Hi John, John Crispin 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 adding proper commit message, S-o-b etc.

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

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: a

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 i

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

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

2015-07-09 Thread Paul Fertser
Arjen de Korte writes: > Citeren Paul Fertser : >> 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 in the kernel that made it hang for rea

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

2015-07-09 Thread Arjen de Korte
Citeren Paul Fertser : Arjen de Korte writes: Citeren Paul Fertser : 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 in the kernel that mad

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 wrote: > Hi, > > ldy647 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 grateful for what you >>

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, > > lookin

[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 R&D (Software , Elctronics) Engineer Linked

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

2015-07-09 Thread Sergio
John Crispin 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 ...target/linux/ramips

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 wrote: > > > On 08/07/2015 23:00, Roman Yeryomin wrote: >> Signed-off-by: Roman Yeryomin >> --- >> target/linux/gemini/image/Makefile | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/target/linux/gemini/image/Makefile >> b/targe

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 wrote: > > > On 08/07/2015 23:00, Roman Yeryomin wrote: >> Signed-off-by: Roman Yeryomin >> --- >> target/linux/gemini/raidsonic/target.mk | 7 +++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/target/linux/gemini/raidsonic/target.mk >> b/target

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

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

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

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, > > thi

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

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 l

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

[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 --- .../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 a/target/linux/ar71xx/patches-3.18/739

[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 --- package/kernel/mac80211/Makefile | 19 ++

[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 --- 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 a/package/base-files/files/etc/init.d/led b/package/base-files/file

[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 --- 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 | 6 + target/linux/ar71xx/b

[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 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 --- 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 | 3 + .../ar71xx/base-files

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

2015-07-09 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boken Lin 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 board and p

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

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

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 --- target/linux/ramips/dts/ArcherC20i.dts | 8 1 file changed, 8 insertions(+) diff --git a/target/linux/ramips/d

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

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 Al

[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] 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 wrote: > 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

[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 openwrt-devel@l

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 wit

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