aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add user-space support for RB911G-5HPacDGabor Juhos2015-04-074-0/+50
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45300
* ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMACJohn Crispin2015-03-291-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | There were a few issues with the existing code to detect the model string: * Always using the string starting with byte 56 would cut off the W of WNDR when the ID starts with 29763654+16+64 instead of 29763654+16+128 * The string contained garbage after the zero byte instead of cutting it off after the zero (which wasn't always visible using busybox tools, but could confuse other scripts) Tested on a WNDR3700v1 and a WNDR3700v2 using the new 29763654+16+64 ID in the ART. Furthermore, tested against ART dumps of a WNDR3700v2 using the old $'\xff...' value and a WNDR3800. The [ -z "$model" ] check was dropped as there is no way to actually hit this unless no ART partition is found at all. The awk command was carefully crafted to work both with gawk and the (horribly broken) busybox awk. Fixes #18992. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45140
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ANJohn Crispin2015-03-172-2/+5
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44863
* ar71xx: add user-space support for the OpenMesh OM5P-ANJohn Crispin2015-03-173-2/+7
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44862
* ar71xx: detect GL.iNet modelJohn Crispin2015-03-171-0/+14
| | | | | | | | | There are two versions of the GL.iNet, the 6408A and the 6416A. The only difference is the flash size. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44860
* ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7John Crispin2015-03-111-2/+8
| | | | | | | | ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44659
* ar71xx: Fix board detection for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 44646
* ar71xx: add support for compex wpj558Luka Perkov2015-03-064-1/+15
| | | | | | | | | | | | OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44620
* ar71xx: TL-WA7210n v2 supportJohn Crispin2015-02-244-0/+17
| | | | | | | | | | This patch adds support for TP-Link TL-WA7210n[0] [0] http://www.tplink.com/en/products/details/?model=TL-WA7210N Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net> SVN-Revision: 44526
* ar71xx: fix 82_patch_ath10kJo-Philipp Wich2015-02-171-1/+7
| | | | | | | | | | | | The firware md5sum check never worked due to missing dollar signs. Also suppress `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'` error on any board not using ath10k. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44486
* ar71xx: Add user-space support for TP-Link MR12U v1John Crispin2015-02-134-0/+9
| | | | | | | | This patch adds user-space support for the TL-MR12U board based on the mr13u patches. Signed-off-by: Daniel Petre <daniel.petre@gmail.com> SVN-Revision: 44426
* ar71xx: ZyXEL NBG6716 led/buttons cleanupJohn Crispin2015-02-121-2/+2
| | | | | | | | | | ZyXEL NBG6716 led/buttons cleanup - improper numbered leds - improper named buttons Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> SVN-Revision: 44417
* ar71xx: add mc-mac1200r to do_load_ath10k_board_bin()John Crispin2015-02-101-0/+11
| | | | | | | | | | This patch adds the mc-mac1200r target to do_load_ath10k_board_bin() in target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin to load the ath10k radio MAC address from the EEPROM in MERCURY MAC1200R devices Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 44375
* ar71xx: Add support for MERCURY MAC1200RJohn Crispin2015-02-095-0/+16
| | | | | | | | | This patch adds support for MERCURY MAC1200R, a dual band 802.11bgn + 802.11ac router based on the AR9344, with QCA988x ath10k radio and 5 Fast Ethernet ports Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 44359
* ar71xx: fix nbg6716 power and usb ledJohn Crispin2015-02-091-1/+1
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com> SVN-Revision: 44358
* ar71xx: uci-defaults: add el-mini to appropriate groupLuka Perkov2015-02-071-4/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44307
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44305
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-076-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44304
* ar71xx: add support for the TP-LINK TL-WR941ND v5John Crispin2015-02-045-2/+9
| | | | | | | | | This device is very similar to the TL-WR841N v8, only two LED GPIOs are different. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44255
* at71xx: TP-LINK Archer: add 5GHz led entryJohn Crispin2015-02-041-0/+1
| | | | | | | | Add 5GHz led entry after r44033. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 44254
* ar71xx: Revert "added board support for compex wpj558"John Crispin2015-02-024-15/+0
| | | | | | | | This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44245
* added board support for compex wpj558John Crispin2015-02-024-0/+15
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 44237
* ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)John Crispin2015-01-306-3/+14
| | | | | | | | | | | The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are pretty much the same as WNR2000v3/WNR612v2, therefore the same initialization code and flash layout is used. Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com> Tested-by: Douglas Fraser <1dsfraser@gmail.com> SVN-Revision: 44221
* ar71xx: add default LED configuration for D-Link DIR-615 rev. C1John Crispin2015-01-281-0/+5
| | | | | | | | | This patch adds an entry in the uci-defaults' led-file to configure the WAN and WLAN LEDs by default. Signed-off-by: Vincent Wiemann <me@bibbl.com> SVN-Revision: 44165
* ar71xx: add support for TP-LINK TL-WR843ND v1John Crispin2015-01-231-0/+3
| | | | | | | | | TP-LINK TL-WR843ND v1 is the same model like wr41, but with Power over Ethernet on wan port. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 44085
* ar71xx: add support for the UniFi AP Outdoor PlusJohn Crispin2015-01-223-0/+8
| | | | | | | | the GPIO controlling the rf filter is not configured properly by this patch. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44077
* ar71xx: add support for TL-WA701ND v2John Crispin2015-01-205-0/+11
| | | | | | Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com> SVN-Revision: 44063
* ar71xx: fix board detection for TP-LINK TL-WA860REJohn Crispin2015-01-171-0/+3
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 43983
* Belkin AC 1750 DB (F9K1115v2) supportImre Kaloz2014-12-175-0/+18
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43734
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715
* ar71xx: add an extra check on board_name for ath10k firmware patchsJohn Crispin2014-12-131-6/+14
| | | | | | | | | It moves firmware patch code behind an extra check on board_name. Otherwise it will calculate firmware checksum for unaffected boards. It also reduce boottime by a md5 calculation and removes error message on boot if firmware not found. SVN-Revision: 43679
* add D-link DGL-5500 A1 supportImre Kaloz2014-11-275-0/+43
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43401
* fix the r6100's wan led nameImre Kaloz2014-11-261-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43393
* ar71xx: add support for TP-LINK CPE210/220/510/520John Crispin2014-11-265-1/+91
| | | | | | | | | | This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These devices are very similar to the Ubiquiti NanoStations, but with better specs: faster CPU, more RAM, 2x2 MIMO. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 43385
* Netgear R6100 supportImre Kaloz2014-11-268-1/+30
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43382
* ar71xx: Added support for D-link DHP-1565 rev. A1John Crispin2014-11-196-0/+11
| | | | | | Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> SVN-Revision: 43307
* ar71xx: fix switch configuration in Ubiquiti UAP ProJohn Crispin2014-11-191-2/+3
| | | | | | Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 43306
* ar71xx: Fix the sys LEDs on the EasyLink M150 and miniJohn Crispin2014-11-141-1/+1
| | | | | | | | Sets the system LED on the EasyLink M150 and mini to lower-case "easylink" Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 43271
* ar71xx: add sysupgrade support for OpenMesh MR900v2John Crispin2014-11-142-0/+3
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43267
* ar71xx: add user-space support for OpenMesh MR900v2John Crispin2014-11-144-2/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43266
* ar71xx: enable sysupgrade for the OpenMesh MR900John Crispin2014-11-142-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43261
* ar71xx: add user-space support for the OpenMesh MR900 boardJohn Crispin2014-11-144-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 43259
* ar71xx: add support for Netgear WNR2000v4John Crispin2014-11-034-0/+22
| | | | | | Signed-off-by: Michaël Burtin <mburtin@gmail.com> SVN-Revision: 43173
* ar71xx: add support for buffalo WZR-450HP2Felix Fietkau2014-10-223-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43026
* ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.John Crispin2014-10-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | Qihoo C301 has 2 flash chips of which one is used as primary and the other is used as backup. OEM U-Boot will try to boot an activeregion N with imageNstatus=0 and imageNtrynum <= imagemaxtry. If such a region is found, bootloader will try to increment imageNtrynum and boot it. This patch tries to reset imageNtrynum after each successful boot (if the boot process reaches the execution of /etc/init.d/done). root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9 00000000 9e f3 63 91 61 63 74 69 76 65 72 65 67 69 6f 6e |..c.activeregion| 00000010 3d 31 00 69 6d 61 67 65 31 73 74 61 74 75 73 3d |=1.image1status=| 00000020 30 00 69 6d 61 67 65 32 73 74 61 74 75 73 3d 30 |0.image2status=0| 00000030 00 69 6d 61 67 65 32 74 72 79 6e 75 6d 3d 30 00 |.image2trynum=0.| 00000040 69 6d 61 67 65 6d 61 78 74 72 79 3d 33 00 69 6d |imagemaxtry=3.im| 00000050 61 67 65 31 74 72 79 6e 75 6d 3d 30 00 00 00 00 |age1trynum=0....| 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42914
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-142-3/+3
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* ar71xx: Fix LED definitions for the DRAGINO2 boardJohn Crispin2014-10-142-0/+9
| | | | | | | | | | | | | | This patch fixes LED definitions for the DRAGINO2 board. 1. It renames the Router/USB led to System, as it is now marked "SYS" on the board. 2. It gives control of the LAN and WAN leds and some other GPIOs to Linux. 3. It fixes the active_low property for the LAN and WAN leds. 4. It sets up WLAN, LAN and WAN leds in the UCI defaults. 5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 42897
* ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7John Crispin2014-10-061-0/+7
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42797
* ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detectionJohn Crispin2014-10-061-1/+1
| | | | | | | | [ ] conditions should use = instead of == for string equality. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42796
* ar71xx: simplify TP-LINK model detectionJohn Crispin2014-10-061-5/+1
| | | | | | | | | | All TP-LINK machine names begin with "TP-LINK", so there's no need to check for more specific model names. This also allows adding new models like the Archer series more easily. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42795