aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add support for Netgear WNR2000v4John Crispin2014-11-034-0/+22
| | | | | | Signed-off-by: Michaël Burtin <mburtin@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for buffalo WZR-450HP2Felix Fietkau2014-10-223-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42796 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42795 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add LED defaults for the EnGenius ESR1750John Crispin2014-10-061-0/+5
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add qihoo 360 c301 router supportJohn Crispin2014-09-156-0/+29
| | | | | | | | | | | | | | | Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. v2: * use mtd_get_mac_ascii to fetch MAC address for ath10k. * use ath79_register_pci to initialize AR9882. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add board support for ubnt loco m xwJohn Crispin2014-09-155-2/+8
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Support for RB2011UiAS-2HnDJohn Crispin2014-08-283-3/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the EnGenius ESR900John Crispin2014-08-251-0/+1
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the NC-LINK SMART-300Imre Kaloz2014-08-116-0/+21
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-237-0/+9
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix LED configuration for HiWiFi-HC6361.John Crispin2014-07-231-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WAN MAC setup on dir-825-c1John Crispin2014-07-211-1/+1
| | | | | | | | Changeset 38690 broke the WAN MAC setup. Here's the fix. Signed-off-by: Sebastian Kemper <sebastian_ml <at> gmx.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41795 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-217-0/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the OpenMesh OM5PJohn Crispin2014-07-202-3/+10
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the OpenMesh OM5PJohn Crispin2014-07-203-0/+11
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add RB91x boards to uci-defaults 02_networkJohn Crispin2014-07-201-0/+4
| | | | | | | | The default case in 02_network is inappropriate for the MikroTik RouterBOARD 91x boards because they do not have a WAN port, so don't bother setting the non-existent eth1 interface as the WAN port. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add UBNT airGateway supportJohn Crispin2014-07-204-0/+10
| | | | | | | | | | | This patch adds support for the Ubiquiti Networks airGateway. Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel: https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: extract and fixup the board.bin on the archerImre Kaloz2014-07-191-0/+13
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-145-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the Tube2H boardGabor Juhos2014-07-145-0/+46
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the EnGenius ESR900Gabor Juhos2014-07-144-0/+21
| | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5716/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for nanostation m xwJohn Crispin2014-07-145-2/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for EnGenius ESR1750Gabor Juhos2014-07-134-0/+14
| | | | | | | | Signed-off-by: Jon Suphammer <jon@suphammer.net> Patchwork: http://patchwork.openwrt.org/patch/5840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for GL.iNet v1Gabor Juhos2014-07-136-0/+14
| | | | | | | | | | | | | Patch is based on http://patchwork.openwrt.org/patch/5273/. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Mark Janssen <mark@sig-io.nl> Signed-off-by: alzhao <alzhao@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5652/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Support for Mikrotik RB2011UiASGabor Juhos2014-07-133-1/+6
| | | | | | | | | | | | | | | | | | | | | The RB2011UiAS is almost exactly the same as the RB2011UAS, which is already supported. Hardware-wise, it adds a passive power injector on Eth10. Software-wise, Routerboot passes a different board name on the kernel command line. Hence the need for a patch. Not yet working: * touchscreen: doesn't work on RB2011UAS either. The touchscreen itself seems to be driven by an ADS7843-compatible IC, but figuring out which GPIO pins it's connected to is work for the future. * control of power injector: remains off. Probably also GPIO-controlled. Signed-off-by: Soren Harward <stharward@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5841/ [juhosg: rename and refresh the kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WA860RE v1John Crispin2014-07-134-0/+12
| | | | | | | | | | | | | | | | New router/repeater from TP-LINK - CPU: Atheros AR9341-DL3A (AP123) - Flash: 4MB - Ram: 32MB Similar to TL-WA850RE. Changes: rename file after r41596 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: added support for TL-WA830RE V2John Crispin2014-07-135-0/+11
| | | | | | | | Corrected patch ath79 insted of auth79. Sorry. Signed-off-by: Fredrik Jonson <fredrik@famjonson.se> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nbg6716: extract ath10k wifi board.binJohn Crispin2014-07-101-0/+23
| | | | | | | | | | With help of this script the ath10k board.bin settings are loaded from flash and saved to the ath10k firmware directory. The driver reads it later in the boot process. Signed-off-by: André Valentin <avalentin@marcant.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for MikroTik RouterBOARD SXT LiteJohn Crispin2014-07-013-0/+12
| | | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD SXT Lite. The new RB911L series is also supported as a result. v2 of this patch fixes the wmac offset to match what is on the sticker. v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for EasyLink M150 and M-miniJohn Crispin2014-06-265-0/+29
| | | | | | | | | | | | | v3 refreshes the patch on trunk@41337 This patch adds support for the EasyLink EL-M150 and M-mini http://wiki.openwrt.org/toh/easylink/el-m150 http://wiki.openwrt.org/toh/easylink/el-m-mini Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nbg6716: Enable procd nand sysupgrageJohn Crispin2014-06-261-0/+1
| | | | | | | | | This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config is cleaned up to match the wndr4300. Signed-off-by: André Valentin <avalentin@marcant.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fixes for 951Ui-2HnD board supportJohn Crispin2014-06-183-0/+10
| | | | | | | | | | | WAN and LAN are swapped the wrong way around. This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network. This patch also defines the ACT LED as the status LED in diag.sh. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: various cleanups to /lib/upgrade/nand.shJohn Crispin2014-06-161-6/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sysupgrade support for wndr4300John Crispin2014-06-111-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for HiWiFi HC6361 board.John Crispin2014-06-025-0/+13
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support to TP-LINK TL-WA730RE v1John Crispin2014-06-021-0/+3
| | | | | | | | | | The TL-WA730RE seems to be almost identical to TL-WA701ND, just that it comes without PoE and a stock-firmware claiming the device to be a "Range Extender". Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix board detection for TL-WA7510NJohn Crispin2014-06-021-1/+4
| | | | | | | | | Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c and add hardware ID to tplink_board_detect Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade on wnr2000-v3John Crispin2014-06-021-0/+1
| | | | | | | | tested, works. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for dlink dir-615-e1John Crispin2014-06-026-0/+8
| | | | | | | | | | | | Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be uploaded through dlink's normal firmware update web page. Add profile for dir-615-e1 so the generated image can be uploaded through the firmware update web page. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2John Crispin2014-06-022-0/+3
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for OpenMesh OM2P-HSv2John Crispin2014-06-023-0/+5
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sysupgrade support for OpenMesh OM2Pv2John Crispin2014-06-021-0/+2
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for OpenMesh OM2Pv2John Crispin2014-06-024-0/+6
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the ZyXEL NBG6716 boardGabor Juhos2014-04-134-0/+21
| | | | | | | | | Signed-off-by: André Valentin <avalentin@marcant.net> Patchwork: http://patchwork.openwrt.org/patch/5101/ [juhosg: use zyxel prefix in LED names] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40500 3c298f89-4303-0410-b956-a3cf2f4a3e73