aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | | | Please also backport to Barrier Breaker (this same patch applies there too). Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Backport: ar71xx: Fix board detection for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: backport restart fix from r43777 (fixes #17839)Felix Fietkau2015-01-201-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WA701ND v2John Crispin2015-01-209-1/+176
| | | | | | Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix LED definitions for the DRAGINO2 boardFelix Fietkau2015-01-073-17/+35
| | | | | | | | | | | | | | | | 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> Backport of r42897 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: makefiles: make use of new var KERNEL_PATCHVERRafał Miłecki2014-10-261-1/+1
| | | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Inspired by r43047 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: disable irq on reboot to fix hang issues (fixes #17839)Felix Fietkau2014-10-181-0/+10
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42955 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ack completed tx descriptors only after the full frame has been ↵Felix Fietkau2014-09-111-10/+16
| | | | | | | | | | completed Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42457 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331Felix Fietkau2014-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While the AR9331 has a gigabit MAC towards the internal switch, the integrated PHYs however are only 100-base-tx capable. The existing code however advertieses gigabit capability in the link status word. If you attach such a PHY to a gigabit capable switch on the remote end, with some probability it attempts to negotiate gigabit and fails, falling baco to the AR9331 assuming a 10mbit half-duplex link. This has been observed quite frequently with the Carambola2 and gigabit capable switches. In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally for both AR9331 ethernet ports. This is most likely wrong. Despite the two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a 100base-T PHY via MII. The has_gbit attribute is used in the ethernet driver to determine the supported link modes. So either pdata->has_gbit is not set to 1 anymore, or the ethernet driver needs to be modified to determine the advertised link code word on another criteria than pdata->has_gbit. This patch implements the former solution. Signed-off-by: Harald Welte <laforge@gnumonks.org> Backport of r42432 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge ethernet tx descriptor splitting from trunk (as of r42429) to ↵Felix Fietkau2014-09-073-28/+110
| | | | | | | | fix ar716x performance issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for the NC-LINK SMART-300John Crispin2014-09-0111-0/+212
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Backport of r42130 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Support for RB2011UiAS-2HnDJohn Crispin2014-09-014-3/+34
| | | | | | Backport of r42317 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-09-011-3/+3
| | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Backport of r42280 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the EnGenius ESR900John Crispin2014-09-011-0/+1
| | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Backport of r42279 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMACJohn Crispin2014-09-011-3/+1
| | | | | | | | | | | | | | This sets the MAC address of the WLAN interface to the "official" primary MAC address (the one on the label under the devices, and the one used with the stock firmware). The MAC address used so far (primary-1) isn't even used at all with the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the WAN interface (like OpenWrt does with this patch). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r42193 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build factory image for EnGenius ESR900 and ESR1750John Crispin2014-09-011-1/+24
| | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Backport of r42189 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 boardJohn Crispin2014-09-011-0/+1
| | | | | | | | | | | | The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the mini-PCIe device. Not configuring the LED pin inside the platform data makes it impossible to configure it through any standard OpenWrt tool. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Backport of r42184 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 ↵John Crispin2014-09-011-1/+1
| | | | | | | | | | since they have the same flash layout Signed-off-by: Forest Crossman <cyrozap@gmail.com> Backport of r42177 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for the WNDR3800CHSteven Barth2014-08-071-1/+2
| | | | | | | | | Apparently this is a fairly common refurb unit of the 3800 series now, with merely the recognition string changed in the boot loader. Signed-off-by: Dave Taht <dave.taht@bufferbloat.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update Carambola2 platform dataFelix Fietkau2014-08-062-10/+1
| | | | | | | | | | | | | | Change list: * Remove button info on GPIO12, there is no button there. * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data. Tested building for carambola2 target. Signed-off-by: Mantas Pucka <mantas@8devices.com> Backport of r41993 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: oolite: the buttons are not active_lowJohn Crispin2014-08-031-3/+3
| | | | | | | | | | | this caused factory resets when reboot was pressed Signed-off-by: Brent Thomson <brentthomson@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r41932 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add RTC feature flag to ar71xx/nandJohn Crispin2014-08-031-1/+1
| | | | | | | | | | | | without this the build for NBG6716 fails due to missing packages https://dev.openwrt.org/ticket/17325 Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r41930 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-2311-4/+44
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: refresh patchesImre Kaloz2014-07-231-23/+15
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41812 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: Register reset button on UBNT AirGWJohn Crispin2014-07-211-1/+16
| | | | | | | | The airGateway has a reset button connected to GPIO 12, so we should use it. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix GL.iNet WLAN LEDJohn Crispin2014-07-211-1/+1
| | | | | | | | LED script expects WLAN LED to be "gl-connect:red:wlan". Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-2110-19/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.10 patchesJohn Crispin2014-07-203-9/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to 3.10.49John Crispin2014-07-202-49/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create profile and build image for the OpenMesh OM5P boardJohn Crispin2014-07-202-1/+13
| | | | | | | | 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@41775 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 kernel support for the OpenMesh OM5P boardJohn Crispin2014-07-203-0/+161
| | | | | | | | 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@41769 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-206-1/+87
| | | | | | | | | | | 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 profile and build image for the EnGenius EAP300 v2 boardGabor Juhos2014-07-142-0/+36
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41661 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 kernel support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-143-0/+140
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the Tube2H boardGabor Juhos2014-07-142-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41652 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 kernel support for the Tube2H boardGabor Juhos2014-07-143-0/+152
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ALFA NETWORK's nameGabor Juhos2014-07-141-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the EnGenius ESR900Gabor Juhos2014-07-142-0/+14
| | | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5715/ [juhosg: change subject] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41642 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 kernel support for the EnGenius ESR900Gabor Juhos2014-07-143-0/+240
| | | | | | | | | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5714/ [juhosg: - drop nvram.c modifications, - create a separate kernel patch, - use ath79_setup_qca955x_eth_cfg helper, - merge esr900_{010,common}_setup functions, - statically init AR8327 pad configurations, - use pr_err instead of printk] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for nanostation m xwJohn Crispin2014-07-147-4/+92
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boardsGabor Juhos2014-07-135-138/+58
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41627 3c298f89-4303-0410-b956-a3cf2f4a3e73