summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: detect ALL0315N boardjuhosg2012-08-271-0/+3
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TEW-712BR user space supportjuhosg2012-08-221-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ALL0305 board aliasjuhosg2012-08-221-0/+3
| | | | | | | | | | For the pure convenience of having a correctly named image and system name in /proc/cpuinfo , until we can do that by having system names in DTS... Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-WDR3600juhosg2012-08-221-1/+4
| | | | | | | | | | | The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has only two antennas. [juhosg: remove the custom machine type, change the board name instead] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ew-dorin: added router firmware generationjuhosg2012-08-011-0/+3
| | | | | | | | [juhosg: remove dead code] Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WLAE-AG300N initial supportjuhosg2012-08-011-0/+3
| | | | | | | | | | | | | | | | | | | | The patch set for Buffalo WLAE-AG300N initial support. There is another patch for wireless led support that is posted separately. Note on serial console: This unit has buffalo standard 4 pin console, but the unit may not power on if some console apparatus is connected. This is probably due to some electronic interaction between the unit's electronic power switch circuit and the serial console apparatus. If this happens, it is required to power on the unit without the console, then quickly (re-)attach it. [juhosg: fix coding style] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix PB44 board detectionjuhosg2012-07-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0juhosg2012-07-121-0/+3
| | | | | | | | | | | | | | | | | The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is identical, but requires different firmware headers: TL-WDR4300: 00000040 43 00 00 01 00 00 00 01 00 00 00 00 76 fb 83 40 |C...........v..@| TL-WDR4310: 00000040 43 10 00 01 00 00 00 01 00 00 00 00 38 2b 50 6c |C...........8+Pl| [juhosg: change commit message, use a different model name] Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the OpenMesh OM2P-LC boardjuhosg2012-07-051-0/+3
| | | | | | Patch-by: Marek Linder <marek@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: AP136 user-space supportjuhosg2012-07-051-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user space support for the TL-WDR4300juhosg2012-06-191-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: correctly detect NETGEAR WNDRMACjuhosg2012-06-191-0/+2
| | | | | | | | | This patch helps properly detect a WNDRMAC device. Before this patch the model is detected as "NETGEAR ?????????N". Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the embeddedwireless Dorin board (based on patch by ↵nbd2012-06-191-0/+3
| | | | | | embeddedwireless.de) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-MR3040juhosg2012-05-231-0/+3
| | | | | | | | | Support for TP-Link TL-MR3040. Power LED not working - always on red, after start should be green. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-Link TL-WR1041N v2 boardjuhosg2012-05-051-0/+6
| | | | | | Patch-by: Vince Huang <axishero@foxmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnDjuhosg2012-04-061-0/+6
| | | | | | | | | | | | | | | | | Great collaboration on these two fantastic routers on the openwrt forum: https://forum.openwrt.org/viewtopic.php?id=32320 Above all kudos to aryufan. Well done and thank you everyone else who contributed. To-Do: LED for wlan is not yet activated To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by the router Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com> [juhosg: fix line wrapped patch, fix checkpatch errors, add missing kernel patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for RB750GLjuhosg2012-03-191-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the jjPlus JA76PF2 boardjuhosg2012-03-161-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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