summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add model detection for TL-WR842N/NDjuhosg2012-02-131-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix db120 board detectionnbd2012-02-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TRENDNet TEW-673GRU boardjuhosg2012-02-081-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: support for D-LINK DIR-615 rev. E4juhosg2012-01-311-0/+3
| | | | | | | | | | | | | | | | | | | | This patch adds support for D-LINK DIR-615 E4 board. It's mostly based on the existing support for DIR-600 A1, with some changes in the leds configuration. It's an updated version of the patch that reliably works on my hw for about a year (it was built from trunk on Jan 2011). When I decided to update the firmware and checked for the current support for that device, I also found previously posted patches by Alexey Loukianov that mentioned some stability issues. I'm not sure where could be the difference, the patches are very similar except the wmac led pin number - I was using 1, and those patches used 17. [juhosg: add 3.2 support] Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-MR11Ujuhosg2012-01-311-0/+6
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] add support for the Atheros AP113 reference boardflorian2012-01-281-0/+3
| | | | | | | | | This reference board is equipped with: - AR7242 SoC - AR9580 on-board Wi-Fi - AR8316 switch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Compex WPE72/WPE72NXjuhosg2012-01-261-0/+3
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the TL-WR2543N/ND boardjuhosg2012-01-071-0/+6
| | | | | | The WLAN LEDs are not working yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Redwave RW2458Njuhosg2012-01-061-0/+3
| | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add inital support for the ALFA Network AP96 boardjuhosg2012-01-041-1/+4
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7juhosg2012-01-041-0/+3
| | | | | | | These models are based on the AP99 reference board, and uses the AR7241 SoC. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: show correct model name on TL-WA701N/ND boardsjuhosg2012-01-041-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-MR3020juhosg2012-01-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the ALFA Network N2/N5 boardsjuhosg2012-01-011-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the wzr-hp-g300nh2nbd2011-12-181-0/+3
| | | | | | Signed-off-by: Mark Deneen <mdeneen@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ALFA Network's Hornet-UB boardjuhosg2011-12-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2juhosg2011-12-131-1/+1
| | | | | | | | | | | | | | | | | | | The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case. The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or switch ports 2-4. The stock firmware uses a single LED (in the 5GHz position) to indicate the status of both radios, and a single LED (in the switch port 1 position) to indicate the status of all LAN ports. The "missing" LEDs are present on the board, and easily shine through the case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs. I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume that this is sufficient to build a fully-functional image. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WNDR3x00 model detectionjuhosg2011-12-071-14/+17
| | | | | | | | | | | | | | | | | | | | Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset 56 in the art (caldata) mtd partition. r29434 redid WNDR3x00 model detection, attempting to distinguish between WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it contained a bug: it put the awk inside a $(...), with the result that all WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch checks the model name stored in the art partition, as is done by U-Boot shipping on the WNDR3800. It has the likely advantage of working with future models based on the WNDR3700 board. It also will not mis-detect units on which people install more memory. I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-Link board detectionjuhosg2011-12-051-1/+54
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: verify hardware id of firmware images on TP-Link boardsjuhosg2011-12-051-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for wzr-hp-g450hnbd2011-12-051-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rewrite WNDR3700/3800 handlingjuhosg2011-12-051-8/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change user-space board detectionjuhosg2011-12-051-6/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Ubiquiti AirRouterjuhosg2011-12-011-0/+3
| | | | | | Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3800 machine namejuhosg2011-11-241-0/+3
| | | | | | | | This fixes the machine name in /proc/cpuinfo and luci status page machine name. Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add diag support for the DB120 boardjuhosg2011-11-121-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Buffalo WHR-HP-GN boardjuhosg2011-11-071-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Buffalo WHR-G301N boardjuhosg2011-11-071-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28803 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the TL-WR741ND v4 boardjuhosg2011-11-011-0/+3
| | | | | | The ethernet port LEDs are not working yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the OpenMesh OM2P boardjuhosg2011-10-271-0/+3
| | | | | | Based on a patch by Marek Lindner <marek@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WHR-HP-G300N kernel supportjuhosg2011-10-241-0/+3
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the Allnet ALL0258N boardjuhosg2011-10-241-0/+3
| | | | | | | | | | This patchs adds support for the Allnet ALL0258N outdoor AP/bridge. The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio, it got 8MB of NOR and 32MB SDRAM. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: ar71xx: add support for Mikrotik Routerboard RB493Gjogo2011-10-111-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-Link TL-WR703N v1 boardjuhosg2011-09-211-0/+3
| | | | | | Based on a patch by dongyuqi <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NHjogo2011-07-281-3/+0
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add default network config for wzr-hp-ag300h (based on a patch from ↵nbd2011-06-251-0/+3
| | | | | | #9607) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add default network config for the AP121 boardsjuhosg2011-05-311-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the ar8316 switch driver on the PB92 board and add a matching ↵nbd2011-04-281-0/+3
| | | | | | default network config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for WZR-HP-G301NHjuhosg2011-04-121-0/+3
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-Link TL-WA901ND v2 boardjuhosg2011-03-131-0/+3
| | | | | | Patch-by: Jonathan Benett <jbscience87@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the WNDR3700v2 boardjuhosg2011-01-261-0/+3
| | | | | | Based on a patch by Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] unifi: add sysupgrade and leds supportclaudio2010-12-201-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the jjPlus JA79PFjuhosg2010-12-101-0/+3
| | | | | | Patch-by: Cezary Jackiewicz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-MR3220 v1 boardjuhosg2010-12-101-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add nbg460n image generationjuhosg2010-12-101-0/+3
| | | | | | | | This adds image generation for NBG460N/550N/550NH boards. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initial support for jjPlus JWAP003juhosg2010-10-011-0/+3
| | | | | | | | | 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-MR3420 v1 boardjuhosg2010-09-271-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for Atheros AP96 reference boardnbd2010-09-271-0/+3
| | | | | | | | | | | | This is still preliminary and not really tested much. Anyway, this version seems to be enough to get both wired and wireless interfaces working. Buttons and leds are also working. mach-ap96.c is based on mach-wndr3700.c. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boardsjuhosg2010-09-031-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter ↵nbd2010-07-221-0/+3
| | | | | | "Fate" Hollants, from #7528, without the ethernet fifo cfg values) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73