[OpenWrt-Devel] [PATCH RESEND] mvebu: configure switch on WRT1200AC and WRT1900ACv2/S

2016-05-21 Thread Claudio Leite
Also collapses the three identical configurations into one block. Signed-off-by: Claudio Leite <lei...@staticky.com> --- target/linux/mvebu/base-files/etc/board.d/02_network | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/target/linux/mvebu/base-files/etc/b

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Claudio Leite
Hi Sebastian, Two small comments inline. * Sebastian Careba (nitrosh...@yahoo.com) wrote: > The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 > sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 > ghz antenna. > > Signed-off-by: Sebastian

[OpenWrt-Devel] [PATCH 2/2] kirkwood: add Linksys routers to default profile

2015-11-11 Thread Claudio Leite
Signed-off-by: Claudio Leite <lei...@staticky.com> --- The idea here is to benefit from the daily snapshot builds. Since each device still has its own profile, interested users can still build the leanest possible build without the few extra packages. target/linux/kirkwood/image/Ma

[OpenWrt-Devel] [PATCH 1/2] uboot-envtools: kirkwood: fix EA35/4500 board names

2015-11-11 Thread Claudio Leite
Signed-off-by: Claudio Leite <lei...@staticky.com> --- package/boot/uboot-envtools/files/kirkwood | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/boot/uboot-envtools/files/kirkwood b/package/boot/uboot-envtools/files/kirkwood index 1066371..35cbd84

Re: [OpenWrt-Devel] [PATCH 0/7] kirkwood: revamp Linksys EA3500 & EA4500 support

2015-11-09 Thread Claudio Leite
* Imre Kaloz (ka...@openwrt.org) wrote: > On Sat, 07 Nov 2015 03:29:07 +0100, Claudio Leite <lei...@staticky.com> > wrote: > > >This patch set reworks support for the Linksys EA3500 and EA4500, > >integrating significant amounts of code from the WRT1900AC port. > >

[OpenWrt-Devel] [PATCH v2 6/9] kirkwood: support Linksys boot counter on EA[34]500

2015-11-09 Thread Claudio Leite
This is done with existing code from the WRT1900AC port. It makes sure the "auto_recovery" bootloader option is set, and resets the s_env boot counter after a successful boot. This gives users without a serial console connection some measure of safety. Signed-off-by: Claudio

[OpenWrt-Devel] [PATCH v2 2/9] kirkwood: rework Linksys EA[34]500 DTS

2015-11-09 Thread Claudio Leite
bootloader we must match this layout. Signed-off-by: Claudio Leite <lei...@staticky.com> --- v2 changes: use engineering names package/boot/uboot-envtools/files/kirkwood | 2 +- .../linux/kirkwood/patches-3.18/160-ea4500.patch | 64 ++ .../linux/kirkwood/patche

[OpenWrt-Devel] [PATCH v2 1/9] kirkwood: enable squashfs-on-ubiblock support

2015-11-09 Thread Claudio Leite
Signed-off-by: Claudio Leite <lei...@staticky.com> --- v2 changes: same as v1 target/linux/kirkwood/Makefile| 2 +- target/linux/kirkwood/config-3.18 | 2 +- target/linux/kirkwood/config-4.3 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ki

[OpenWrt-Devel] [PATCH v2 3/9] kirkwood: consistently use engineering board names

2015-11-09 Thread Claudio Leite
Signed-off-by: Claudio Leite <lei...@staticky.com> --- v2 changes: new in v2 target/linux/kirkwood/base-files/etc/diag.sh | 4 ++-- target/linux/kirkwood/base-files/etc/uci-defaults/01_leds| 10 +- target/linux/kirkwood/base-files/etc/uci-defaults/02_networ

[OpenWrt-Devel] [PATCH v2 4/9] kirkwood: find active Linksys root partition

2015-11-09 Thread Claudio Leite
This is imported verbatim from the mvebu WRT1900AC port. It picks up the current boot partition from the kernel command line, then renames that partition "ubi" so that it auto-mounts. Signed-off-by: Claudio Leite <lei...@staticky.com> --- v2 changes: same as v1 target/linux

