Commit graph

220 commits

Author SHA1 Message Date
Gabor Juhos
97e4ddd012 ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>

SVN-Revision: 29972
2012-01-31 18:37:01 +00:00
Florian Fainelli
eeb00634a7 add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

SVN-Revision: 29935
2012-01-28 13:19:49 +00:00
Gabor Juhos
e1e84badaa ar71xx: add support for Compex WPE72/WPE72NX
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29912
2012-01-26 17:01:41 +00:00
Gabor Juhos
038d4e0d77 ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29905
2012-01-25 07:44:45 +00:00
Gabor Juhos
23e1b451dc ar71xx: preset WLAN LED config on MZK-W300NH
SVN-Revision: 29896
2012-01-24 18:40:36 +00:00
Gabor Juhos
a1dcbc66a6 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos
1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
84cd8a5ee0 ar71xx: fix RB-750 network configuration
SVN-Revision: 29668
2012-01-06 07:20:54 +00:00
Gabor Juhos
232eb83f74 ar71xx: fix LED configuration on the RB-750
SVN-Revision: 29666
2012-01-05 18:08:28 +00:00
Gabor Juhos
b8f0d86115 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos
2f53f82203 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
72019009c7 ar71xx: fix network configuration for the TL-WA901N/ND boards
SVN-Revision: 29654
2012-01-04 17:30:52 +00:00
Gabor Juhos
90bfef9ec9 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos
5eb502d9c1 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

SVN-Revision: 29652
2012-01-04 17:30:49 +00:00
Gabor Juhos
1045c83527 ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
1e68f10b87 ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos
5c067db8a7 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos
557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Jonas Gorski
8799627ef0 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

SVN-Revision: 29595
2011-12-21 19:32:40 +00:00
Felix Fietkau
0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
67c7980290 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

SVN-Revision: 29557
2011-12-15 22:25:38 +00:00
Gabor Juhos
b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
d461fdd519 ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
2011-11-12 10:54:10 +00:00
Gabor Juhos
8687fc3e41 ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28971
2011-11-12 10:54:04 +00:00
Gabor Juhos
87704b8078 ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
2011-11-07 21:44:24 +00:00
Gabor Juhos
09fdfa444f ar71xx: create ALL0258N network config from uci-defaults
SVN-Revision: 28832
2011-11-07 21:44:23 +00:00
Gabor Juhos
63348f5fed ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
SVN-Revision: 28831
2011-11-07 21:44:20 +00:00
Gabor Juhos
c3692c8331 ar71xx: create WZR-HP-G300NH network config from uci-defaults
SVN-Revision: 28830
2011-11-07 21:44:17 +00:00
Gabor Juhos
ee1a07a11d ar71xx: create RB-493G network config from uci-defaults
SVN-Revision: 28829
2011-11-07 21:44:12 +00:00
Gabor Juhos
d82d063d81 ar71xx: create TL-WR1043ND network config from uci-defaults
SVN-Revision: 28828
2011-11-07 21:44:11 +00:00
Gabor Juhos
68be590894 ar71xx: create WRT160NL network config from uci-defaults
SVN-Revision: 28827
2011-11-07 21:44:09 +00:00
Gabor Juhos
83901e47c9 ar71xx: create PB92 network config from uci-defaults
SVN-Revision: 28826
2011-11-07 21:44:08 +00:00
Gabor Juhos
22ab9fc9ad ar71xx: create DIR-825-B1 network config from uci-defaults
SVN-Revision: 28825
2011-11-07 21:44:07 +00:00
Gabor Juhos
e866ba5753 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
SVN-Revision: 28824
2011-11-07 21:44:03 +00:00
Gabor Juhos
9298c7afe5 ar71xx: create RB-450 network config from uci-defaults
SVN-Revision: 28823
2011-11-07 21:44:02 +00:00
Gabor Juhos
ac256f97bd ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
SVN-Revision: 28822
2011-11-07 21:44:01 +00:00
Gabor Juhos
944ac3f6cf ar71xx: create RB-433{,U} network config from uci defaults
SVN-Revision: 28821
2011-11-07 21:43:58 +00:00
Gabor Juhos
6e8390ae6c ar71xx: create even more network configs from the uci-defaults script
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.

