Re: [OpenWrt-Devel] [PATCH] ar71xx: add TP-LINK TL-WA860RE v1

2014-07-12 Thread John Crispin
Hi, On 10/07/2014 22:17, Cezary Jackiewicz wrote: Index: target/linux/ar71xx/patches-3.10/700-MIPS-ath79-add-TL-WA801NDv2-suport.patch 700 already exists. please also verify the other patch names and then resend the patch John ___

Re: [OpenWrt-Devel] [PATCH] [packages] enable openssl's arm asm support

2014-07-12 Thread John Crispin
Hi, had to look up if i missed the newest trend but i did not ... :) https://www.kernel.org/doc/Documentation/SubmittingPatches quote The sign-off is a simple line at the end of the explanation for the patch, which certifies that you wrote it or otherwise have the right to pass it on as an

Re: [OpenWrt-Devel] [PATCH V2][brcm2708] Use uci-defaults for network config

2014-07-12 Thread John Crispin
Hi, can you use brcm2708: int he subject next time ? git am strips [foo] from the subject John On 04/07/2014 14:29, Álvaro Fernández Rojas wrote: By using uci-defaults force_link is enabled, which fixes some link issues if ethernet cable isn't connected when LAN is initialized.

Re: [OpenWrt-Devel] [Patch] [ar71xx] added support for TL-WA830RE V2

2014-07-12 Thread Fredrik Jonson
Hello, I'm sorry John, I do not understand what you mean, with your comment. /Fjonson ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [Patch] [ar71xx] added support for TL-WA830RE V2

2014-07-12 Thread John Crispin
On 12/07/2014 11:20, Fredrik Jonson wrote: Hello, I'm sorry John, I do not understand what you mean, with your comment. /Fjonson ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH] lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards

2014-07-12 Thread Ben Mulvihill
Generate the configuration file for uboot-envtools on BTHOMEHUBV2B. Adds the specific parameters for the BTHOMEHUBV2B and also fixes an incorrect path which would have affected other lantiq boards as well (currently only the GIGASX76X). Signed-off-by: Ben Mulvihill ben.mulvih...@gmail.com ---

[OpenWrt-Devel] [PATCH 00/17] atheros: I/O cleanups

2014-07-12 Thread Sergey Ryazanov
Main goals of this series: * Simplify interface between arch code and SoC drivers * Simplify internal realization of arch code * Make code consistent with mainstream kernel rules and practice Sergey Ryazanov (17): atheros[ar2315-wdt]: rename config symbol atheros: use correct address space

[OpenWrt-Devel] [PATCH 05/17] atheros[ar231x-eth]: update MAC and PHY reset method

2014-07-12 Thread Sergey Ryazanov
Pass reset_set and reset_clear callback functions pointers via platform_data instead of reset register address. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 49 ++

[OpenWrt-Devel] [PATCH 01/17] atheros[ar2315-wdt]: rename config symbol

2014-07-12 Thread Sergey Ryazanov
Rename config symbol to AR2315_WDT to avoid confusion with other Atheros SoCs. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/config-3.10 | 2 +- target/linux/atheros/patches-3.10/130-watchdog.patch | 11 ++- 2 files changed, 7

[OpenWrt-Devel] [PATCH 07/17] atheros: pass UART IRQ number via function argument

2014-07-12 Thread Sergey Ryazanov
UART IRQ number could be different for different SoCs, so make them configurable. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 02/17] atheros: use correct address space and pointer type for register access

2014-07-12 Thread Sergey Ryazanov
Make sparse happy :) Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/atheros/patches-3.10/100-board.patch

[OpenWrt-Devel] [PATCH 06/17] atheros[ar231x-eth]: move driver to atheros subdirectory

2014-07-12 Thread Sergey Ryazanov
Move driver code to respective vendor subdirectory and fix config symbol name. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/config-3.10 | 2 +- .../atheros/patches-3.10/110-ar2313_ethernet.patch | 59 +++---

[OpenWrt-Devel] [PATCH 04/17] atheros[ar2315-wdt]: update I/O handling

2014-07-12 Thread Sergey Ryazanov
* Pass iomem and IRQ via platform device resources * Remap iomem and use iowrite32 accessor function Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 17 +++- .../linux/atheros/patches-3.10/130-watchdog.patch | 45

[OpenWrt-Devel] [PATCH 03/17] atheros[ar2315-wdt]: update interrupt handling

2014-07-12 Thread Sergey Ryazanov
Acknowledge watchdog interrupt in arch irq dispatcher and remove odd watchdog enable call from probe function. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 7 --- target/linux/atheros/patches-3.10/130-watchdog.patch | 5

[OpenWrt-Devel] [PATCH 11/17] atheros: use irq_set_chained_handler()