[OpenWrt-Devel] [PATCH v2 9/9] kirkwood: rename EA3500/EA4500 profiles

2015-11-09 Thread Claudio Leite
Match the engineering board names now used elsewhere. Signed-off-by: Claudio Leite <lei...@staticky.com> --- v2 changes: new in v2 target/linux/kirkwood/image/Makefile | 4 ++-- target/linux/kirkwood/profiles/115-router.mk | 18 +- 2 files changed, 11 insertions(

[OpenWrt-Devel] [PATCH] image: append-ubi: add optional UBI subpage size

2015-11-07 Thread Claudio Leite
Signed-off-by: Claudio Leite <lei...@staticky.com> --- This patch is necessary for the "kirkwood: revamp Linksys EA3500 & EA4500" support" patch series submitted on 6 Nov. include/image.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/im

[OpenWrt-Devel] [PATCH 1/7] kirkwood: enable squashfs-on-ubiblock support

2015-11-06 Thread Claudio Leite
Signed-off-by: Claudio Leite <lei...@staticky.com> --- target/linux/kirkwood/Makefile| 2 +- target/linux/kirkwood/config-3.18 | 2 +- target/linux/kirkwood/config-4.3 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/kirkwood/Makefile b/target

[OpenWrt-Devel] [PATCH 0/7] kirkwood: revamp Linksys EA3500 & EA4500 support

2015-11-06 Thread Claudio Leite
and upgraded from within OpenWrt. This also adds support for the Linksys dual-image firmware layout and recovery mechanism. These patches also transition from a single read-write UBIFS to squashfs on UBI + UBIFS overlay. Claudio Leite (7): kirkwood: enable squashfs-on-ubiblock support kirkwood

[OpenWrt-Devel] [PATCH 2/2] mvsw61xx: match swconfig function names

2015-08-28 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/generic/files/drivers/net/phy/mvsw61xx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/mvsw61xx.c b/target/linux/generic/files/drivers/net/phy/mvsw61xx.c

[OpenWrt-Devel] [PATCH 1/2] mvsw61xx: use standard swconfig get_port_link

2015-08-28 Thread Claudio Leite
The previous link and status functions were non-standard, and thus less useful for parsing. Signed-off-by: Claudio Leite lei...@staticky.com --- If accepted this should be also pushed to CC, assuming that's still possible. .../linux/generic/files/drivers/net/phy

[OpenWrt-Devel] [PATCH v2] mvsw61xx: use standard swconfig get_port_link

2015-08-28 Thread Claudio Leite
The previous link and status functions were non-standard, and thus less useful for parsing. Signed-off-by: Claudio Leite lei...@staticky.com --- v2: remove enums as well If accepted this should be also pushed to CC, assuming that's still possible. .../linux/generic/files/drivers/net/phy

Re: [OpenWrt-Devel] [PATCH V2] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Claudio Leite
* Rob Mosher (nyt-open...@countercultured.net) wrote: Auto recovery is enabled when flashing, so if it goes wrong, you can get back to your previous image. Otherwise, I don't think there's a need for it as all it does is switch which kernel/root partitions are booted which shouldn't ever

Re: [OpenWrt-Devel] [PATCH V2] Fix for mvebu (WRT1900AC/WRT1200AC/etc) boot counter

2015-08-18 Thread Claudio Leite
* Rob Mosher (nyt-open...@countercultured.net) wrote: +++ b/target/linux/mvebu/base-files/etc/init.d/u-boot_env @@ -9,6 +9,7 @@ boot() { case $(mvebu_board_name) in armada-385-linksys-caiman|armada-385-linksys-cobra|armada-xp-linksys-mamba) fw_setenv auto_recovery off

Re: [OpenWrt-Devel] Request for advice about SysUpgrade

2015-07-21 Thread Claudio Leite
Hi, * drEagle (drea...@doukki.net) wrote: I have started to add sysupgrade to guruplug server in kirkwood platform. I get stuck in the understanding in my analysis of OpenWrt implementation of Ugrade process. So, On the GuruPlugServerPlus are Kirkwood CPU. The available NAND (512Mo) is

[OpenWrt-Devel] [PATCH 2/2] mvebu: undo LA bit on WRT1900ACv1 WAN MAC address

2015-07-06 Thread Claudio Leite
This had been set in r44508 as a workaround for switch problems. Now that the switch driver can handle two devices with the same MAC address in separate VLANs we can go back to using the same address on both interfaces. This is the Linksys firmware's default behavior. Signed-off-by: Claudio

[OpenWrt-Devel] [PATCH 1/2] mvebu: backport cpuidle improvements

2015-04-02 Thread Claudio Leite
Upstream commits 43b68879de27b1993518687fbc6013da80cdcbfe and ce6031c89a35cffd5a5992b08377b77f49a004b9 improve the cpuidle driver on Armada XP. The latter commit improves performance at the slight expense of power consumption. Signed-off-by: Claudio Leite lei...@staticky.com --- ...uidle-mvebu

[OpenWrt-Devel] [PATCH 2/2] mvebu: refresh patch

2015-04-02 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- .../206-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/patches-3.18/206-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch b/target

[OpenWrt-Devel] [PATCH] openssl: enable ARM assembly acceleration

2015-02-25 Thread Claudio Leite
-by: Claudio Leite lei...@staticky.com Signed-off-by: Daniel Drown dan-open...@drown.org --- package/libs/openssl/Makefile| 8 +--- package/libs/openssl/patches/110-optimize-for-size.patch | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package/libs

[OpenWrt-Devel] [PATCH v2] mvebu: set WRT1900AC WAN interface MAC address

2015-02-22 Thread Claudio Leite
Toggles the LA bit on the WAN interface. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac b/target

[OpenWrt-Devel] [PATCH 1/2] mvebu: set WRT1900AC WAN interface MAC address

2015-02-21 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac b/target/linux/mvebu/base-files/lib/preinit

[OpenWrt-Devel] [PATCH 2/2] mvebu: set default WRT1900AC switch config

2015-02-21 Thread Claudio Leite
This sets 'enable_vlan' and thus uses 802.1q VLANs, but without tagging on either interface. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/mvebu/base-files/etc/uci-defaults/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/mvebu/base-files/etc/uci

Re: [OpenWrt-Devel] [PATCH 2/2] mvebu: set default WRT1900AC switch config

2015-02-21 Thread Claudio Leite
* Claudio Leite (lei...@staticky.com) wrote: This sets 'enable_vlan' and thus uses 802.1q VLANs, but without tagging on either interface. Note: this depends on the previous patch, since setting up the switch when both interfaces have the same MAC address results in a ton of packet loss

[OpenWrt-Devel] [PATCH] mvebu: fix WRT1900AC ubinized images

2015-02-14 Thread Claudio Leite
The VID header offset must be specified explicitly. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/mvebu/image/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index

[OpenWrt-Devel] [PATCH 3/3] kirkwood: enable swconfig by default on EA3500

2015-01-23 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/profiles/115-router.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/kirkwood/profiles/115-router.mk b/target/linux/kirkwood/profiles/115-router.mk index f639451..769284f 100644

[OpenWrt-Devel] [PATCH 2/2] kirkwood: enable switch on Linksys EA3500

2015-01-18 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/kirkwood/base-files/etc/uci-defaults/02_network |3 +++ target/linux/kirkwood/patches-3.14/170-ea3500.patch | 13 - target/linux/kirkwood/patches-3.18/170-ea3500.patch | 13 - 3 files

[OpenWrt-Devel] [PATCH 1/2] uboot-envtools: fix Linksys EA3500 env size

2015-01-18 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- package/boot/uboot-envtools/files/kirkwood |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/files/kirkwood b/package/boot/uboot-envtools/files/kirkwood index c868d07..98f85da 100644

[OpenWrt-Devel] [PATCH] build: allow changing kernel name in new image code

2015-01-17 Thread Claudio Leite
Necessary for targets using zImage or other kernel image types. Signed-off-by: Claudio Leite lei...@staticky.com --- include/image.mk |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/image.mk b/include/image.mk index eddf605..e0f12e0 100644 --- a/include

[OpenWrt-Devel] [PATCH 1/4] mvsw6171: rename to 'mvsw61xx'

2015-01-09 Thread Claudio Leite
In preparation for properly supporting switches beyond the 88E6171. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/generic/config-3.14 | 2 +- target/linux/generic/config-3.18 | 2 +- .../linux/generic/files/drivers/net/phy/mvsw6171.c

[OpenWrt-Devel] [PATCH 2/4] mvsw61xx: rework chip recognition

2015-01-09 Thread Claudio Leite
Recognizes 88E6171/6172/6176 at the moment. Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/generic/files/drivers/net/phy/mvsw61xx.c | 27 -- .../linux/generic/files/drivers/net/phy/mvsw61xx.h | 14 --- 2 files changed, 31 insertions(+), 10 deletions

[OpenWrt-Devel] [PATCH 3/4] mvsw61xx: clean up and expand register definitions

2015-01-09 Thread Claudio Leite
- eliminate MV_CPUPORT; not necessary since we define the CPU port(s) via Device Tree - add STU and expand VTU operations - update register names to match those of 88E61xx rather than mvswitch's 88E6060 - use more consistent formatting Signed-off-by: Claudio Leite lei...@staticky.com

[OpenWrt-Devel] [PATCH 4/4] mvsw61xx: track and set per-VLAN port state in STU

2015-01-09 Thread Claudio Leite
Since the driver doesn't know anything about (M)STP we just hard-set the ports to be enabled if they are part of the VLAN. Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/generic/files/drivers/net/phy/mvsw61xx.c | 38 ++ .../linux/generic/files/drivers/net/phy

[OpenWrt-Devel] [PATCH] mvsw6171: note support for 88E6172 switches

2014-12-19 Thread Claudio Leite
The '6171 and '6172 are similar enough to work without any changes to the code. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/generic/files/drivers/net/phy/mvsw6171.h| 2 +- target/linux/generic/patches-3.14/733-phy_mvsw6171.patch | 2 +- target/linux/generic/patches-3.18

[OpenWrt-Devel] [PATCH] kirkwood: enable EA4500 switch on 3.18

2014-12-11 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/patches-3.18/160-ea4500.patch | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/target/linux/kirkwood/patches-3.18/160-ea4500.patch b/target/linux/kirkwood/patches-3.18/160-ea4500.patch

[OpenWrt-Devel] [PATCH 1/3] kirkwood: add 3.18 support

2014-11-04 Thread Claudio Leite
Tested only on EA4500. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/config-3.18 | 335 + .../linux/kirkwood/patches-3.18/110-ib62x0.patch | 20 ++ .../linux/kirkwood/patches-3.18/130-iconnect.patch | 41 +++ .../linux

[OpenWrt-Devel] [PATCH 2/3] kernel: add driver for Marvell 88E6171 switch

2014-11-04 Thread Claudio Leite
This is a swconfig driver for the Marvell 88E6171 switch, which is a 7-port GigE switch with two CPU ports and 64 802.1q VLANs. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/generic/config-3.14 | 1 + target/linux/generic/config-3.18

[OpenWrt-Devel] [PATCH 3/3] kirkwood: enable mvsw6171 switch driver on EA4500

2014-11-04 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/config-3.14 | 2 ++ target/linux/kirkwood/config-3.18 | 2 ++ target/linux/kirkwood/patches-3.14/160-ea4500.patch | 13 - target/linux/kirkwood/patches-3.18/160-ea4500

[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 lei...@staticky.com --- target/linux/ramips/base-files/etc/board.d

Re: [OpenWrt-Devel] mediatek mt7601u?

2014-09-21 Thread Claudio Leite
* Luca Olivetti (l...@ventoso.org) wrote: The problem is that, while the interface shows up in the luci interface, I have can see no scan result and when I configure the essid and a wpa passphrase it doesn't associate. Does luci only work with interfaces that support iw (this one doesn't)?

Re: [OpenWrt-Devel] [PATCH 3/4] ramips: squelch mdio debugging info on rt2880 ethernet

2014-07-14 Thread Claudio Leite
Hello, * Claudio Leite (lei...@staticky.com) wrote: Use pr_debug rather than pr_info since it is only relevant for debugging. Signed-off-by: Claudio Leite lei...@staticky.com While we are talking about things for Barrier Breaker RC's, could this patch be merged in? It was marked as accepted

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: add driver for Marvell 88E6171 switch

2014-07-11 Thread Claudio Leite
* Xiongfei Guo (xf...@credosemi.com) wrote: Sorry, i missing that, it's Linksys EA4500. On 07/11/2014 11:53 AM, Xiongfei Guo wrote: Hi, what board you are using? I also developed and tested on a D-Link DIR-665. I haven't yet submitted the support files for that board but will do so later.

[OpenWrt-Devel] [PATCH 1/2] kernel: add driver for Marvell 88E6171 switch

2014-07-10 Thread Claudio Leite
to test that. Signed-off-by: Claudio Leite lei...@staticky.com --- .../linux/generic/files/drivers/net/phy/mvsw6171.c | 866 + .../linux/generic/files/drivers/net/phy/mvsw6171.h | 230 ++ .../generic/patches-3.10/733-phy_mvsw6171.patch| 23 + .../generic/patches-3.14/732

[OpenWrt-Devel] [PATCH 2/2] kirkwood: add mvsw6171 switch for EA4500 board

2014-07-10 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/config-3.10 | 4 +++- target/linux/kirkwood/config-3.14 | 4 +++- target/linux/kirkwood/patches-3.14/160-ea4500.patch | 13 - 3 files changed, 18 insertions(+), 3 deletions

Re: [OpenWrt-Devel] [PATCH 1/2] kernel: add driver for Marvell 88E6171 switch

2014-07-10 Thread Claudio Leite
* Claudio Leite (lei...@staticky.com) wrote: Any comments are appreciated. I meant to send this is as an RFC and not a patch. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt

[OpenWrt-Devel] [PATCH] kernel: ledtrig-netdev: use netdev_notifier_info

2014-07-07 Thread Claudio Leite
Since kernel 3.11, the third parameter passed to notifier_call() is of type struct netdev_notifier_info. This patch fixes an oops when setting a netdev LED trigger. Signed-off-by: Claudio Leite lei...@staticky.com --- .../patches-3.12/833-ledtrig_netdev-use-notifier-info.patch | 13

[OpenWrt-Devel] Kirkwood kernel version

2014-06-05 Thread Claudio Leite
Hi, I am cleaning up my port for a kirkwood-based router, D-Link DIR-665. I see there are now some patches for 3.14, and a new 'router' subtarget. I reworked the port to use the new subtarget. Should I also rework it to use the newer kernel before I submit it? I should note it builds (after a

Re: [OpenWrt-Devel] rt3883 wifi

2014-04-24 Thread Claudio Leite
Hi John, * John Crispin (j...@phrozen.org) wrote: if you use ralink SoC please test mac80211 after this update to ensure that we do not have a regression. Looks good here on rt2880. -Claudio ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH 0/3] ramips: add support for Airlink101 AR725W

2014-04-21 Thread Claudio Leite
* John Crispin (j...@phrozen.org) wrote: - GPIOs 8 and 13 (WPS LEDs) do not work. The fix is to turn off bit 6 in the RT2880 SYSTEM_CONFIG register. Not sure where this should go--I put together a quick hack that does this in the rt2880 GPIO driver and triggered from the DT node. This

[OpenWrt-Devel] [PATCH 1/2] firmware-utils: add Gemtek header tool

2014-04-21 Thread Claudio Leite
Generates webflash-compatible images for a few RT2880 routers based on Gemtek OEM boards. Signed-off-by: Claudio Leite lei...@staticky.com --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/mkheader_gemtek.c | 211 + 2 files changed, 212

[OpenWrt-Devel] [PATCH 2/2] ramips: build factory-compatible image for AR725W

2014-04-21 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/ramips/image/Makefile | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index bf9ccc1..26386bf 100644 --- a/target/linux/ramips

Re: [OpenWrt-Devel] [PATCH 1/2] firmware-utils: add Gemtek header tool

2014-04-21 Thread Claudio Leite
Hi John, * John Crispin (j...@phrozen.org) wrote: is there a difference between these 2 patches and the 3/3 that was posted earlier ? i already have the 3/3 in my local queue, wanna make sure i push the correct patch ... No difference in the code. I just figured it made more sense to

[OpenWrt-Devel] [PATCH 0/3] ramips: add support for Airlink101 AR725W

2014-04-20 Thread Claudio Leite
. Not sure where this should go--I put together a quick hack that does this in the rt2880 GPIO driver and triggered from the DT node. This works, but any suggestions/comments are appreciated. Claudio Leite (3): ramips: Add Airlink101 AR725W board support ramips: add Airlink101 AR725W userland

[OpenWrt-Devel] [PATCH 3/3] ramips: build factory image for Airlink101 AR725W

2014-04-20 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/ramips/image/Makefile | 12 +- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/mkheader_gemtek.c | 211 + 3 files changed, 223 insertions(+), 1 deletion(-) create

[OpenWrt-Devel] [PATCH 1/3] ramips: Add Airlink101 AR725W board support

2014-04-20 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/ramips/dts/AR725W.dts | 113 + target/linux/ramips/image/Makefile | 3 + target/linux/ramips/rt288x/config-3.10 | 1 + 3 files changed, 117 insertions(+) create mode 100644 target/linux

Re: [OpenWrt-Devel] [PATCH 3/4] ramips: squelch mdio debugging info on rt2880 ethernet

2014-04-13 Thread Claudio Leite
Hello, * Claudio Leite (lei...@staticky.com) wrote: Use pr_debug rather than pr_info since it is only relevant for debugging. Signed-off-by: Claudio Leite lei...@staticky.com --- .../0220-NET-ralink-squelch_mdio_access.patch | 22 ++ 1 file changed, 22

Re: [OpenWrt-Devel] [PATCH 2/2] [ramips] Fix pinctrl in DT for rt2880

2014-04-08 Thread Claudio Leite
Hi Roman, * Roman Yeryomin (leroi.li...@gmail.com) wrote: This fixes gpio to the state when gpio leds and buttons start to work but something still broken for ethernet part (mdio?). I was actually about to submit a fix for this exact problem. Your GPIO fix is identical to mine (I actually

[OpenWrt-Devel] [PATCH 0/4] ramips: Fix rt2880 Ethernet and wireless

2014-04-08 Thread Claudio Leite
/phy-mode: port@0 { ralink,fixed-link = 100 1 1 1; }; Claudio Leite (4): ramips: enable port init function on RT2880 ethernet ramips: set wmac clock on rt2880 ramips: squelch mdio debugging info on rt2880 ethernet ramips: add rt2880

[OpenWrt-Devel] [PATCH 1/4] ramips: enable port init function on RT2880 ethernet

2014-04-08 Thread Claudio Leite
This just enables the existing function, allowing port settings to be made via the board's DTS. Signed-off-by: Claudio Leite lei...@staticky.com --- .../patches-3.10/0218-NET-ralink-init_rt2880_port.patch | 12 1 file changed, 12 insertions(+) create mode 100644 target/linux

[OpenWrt-Devel] [PATCH 2/4] ramips: set wmac clock on rt2880

2014-04-08 Thread Claudio Leite
Probing the wireless device will fail without it, as the rt2800-soc driver needs to check if the device has a 20MHz clock crystal. The chip on the RT2880 boards uses 40MHz as far as I can tell. Signed-off-by: Claudio Leite lei...@staticky.com --- .../patches-3.10/0219-rt2880_wmac_clock.patch

[OpenWrt-Devel] [PATCH 3/4] ramips: squelch mdio debugging info on rt2880 ethernet

2014-04-08 Thread Claudio Leite
Use pr_debug rather than pr_info since it is only relevant for debugging. Signed-off-by: Claudio Leite lei...@staticky.com --- .../0220-NET-ralink-squelch_mdio_access.patch | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/ramips/patches-3.10

[OpenWrt-Devel] [PATCH 4/4] ramips: add rt2880 ethernet port device type

2014-04-08 Thread Claudio Leite
This patch is made against Roman Yeryomin's previously-submitted, but not yet merged, rt2880 DT pinctrl patch. Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/ramips/dts/rt2880.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/target/linux/ramips/dts/rt2880.dtsi

Re: [OpenWrt-Devel] [PATCH 2/2] [ramips] Fix pinctrl in DT for rt2880

2014-04-08 Thread Claudio Leite
* Roman Yeryomin (leroi.li...@gmail.com) wrote: On 8 April 2014 19:41, Claudio Leite lei...@staticky.com wrote: * Roman Yeryomin (leroi.li...@gmail.com) wrote: I think by default it configures mdio as mdio--I had a mdio_pins group in my rt2880.dtsi, but when I submitted the patches I redid

[OpenWrt-Devel] [PATCH] mac80211: Enable kmod-rt2800-soc package for rt288x target

2014-03-21 Thread Claudio Leite
Trunk and the latest backport to Attitude Adjustment have the kmod-rt2800-soc package hidden for the ramips_rt288x target. This makes the dependency match the dependency given in the TITLE field. --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OpenWrt-Devel] [PATCH] mac80211: Enable kmod-rt2800-soc package for rt288x target

2014-03-21 Thread Claudio Leite
Trunk and the latest backport to Attitude Adjustment have the kmod-rt2800-soc package hidden for the ramips_rt288x target. This makes the dependency match the dependency given in the TITLE field. Signed-off-by: Claudio Leite lei...@staticky.com --- package/kernel/mac80211/Makefile | 2 +- 1 file

Re: [OpenWrt-Devel] problem to building image for tp-link wr-841nd

2014-03-21 Thread Claudio Leite
* Flavio Rodrigo LEonel (frleo...@gmail.com) wrote: ok man but I'm compiling with the minimum possible, luci + default theme ... + Basic package ... Do you have debugging enabled? That can easily push an image over the limit. ___ openwrt-devel

Re: [OpenWrt-Devel] problem to building image for tp-link wr-841nd

2014-03-21 Thread Claudio Leite
* Flavio Rodrigo LEonel (frleo...@gmail.com) wrote: ok my friend what should I do to enable this debugger? would build on Sorry, I meant to -disable- debugging if you have it on. It's under Global build settings in menuconfig. Uncheck the various 'Compile the kernel with X' if they are checked.

[OpenWrt-Devel] Status of RT2880 SoC in trunk

2014-03-16 Thread Claudio Leite
Hello, I wanted to see if anyone has any RT2880-based hardware that runs something more recent than AA. I know the current trunk does not build the base rt2880 target, and I submitted a patch a few weeks ago to fix that. Even then, the router I have boots but has zero hardware support, whereas in

Re: [OpenWrt-Devel] how enable the scp service ?

2014-03-13 Thread Claudio Leite
Hi Alan, * Alan.Hoo (huqings...@ycmedia.cn) wrote: I've encountered a error during use winscp for login to my router. it's seems scp service disbled. what's the name of scp service on OpenWRT ? PS, the winscp program login successfully but exit very soon. dropbear supports SCP but not SFTP.

[OpenWrt-Devel] [PATCH] [ramips] Rewrite rt2880.c pinmux code in latest format

2014-02-28 Thread Claudio Leite
The rt2880 pinmux code from r38026 does not include changes necessary for the base RT2880 SOC target (rt2880.c) to build. This adapts the existing code into the latest format. Signed-off-by: Claudio Leite lei...@staticky.com --- --- arch/mips/ralink/rt288x.c.orig 2014-02-26 11:41