SVN-Revision: 28820
2011-11-07 21:43:56 +00:00
Gabor Juhos
b62560413a ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.

SVN-Revision: 28819
2011-11-07 21:43:54 +00:00
Gabor Juhos
6c92b26bac ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.

SVN-Revision: 28818
2011-11-07 21:43:52 +00:00
Gabor Juhos
0a8e5dbf7b ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
2011-11-07 21:43:51 +00:00
Gabor Juhos
54c034ae7a ar71xx: remove AP81 defconfig, it is the same as the generic config
SVN-Revision: 28816
2011-11-07 21:34:33 +00:00
Gabor Juhos
b27254a2c5 ar71xx: add default network configuration for the WHR-HP-GN
SVN-Revision: 28807
2011-11-07 13:32:43 +00:00
Gabor Juhos
a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos
4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos
91f08d47c2 ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos
43e2e2e4ef ar71xx: combine LEDs setup in one file
SVN-Revision: 28704
2011-11-01 11:20:49 +00:00
Gabor Juhos
f372620ffa ar71xx: unify LED names on Planex boards
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos
66ab406d5a ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos
e7586959df ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos
f40557a692 ar71xx/all0258n: add default config
This adds default network and uboot-env settings for the ALL0258N.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28699
2011-11-01 09:23:31 +00:00
Gabor Juhos
06d9653b36 ar71xx: remove default network config of the mzk-w04nu board as well
It works with the generic config.

SVN-Revision: 28695
2011-11-01 09:23:25 +00:00
Gabor Juhos
693c777eaf ar71xx: remove LED setup of nonexistent interfaces on RB750
SVN-Revision: 28693
2011-10-31 14:26:56 +00:00
Gabor Juhos
2bcd612e72 ar71xx: remove default network config of the wnr2000 board
It is the same as the generic configuration.

SVN-Revision: 28692
2011-10-31 14:26:51 +00:00
Gabor Juhos
1646346798 ar71xx: add initial support for the OpenMesh OM2P board
Based on a patch by Marek Lindner <marek@open-mesh.com>

SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos
9d51cda2db ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Jo-Philipp Wich
b61de9c865 base-files: make sure inittab-console-fixup returns with success (#10275)
SVN-Revision: 28562
2011-10-24 21:35:43 +00:00
Jonas Gorski
a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Gabor Juhos
e45d7d7006 ar71xx: enable login only on the system console by default
SVN-Revision: 28294
2011-09-23 19:56:38 +00:00
Gabor Juhos
733399600f ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Jonas Gorski
e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Jo-Philipp Wich
701543d3ef revert r27043 (#9513)
SVN-Revision: 27343
2011-07-01 19:52:57 +00:00
Jo-Philipp Wich
1edef5ec98 revert r27341, it introduce wrong behaviour for other models
SVN-Revision: 27342
2011-07-01 19:15:45 +00:00
Jo-Philipp Wich
3b3103b2f1 turn status LED off if device finished initializing
SVN-Revision: 27341
2011-07-01 18:39:53 +00:00
Felix Fietkau
cc56af716c ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607)
SVN-Revision: 27283
2011-06-25 13:54:42 +00:00
Vasilis Tsiligiannis
70106f153d Remove trailing spaces, convert spaces to tabs
SVN-Revision: 27153
2011-06-09 19:30:50 +00:00
Felix Fietkau
9160e06af5 ar71xx: override inittab to enable login on ttyATH0
SVN-Revision: 27128
2011-06-07 17:07:10 +00:00
Gabor Juhos
646937135f ar71xx: add default network config for the AP121 boards
SVN-Revision: 27068
2011-05-31 22:53:44 +00:00
Gabor Juhos
650c7cc2fd ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
SVN-Revision: 27043
2011-05-31 22:53:13 +00:00
Gabor Juhos
4834fdaccd ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
SVN-Revision: 27042
2011-05-31 22:53:12 +00:00
Gabor Juhos
b39eebdf1e ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos
858e2e719b ar71xx: use phy0tpt trigger for the WLAN LEDs
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Felix Fietkau
cbc75a9c70 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Gabor Juhos
54ede24829 ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Felix Fietkau
784d808d07 ar71xx: add default configuration for the switch on AP96
Enables forwarding of frames between the switch ports (eth0).
Patch by Jouni Malinen

SVN-Revision: 26180
2011-03-15 19:51:42 +00:00
Gabor Juhos
8eb616de82 ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26119
2011-03-13 15:08:31 +00:00
Gabor Juhos
67c3e0bf7e ar71xx: add support for the WNDR3700v2 board
Based on a patch by Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25118
2011-01-26 20:35:42 +00:00
Gabor Juhos
061228d73c ar71xx: make uci-default scripts executable
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>

SVN-Revision: 24897
2011-01-04 13:44:01 +00:00
Claudio Mignanti
2c0596cd69 unifi: add sysupgrade and leds support
SVN-Revision: 24737
2010-12-20 17:28:34 +00:00
Gabor Juhos
e7ea6387a3 ar71xx: use usbdev trigger for USB LEDs by default
SVN-Revision: 24648
2010-12-17 17:10:16 +00:00
Gabor Juhos
a26c3e60e2 ar71xx: populate LED configuration for WZR-HP-G300NH
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>

[nand-disk trigger has been removed - juhosg]

SVN-Revision: 24642
2010-12-17 17:09:57 +00:00
Gabor Juhos
a2a5598c00 ar71xx: add wlan led for the TL-WR941ND
SVN-Revision: 24612
2010-12-15 19:55:50 +00:00
Gabor Juhos
9f38f9bf76 ar71xx: add missing files for the JA76PF board
SVN-Revision: 24444
2010-12-10 19:55:28 +00:00
Gabor Juhos
b680f088ba ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

SVN-Revision: 24440
2010-12-10 17:57:51 +00:00
Gabor Juhos
5b0c83edd9 ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
2010-12-10 17:57:48 +00:00
Gabor Juhos
83834da33b ar71xx: add default network configuration file for the TL-MR3420
SVN-Revision: 24437
2010-12-10 17:57:40 +00:00
Gabor Juhos
081796fe47 ar71xx: add nbg460n image generation
This adds image generation for NBG460N/550N/550NH boards.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 24419
2010-12-10 15:17:03 +00:00
Jo-Philipp Wich
6f7e2d4ce8 tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
SVN-Revision: 24215
2010-12-02 20:19:55 +00:00
Felix Fietkau
5f3f1b8cd8 ar71xx: Configure WNDR3700 switch LED colors properly (#8103)
For WNDR3700, use green for 1Gb/s and amber for 100Mb/s and 10Mb/s on
the four LAN port switch LEDs. The LEDs will be lit to indicate a link
and will blink to indicate activity. This matches the stock firmware
and the description printed on the label on the unit's underside.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 23879
2010-11-04 18:55:16 +00:00
Felix Fietkau
b3b2227869 Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)" on submitter's request
SVN-Revision: 23878
2010-11-04 18:53:18 +00:00
Felix Fietkau
77eee74d56 ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)
Make the WiFi LEDs blink for activity on the WNDR3700, matching the
stock firmware and user expectations. The green 2.4GHz and blue 5GHz
LEDs will illuminate with the radio on, and will blink to indicate
transmission and reception.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 23877
2010-11-04 18:48:22 +00:00
Felix Fietkau
fc035b3cb6 ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
SVN-Revision: 23439
2010-10-14 13:41:42 +00:00
Felix Fietkau
3941621dbc ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
SVN-Revision: 23432
2010-10-14 00:14:59 +00:00
Gabor Juhos
697f5d0bdd ar71xx: initial support for jjPlus JWAP003
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)

SVN-Revision: 23165
2010-10-01 07:09:29 +00:00
Gabor Juhos
32d12d5e5c ar71xx: add support for the TL-MR3420 v1 board
SVN-Revision: 23136
2010-09-27 14:53:59 +00:00