[OpenWrt-Devel] [PATCH] ramips: add support for Airlink101 AR670W

2014-10-31 Thread Claudio Leite
This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader is a hacked u-Boot that reads an LZMA image directly, so we skip generating the uImage header and enable the lzma mtdsplit parser. Signed-off-by: Claudio Leite --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 +- .../l

[OpenWrt-Devel] ar8216 patch series

2014-10-31 Thread Heiner Kallweit
Patch series adds more abstraction to the driver, adds smaller improvements and fixes an issue with kernels >= 3.14. Ticket 17800: With kernel 3.14 sometimes ports operate at 10/half only This patch series works for me on: TP-LINK TL-WDR4300 ( ar71xx + AR8327v2) TP-LINK TL-WDR4900 (mpc85xx + AR832

[OpenWrt-Devel] [PATCH 4/5] ar8216: factor out PHY init code into a generic function

2014-10-31 Thread Heiner Kallweit
PHY init code in the switch-specific hw_init functions is mainly identical. Factor it out into a generic ar8xxx_phy_init function. Signed-off-by: Heiner Kallweit --- .../linux/generic/files/drivers/net/phy/ar8216.c | 69 +- 1 file changed, 28 insertions(+), 41 deletions(-)

[OpenWrt-Devel] [PATCH 5/5] ar8216: use genphy_config_aneg also for PHY 0

2014-10-31 Thread Heiner Kallweit
Kernel 3.14 introduced a switch reset in phy_init_hw in drivers/net/phy causing BMCR_ANENABLE to get cleared. Due to the fact that ar8xxx_phy_config_aneg does nothing for PHY 0 autonegatiation support remains disabled. This can cause ports to operate at 10MBit/half-duplex only. Fix this by callin

[OpenWrt-Devel] [PATCH 2/5] ar8216: after a switch reset poll until BCMR_RESET is cleared

2014-10-31 Thread Heiner Kallweit
Currently there is a fixed 1000ms wait time after the switch was reset. Most if not all switches need much less time to perform a reset. Therefore replace the fixed wait time with polling for BMCR_RESET to be cleared. Signed-off-by: Heiner Kallweit --- .../linux/generic/files/drivers/net/phy/ar8

[OpenWrt-Devel] [PATCH 3/5] ar8216: introduce fixup_phys callback in ar8xxx_chip

2014-10-31 Thread Heiner Kallweit
Move phy fixup code from the chip-specific hw_init functions into a fixup_phys callback. Signed-off-by: Heiner Kallweit --- target/linux/generic/files/drivers/net/phy/ar8216.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/target/linux/generic/files/drivers/

[OpenWrt-Devel] [PATCH 1/5] ar8216: introduce global constant for number of PHYs

2014-10-31 Thread Heiner Kallweit
All supported switches have 5 PHYs. Currently partially 5 is hardcoded and partially switch-specific constants exist. Replace them with a global constant. Signed-off-by: Heiner Kallweit --- target/linux/generic/files/drivers/net/phy/ar8216.c | 8 +--- target/linux/generic/files/drivers/net/p

[OpenWrt-Devel] [PATCH] (BACKPORT to 3.14) mtd: bcm47xxpart: only register partitions if the trx header was filled

2014-10-31 Thread Stephen Parry
Sometimes the trx offsets are 0, in that case there is no partition and we should not try to add one. Signed-off-by: Hauke Mehrtens [Brian: rewrapped] Signed-off-by: Brian Norris [Stephen Parry: Backported to 3.14] Signed-off-by: Stephen Parry --- ...art-skip_adding_partitions_for_zero_trx_off

[OpenWrt-Devel] [PATCH 11/11] BB: lantiq: vr9: vgv7519: load vmmc and tapi module into firmware image

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- target/linux/lantiq/xrx200/profiles/arv.mk |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/lantiq/xrx200/profiles/arv.mk b/target/l

[OpenWrt-Devel] [PATCH 10/11] BB: lantiq: vr9: add vpe/watchdog modules to kernel

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- target/linux/lantiq/xrx200/config-default |6 ++ 1 file changed, 6 insertions(+) diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200

[OpenWrt-Devel] [PATCH 09/11] BB: lantiq: vr9: vgv7519: modify dts to pass cmdline to support vmmc/fxs/vpe

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- target/linux/lantiq/dts/VGV7519.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/la

[OpenWrt-Devel] [PATCH 08/11] BB: lantiq: vr9: - modify dts to support vmmc

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- target/linux/lantiq/dts/vr9.dtsi |8 1 file changed, 8 insertions(+) diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index 0613

[OpenWrt-Devel] [PATCH 07/11] BB: lantiq: exportt ltq_soc_type

2014-10-31 Thread Eddi De Pieri
Signed-off-by: Eddi De Pieri --- target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch b/target/linux/lantiq/patches-3.10/0209-lantiq-export-s

[OpenWrt-Devel] [PATCH 06/11] BB: lantiq: vr9: - fix vmmc build

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- package/kernel/lantiq/ltq-vmmc/Config.in |8 package/kernel/lantiq/ltq-vmmc/Makefile | 15 ++- 2 files changed, 18 insertions(+), 5 deletions(-)

[OpenWrt-Devel] [PATCH 05/11] BB: lantiq: vr9: - fix tapi build

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- include/ltqtapi.mk |6 +- package/kernel/lantiq/ltq-tapi/Makefile |3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/incl

[OpenWrt-Devel] [PATCH 04/11] BB: lantiq:

2014-10-31 Thread Eddi De Pieri
MIPS: Fix rtlx build error. CC arch/mips/kernel/rtlx.o /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘file_write’: /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:439:23: error: unused variable ‘rt’ [-Werror=unused-variable] /home/ral

[OpenWrt-Devel] [PATCH 03/11] BB: lantiq: falcon/vr9 - add support for vpe1

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- .../lantiq/patches-3.10/0152-VPE-extensions.patch | 1358 1 file changed, 1358 insertions(+) create mode 100644 target/linux/lantiq/patches-3.10/0152-V

[OpenWrt-Devel] [PATCH 01/11] BB: lantiq: ltq-vmmc add support for ar9-vr9

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- .../lantiq/ltq-vmmc/patches/500-ar9_vr9.patch | 247 1 file changed, 247 insertions(+) create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/5

Re: [OpenWrt-Devel] [PATCH 00/11] prepare support for fxs to vr9 (and support vgv7519 board)

2014-10-31 Thread Eddi De Pieri
I forget to remark that this patchset is for BB later I'll will try to port to trunk too Eddi On Fri, Oct 31, 2014 at 2:08 PM, Eddi De Pieri wrote: > This patchset required not-distributable firmware blob - dump it by > yourself from original firmware > > *** BLURB HERE *** > > Eddi De Pieri (

[OpenWrt-Devel] [PATCH 02/11] BB: lantiq: falcon/vr9 - vpe softdog

2014-10-31 Thread Eddi De Pieri
(required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri --- .../patches-3.10/0153-lantiq-VPE-softdog.patch | 171 1 file changed, 171 insertions(+) create mode 100644 target/linux/lantiq/patches-3.10/0153-l

[OpenWrt-Devel] [PATCH 00/11] prepare support for fxs to vr9 (and support vgv7519 board)

2014-10-31 Thread Eddi De Pieri
This patchset required not-distributable firmware blob - dump it by yourself from original firmware *** BLURB HERE *** Eddi De Pieri (11): BB: lantiq: ltq-vmmc add support for ar9-vr9 BB: lantiq: falcon/vr9 - vpe softdog BB: lantiq: falcon/vr9 - add support for vpe1 BB: lantiq: BB: lan

Re: [OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

2014-10-31 Thread Alexandru Ardelean
no worries :) thanks a bunch that was quick On Fri, Oct 31, 2014 at 1:02 PM, John Crispin wrote: > i just forgot that openvswitch is in one of the feeds > > thanks, applied in r43126 > > > > On 31/10/2014 11:50, Alexandru Ardelean wrote: > > Maybe I was not too clear in the commit message. > >

Re: [OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

2014-10-31 Thread John Crispin
i just forgot that openvswitch is in one of the feeds thanks, applied in r43126 On 31/10/2014 11:50, Alexandru Ardelean wrote: > Maybe I was not too clear in the commit message. > > I would like to add the kmod-vxlan package, so that I may use it in Open > VSwitch > > Sorry about any confusio

Re: [OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

2014-10-31 Thread Alexandru Ardelean
Maybe I was not too clear in the commit message. I would like to add the kmod-vxlan package, so that I may use it in Open VSwitch Sorry about any confusion(s) On Fri, Oct 31, 2014 at 12:48 PM, Alexandru Ardelean wrote: > yep > > this one: > > https://github.com/commodo/packages/commit/194c0f6

Re: [OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

2014-10-31 Thread Alexandru Ardelean
yep this one: https://github.com/commodo/packages/commit/194c0f608a390be8be954890de177ebc44b987a6 On Fri, Oct 31, 2014 at 12:47 PM, John Crispin wrote: > > > On 31/10/2014 11:21, Alexandru Ardelean wrote: > > More recent kernel versions (>= 3.12) support native VXLAN > > support. > > > > The

Re: [OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

2014-10-31 Thread John Crispin
On 31/10/2014 11:21, Alexandru Ardelean wrote: > More recent kernel versions (>= 3.12) support native VXLAN > support. > > The Open VSwitch kernel module tries to build using native VXLAN > support if it detects a kernel version >=3.12. > > The build works fine, but during startup the OVS kerne

[OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

2014-10-31 Thread Alexandru Ardelean
More recent kernel versions (>= 3.12) support native VXLAN support. The Open VSwitch kernel module tries to build using native VXLAN support if it detects a kernel version >=3.12. The build works fine, but during startup the OVS kernel module does not load. dmesg output is something like this:

Re: [OpenWrt-Devel] dnsmasq strip out the ANswers from the DNS reply.

2014-10-31 Thread Hans Dedecker
You're hitting the rebind protection filter; see http://en.wikipedia.org/wiki/DNS_rebinding Either disable rebind_protection or change the IP addresses returned by your DNS server in the wan On Thu, Oct 30, 2014 at 9:32 PM, Kao Kevin wrote: > Hi, > > > > While Running tests in an openwrt based

Re: [OpenWrt-Devel] alternative for "pyserial+python-mini"

2014-10-31 Thread Alexandru Ardelean
python has been moved to Github https://github.com/openwrt/packages/tree/master/lang/python python-mini will be rebooted; the whole python package needs a bit of revamp/cleanup especially since it's been upgraded to version 2.7.8 as for python-smbus and pyserial, someone will have to maintain th