2014-07-12 Thread Sergey Ryazanov
Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 34 +++--- .../atheros/patches-3.10/105-ar2315_pci.patch | 6 ++-- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 10/17] atheros: simplify AR2315 misc IRQ (un)masking

2014-07-12 Thread Sergey Ryazanov
Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause us to use switch-case to map IRQ number to ISR bit. Introduce AR2315 specific misc IRQs set and simplify interrupt (un)mask operation. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com ---

[OpenWrt-Devel] [PATCH 08/17] atheros: move AR2315 misc IRQ dispatching to separate function

2014-07-12 Thread Sergey Ryazanov
Align code with AR5312 realization. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 47 -- .../atheros/patches-3.10/105-ar2315_pci.patch | 15 +++ 2 files changed, 34 insertions(+), 28 deletions(-) diff

[OpenWrt-Devel] [PATCH 13/17] atheros[ar231x-eth]: pass phys address of I/O memory via platform res

2014-07-12 Thread Sergey Ryazanov
Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 20 ++-- .../atheros/patches-3.10/110-ar2313_ethernet.patch | 19 --- .../patches-3.10/220-enet_micrel_workaround.patch| 6 +++--- 3 files

[OpenWrt-Devel] [PATCH 15/17] atheros[uart]: use 32-bit aligned I/O

2014-07-12 Thread Sergey Ryazanov
Use 32-bit aligned I/O and update base UART address (remove +3 offset). Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 6 +++--- target/linux/atheros/patches-3.10/101-early-printk-support.patch | 4 ++-- 2 files

[OpenWrt-Devel] [PATCH 14/17] atheros[ar231x-eth]: pass PHY I/O memory via device resources

2014-07-12 Thread Sergey Ryazanov
Pass PHY I/O memory region via platform resources and remap them unconditionally. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 57 ++ .../atheros/patches-3.10/110-ar2313_ethernet.patch | 48 +++---

[OpenWrt-Devel] [PATCH 12/17] atheros: simplify gpiolib realization

2014-07-12 Thread Sergey Ryazanov
Each SoCs generation has own independent gpiolib realization, so we have no reason to keep these realizations in semiuniversal form. Following modifications are made: * Remove valid_mask field * Remove ar231x_gpio_chip structure * Rename AR2315_GPIO_CR to AR2315_GPIO_DIR * Fix count of AR5312

[OpenWrt-Devel] [PATCH 09/17] atheros: rename some interrupt control handlers

2014-07-12 Thread Sergey Ryazanov
Rename interrupt control handlers to be consistent with operation names and add IRQ chips names. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 45 --- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 16/17] atheros[uart]: pass only physical I/O mem address to 8250 driver

2014-07-12 Thread Sergey Ryazanov
Pass only physical address to 8250 serial port driver and set flag to remap I/O memory inside the driver. Also fix AR5312 UART base address definition, which seems specified already mapped. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com ---

[OpenWrt-Devel] [PATCH 17/17] atheros: update macroses names

2014-07-12 Thread Sergey Ryazanov
Use AR2315_ prefix for macroses specific to AR2315/AR2316/AR2317 chips, use AR5312_ prefix for macroses specific to AR5312/AR2312/AR2313 chips, and use AR231X_ prefix for common macroses. This patch should not cause any functional changes, only make clear which macros is common and which macros

[OpenWrt-Devel] [Patch] [ar71xx] added support for TL-WA830RE V2

2014-07-12 Thread Fredrik Jonson
Corrected patch ath79 insted of auth79. Sorry. Signed-off-by: Fredrik Jonson fred...@famjonson.se --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + .../ar71xx/base-files/etc/uci-defaults/01_leds | 5 + .../ar71xx/base-files/etc/uci-defaults/02_network | 1 +

Re: [OpenWrt-Devel] [PATCH 00/17] atheros: I/O cleanups

2014-07-12 Thread Sergey Ryazanov
2014-07-12 17:33 GMT+04:00 Sergey Ryazanov ryazanov@gmail.com: Main goals of this series: * Simplify interface between arch code and SoC drivers * Simplify internal realization of arch code * Make code consistent with mainstream kernel rules and practice Forgot to say, that this series

[OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Carlos Ferreira
I'm having an issue with OpenWRT trunk where it seems that SMP (Symmetric MultiProcessing) is marked as being Broken, for the IXP4xx arch and I'm trying to compile netmap http://info.iet.unipi.it/~luigi/netmap/ for the Cambria SBC. Netmap requires the kernel to have SMP active. Can anyone tell me

Re: [OpenWrt-Devel] [PATCH 14/17] atheros[ar231x-eth]: pass PHY I/O memory via device resources

2014-07-12 Thread Felix Fietkau
On 2014-07-12 15:33, Sergey Ryazanov wrote: Pass PHY I/O memory region via platform resources and remap them unconditionally. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com diff --git a/target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch

Re: [OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Felix Fietkau
On 2014-07-12 16:29, Carlos Ferreira wrote: I'm having an issue with OpenWRT trunk where it seems that SMP (Symmetric MultiProcessing) is marked as being Broken, for the IXP4xx arch and I'm trying to compile netmap http://info.iet.unipi.it/~luigi/netmap/ for the Cambria SBC. Netmap requires

Re: [OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Carlos Ferreira
Yes I know that, but the thing is, for the 3.10 kernel, CONFIG_RPS depends on CONFIG_SMP. CONFIG_RPS enables the definition of real_num_rx_queues field for the netdev_rx_queue struct (netdevice.h). Netmap requires the existence of the real_num_rx_queues field. I cannot compile it CONFIG_RPS is

Re: [OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Felix Fietkau
On 2014-07-12 16:51, Carlos Ferreira wrote: Yes I know that, but the thing is, for the 3.10 kernel, CONFIG_RPS depends on CONFIG_SMP. CONFIG_RPS enables the definition of real_num_rx_queues field for the netdev_rx_queue struct (netdevice.h). Netmap requires the existence of the

Re: [OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Carlos Ferreira
Well, like I said, beyond Linux 3.14 kernel version, the field is defined if CONFIG_SYSFS is active. I will contact the netmap developers to see if they are available to update the source. On 12 July 2014 15:58, Felix Fietkau n...@openwrt.org wrote: On 2014-07-12 16:51, Carlos Ferreira wrote:

Re: [OpenWrt-Devel] [PATCH 14/17] atheros[ar231x-eth]: pass PHY I/O memory via device resources

2014-07-12 Thread Sergey Ryazanov
2014-07-12 18:37 GMT+04:00 Felix Fietkau n...@openwrt.org: On 2014-07-12 15:33, Sergey Ryazanov wrote: Pass PHY I/O memory region via platform resources and remap them unconditionally. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com diff --git

[OpenWrt-Devel] Squirrel instead of Lua?

2014-07-12 Thread valent.turko...@gmail.com
Hi devs, after listening to Amp Hour podcast ep 202 [1], interview With Brandon Harris from Electric Imp, which was impressive I heard something really alarming. Whey were using Lua in their product previous to launch, but they were so strongly againgst shipping it with Lua because they realized

[OpenWrt-Devel] [PATCH V2 1/2] brcm63xx: Add support for Comtrend VR-3025u

2014-07-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com Signed off by: José Vázquez Fernández ppvazquez...@gmail.com --- diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network index a04f4a5..1d42d47 100755 ---

[OpenWrt-Devel] [PATCH V2 2/2] brcm63xx: Add support for Comtrend VR-3025un

2014-07-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com Signed off by: José Vázquez Fernández ppvazquez...@gmail.com --- diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network index 1d42d47..aa32099 100755 ---

[OpenWrt-Devel] [PATCH 1/2] firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)

2014-07-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile index 64eccdd..d5cfdaa 100644 --- a/tools/firmware-utils/Makefile +++ b/tools/firmware-utils/Makefile @@ -49,6 +49,7 @@ define Host/Compile $(call

[OpenWrt-Devel] [PATCH 2/2] brcm63xx: Add support for ZyXEL P870HW-51a v2

2014-07-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network index aa32099..964f5ba 100755 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network +++

Re: [OpenWrt-Devel] Squirrel instead of Lua?

2014-07-12 Thread Rafał Miłecki
On 12 July 2014 23:13, valent.turko...@gmail.com valent.turko...@gmail.com wrote: They found Squirrel [2], so first question that popped into my mind was - is there Squirrel for OpenWrt. And from what I have seen so far there is not. Has anybody used Squirrel? Would it make sense to look into

[OpenWrt-Devel] How to properly add an unreachable route?

2014-07-12 Thread Dave Taht
I have been trying to simplify my babel setup. I have 8 /27s out of a single /24 that I would like not to have to expose to the universe. I have 172.21.2.0/27, 172.21.2.64/27 etc on each of the 8 devices I have. But there is no need to export each /27, as these are out of a single /24. The way

Re: [OpenWrt-Devel] Squirrel instead of Lua?

2014-07-12 Thread Paul Sokolovsky
Hello, On Sat, 12 Jul 2014 23:13:37 +0200 valent.turko...@gmail.com valent.turko...@gmail.com wrote: Hi devs, after listening to Amp Hour podcast ep 202 [1], interview With Brandon Harris from Electric Imp, which was impressive I heard something really alarming. Whey were using Lua in

Re: [OpenWrt-Devel] How to properly add an unreachable route?

2014-07-12 Thread Gui Iribarren
On 12/07/14 20:10, Dave Taht wrote: I have been trying to simplify my babel setup. I have 8 /27s out of a single /24 that I would like not to have to expose to the universe. I have 172.21.2.0/27, 172.21.2.64/27 etc on each of the 8 devices I have. But there is no need to export each /27,