aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
...
* ar71xx: add support for the TP-LINK TL-WR1043ND v3John Crispin2016-03-011-1/+2
| | | | | | | | | | | The hardware of the v3 is identical to the v2. Based-on-patch-by: Andreas Ziegler <github@andreas-ziegler.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r47406 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR741ND v5John Crispin2016-03-011-1/+9
| | | | | | | | | | | This device is identical to the TL-WR740N v5, it even uses the same HWID (which wasn't the case for older TL-WR741ND revisions). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r46238 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for tp-link wr740n v5.0 (EU)John Crispin2016-03-011-1/+9
| | | | | | | | | | | | | TP-Link ships wr740n v5.0 to Romania (so probably everywhere except China) with 4 MB flash and 32 MB memory (confirmed by their local support). This patch adds support for the v5.0 clone of v4, i just tested it on my own v5.0 router and it works. Signed-off-by: Daniel Petre <daniel.petre@posteo.net> Backport of r46115 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: backport ath10k firmware loading from trunk (as of r48711)Felix Fietkau2016-02-293-100/+71
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reset ethernet tx ring on fast reset to prevent packet loss / irq issuesFelix Fietkau2016-02-291-3/+11
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48753 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet MAC reset on DMA hangFelix Fietkau2016-01-151-38/+55
| | | | | | | | | | | Fully reset the chip like on a full up/down, but without the PHY statemachine restart. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48228 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chipsFelix Fietkau2016-01-151-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48227 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sysupgrade for wnr2200Felix Fietkau2016-01-031-1/+8
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48005 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix factory images for WNR2200 (#19807)Felix Fietkau2016-01-031-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48085 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are ↵Felix Fietkau2016-01-031-3/+3
| | | | | | | | | | swapped. use MAC1 for wlan Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47873 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC addressFelix Fietkau2016-01-031-3/+4
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47871 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: another fix to wndr3700_board_detectFelix Fietkau2016-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | My last bugfix (r47538) introduced a new bug in wndr3700_board_detect (again...). Assigning the result of ar71xx_get_mtd_offset_size_format to the model variable before stripping of garbage using awk will cause all NUL bytes to be removed before awk is applied, leading to model strings like "NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to terminate the string. Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk directly. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r48075 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)Felix Fietkau2016-01-031-5/+6
| | | | | | | | | | | | | | | | When fixing the model string for WNDR3700v2 which contain a model string followed by 0xff in r46455, the match for other versions of the WNDR3700v2 which just contain lots of 0xff broke (as the 0xff $model is checked for is stripped off). Fix by stripping off non-printable characters only for the actual output string, but not for the internal matching. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r47538 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2Felix Fietkau2016-01-031-1/+1
| | | | | | | | | | | | | | | | | There are a few NETGEAR devices which don't terminate the model name in the ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of trailing 0xFF garbage in this case. Fix this by matching for the first non-printable character and explicitly setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will definitely work like this, even when awk supports locales and LANG is set). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r46455 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: clean up ethernet tx queue after reset, wake queues when done - ↵Felix Fietkau2015-12-161-3/+8
| | | | | | | | | | fixes hangs reported in #18922 Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47892 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: backport support for TP-LINK TL-WR841N/ND v10Felix Fietkau2015-12-051-1/+8
| | | | | | | | | | | | The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor changes, it contains a newer revision of the QCA9533 SoC and the CPU clock is significantly higher. Backport of r47263 Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2Felix Fietkau2015-12-052-6/+12
| | | | | | | | | | | | | | | ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10 As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Backport of r47262 Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47787 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: fix network default config of the TEW-732BRJo-Philipp Wich2015-11-221-0/+1
| | | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r47595 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-0115-41/+41
| | | | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 backport of r47334. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1/S3 set GPIO for USB PowerJohn Crispin2015-10-262-1/+6
| | | | | | | | | | | Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Backport of r47261 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-2010-41/+49
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Other corrections such as the Machine Name and HWIDs Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05John Crispin2015-10-199-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supersedes the v1 from September 17th. Bumping the patch version - the MiniBox profile showed up under M, but since it's called 'Gainstrong MiniBox v1.0' now it looks out of place. Renamed the profile to gs-minibox-v1.mk to fix that. The following patch adds support for the Gainstrong MiniBox to 15.05 Chaos Calmer. Fixed items: - Inverted LED polarity (OOLITE seems to suffer from the same problem). - Changed uppercase MINIBOX_V1_ prefix as requested. - Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor). - Mention the vendor (Gainstrong) in code headers. Compiles fine, has been confirmed working by owners. Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c, the MiniBox images build fine without, so I'm wondering: do I need to add it in there as well? Any added benefit? Thank you Signed-off by: Stijn Segers <francesco.borromini@inventati.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for WeIO boardJohn Crispin2015-10-197-6/+187
| | | | | | | | | | | Support for WeIO board (http://we-io.net), backported from Designated Driver trunk. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Backport of r47110 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for D-LINK DIR-615 rev. Ix boardJohn Crispin2015-10-1511-6/+189
| | | | | | | | | | backport of r46248. Signed-off-by: Jaehoon You <teslamint@gmail.com> rebased on r46767. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-112-16/+10
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-178-30/+22
| | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for Black SwiftJohn Crispin2015-08-1710-0/+172
| | | | | | | | | | | | Add support for the Black Swift board: http://www.black-swift.com/ Took relevant parts and slightly adapted from: https://github.com/blackswift/openwrt/blob/master/bsb.patch Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.John Crispin2015-08-171-0/+4
| | | | | | | | Kinda-backport of r46415, though this patch uses the old-style calibration data loading. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use automatic firmware partition splitting for devolo dLAN devicesJohn Crispin2015-08-031-4/+4
| | | | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> Backport of r46414 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Backport support for Onion OmegaJohn Crispin2015-08-039-14/+155
| | | | | | | | | | | | Backport of r46458 to CC https://onion.io/omega Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Boken Lin <bl@onion.io> Tested-by: Jacky Huang <huangfangcheng@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix mr3220 device profile (#19990)Felix Fietkau2015-08-011-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46541 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: EPG5000 requires ATH79_NVRAMHauke Mehrtens2015-07-251-1/+2
| | | | | | | | | | | | | | EPG5000 uses ath79 nvram functions, but does not select it. This breaks build if no other board support enabling nvram support is selected. Closes #19952. Backport of r46190. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.19Jonas Gorski2015-07-2510-33/+27
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19 Backport of r46439. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: add LED defaults for the EnGenius EPG5000John Crispin2015-07-241-0/+5
| | | | | | | | | | NB that wlan5g is phy0tpt and wlan2g phy1tpt. Backport of r46226. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.John Crispin2015-07-241-2/+2
| | | | | | | | | | The designated blue WAN port on both devices has index 5, not 1. Backport of r46227. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: add profile and build image for EnGenius EPG5000.John Crispin2015-07-242-0/+14
| | | | | | | | Backport of r46049. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: add user-space support for EnGenius EPG5000.John Crispin2015-07-244-1/+9
| | | | | | | | Backport of r46048. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-07-243-0/+218
| | | | | | | | Backport of r46047. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* v3: CC : ar71xx: Backport Support for the Bitmain Antminer S3John Crispin2015-07-2410-2/+178
| | | | | | | | Backport of r46236 to CC : add support for the Bitmain Antminer S3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 1200+ WiFi acJohn Crispin2015-07-2411-6/+254
| | | | | | | | Backport of r46342 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 500 Wireless+John Crispin2015-07-2410-6/+279
| | | | | | | | Backport of r46338 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.18Hauke Mehrtens2015-07-121-1/+1
| | | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18 Backport of r46299, r46303 and r46308. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix kernel Oops in at803x_link_change_notifyFelix Fietkau2015-07-071-1/+1
| | | | | | | | | | | | | | r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range extender") introduced a pdata based modification of the tx_clk_dly. But it was not checked if pdata actually existed. This caused a page fault on all devices which didn't have at803x_platform_data specified for an at803x based device. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Backport of r46200 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.17Jonas Gorski2015-07-019-24/+24
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Backport of r46150. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add profile and build image for EnGenius EPG5000."John Crispin2015-06-292-14/+0
| | | | | | | | This reverts commit ac3184da4138c54b8a2c1be637be7cf78fc40fce. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add user-space support for EnGenius EPG5000."John Crispin2015-06-294-9/+1
| | | | | | | | This reverts commit e3326c4473bc6b7b5fd899ac955af974ebc64b92. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add kernel support for EnGenius EPG5000."John Crispin2015-06-293-218/+0
| | | | | | | | This reverts commit 27386b74adfe868f693176f55861984432afd2ce. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for EnGenius EPG5000.John Crispin2015-06-182-0/+14
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46049 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for EnGenius EPG5000.John Crispin2015-06-184-1/+9
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46048 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-06-183-0/+218
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46047 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46057 3c298f89-4303-0410-b956-a3cf2f4a3e73