summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ar71xx: add support for the Senao EAP7660D boardjuhosg2010-06-181-0/+3
| | | | | | | | | This patch adds support for the Senao EAP7660D board to trunk. Signed-off-by: Daniel Golle <daniel.golle@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for the RouterBOARD 750juhosg2010-03-071-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix status led detection on the RB4xx boardsjuhosg2010-03-051-4/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix typos in the ar71xx.shjuhosg2010-01-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for the Buffalo WZR-HP-G300NHjuhosg2010-01-151-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the D-Link DIR-600 rev. A1 boardjuhosg2010-01-111-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-WR841N v1.5 boardjuhosg2009-12-221-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on thejuhosg2009-12-181-0/+3
| | | | | | | patch from #6186) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18818 3c298f89-4303-0410-b956-a3cf2f4a3e73