aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
...
* ar71xx: improve WD's My Net Wi-fi Range Extender image creationJohn Crispin2015-03-111-1/+11
| | | | | | | | | | | | | Previously, the generated images for the My Net Wi-fi Range Extender wouldn't always work (and panic) due to the fixed mtd offsets and sizes for the kernel and rootfs. This patch fixes the problem by utilizing the shared Cybertan's partition parser to recalculate the mtd partitions for every image dynamically everytime. Reported-by: Pascal Paradis <peparadis@yahoo.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename wrt160nl's trx partition parserJohn Crispin2015-03-111-1/+1
| | | | | | | | | This patch renames the partition parser from wrt160nl to more generic cybertan. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wpj588: add missing usb supportLuka Perkov2015-03-101-0/+3
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-By: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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/trunk@44647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for compex wpj558Luka Perkov2015-03-061-0/+174
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WA7210n v2 supportJohn Crispin2015-02-241-0/+125
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add v3.18 supportJohn Crispin2015-02-151-0/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ZyXEL NBG6716 rfkill switch fixJohn Crispin2015-02-141-2/+2
| | | | | | | | ZyXEL NBG6716 "rfkill" is a switch, not a button. Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ZyXEL NBG6716 add gpio usb power on/offJohn Crispin2015-02-131-0/+7
| | | | | | | | ZyXEL NBG6716 add missing GPIO USB power on/off Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ZyXEL NBG6716 led/buttons cleanupJohn Crispin2015-02-121-12/+12
| | | | | | | | | | ZyXEL NBG6716 led/buttons cleanup - improper numbered leds - improper named buttons Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: dir-505: fix reset button gpio active_low valueJohn Crispin2015-02-091-1/+1
| | | | | | | | Fix 'active_low' default value for the reset button on DIR-505. Signed-off-by: Rocco Folino <rocco@devzen.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for MERCURY MAC1200RJohn Crispin2015-02-091-0/+155
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix nbg6716 power and usb ledJohn Crispin2015-02-091-2/+2
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb2011: apply patch to fileLuka Perkov2015-02-071-0/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: qihoo: define flash variable as staticLuka Perkov2015-02-071-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-WR941ND v5John Crispin2015-02-041-0/+61
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Revert "added board support for compex wpj558"John Crispin2015-02-021-187/+0
| | | | | | | | This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added board support for compex wpj558John Crispin2015-02-021-0/+187
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)John Crispin2015-01-301-1/+26
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC addressJohn Crispin2015-01-281-3/+5
| | | | | | | | | Fix the WLAN MAC address to match the one printed on the label by using the correct address from the ART instead of the address of the LAN interface. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WA701ND v2John Crispin2015-01-201-0/+116
| | | | | | Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: Belkin AC 1750 DB (F9K1115v2) supportImre Kaloz2014-12-171-0/+189
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: dev-eth: replace mdelay callsJohn Crispin2014-12-071-2/+2
| | | | | | | | Similar to patch 2. Replace further mdelay calls. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add D-link DGL-5500 A1 supportImre Kaloz2014-11-271-0/+150
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK CPE210/220/510/520John Crispin2014-11-261-0/+107
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: Netgear R6100 supportImre Kaloz2014-11-261-0/+146
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added support for D-link DHP-1565 rev. A1John Crispin2014-11-191-0/+170
| | | | | | Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix the sys LEDs on the EasyLink M150 and miniJohn Crispin2014-11-142-2/+2
| | | | | | | | Sets the system LED on the EasyLink M150 and mini to lower-case "easylink" Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR900v2John Crispin2014-11-141-0/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR900 boardJohn Crispin2014-11-141-0/+158
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Netgear WNR2000v4John Crispin2014-11-031-0/+175
| | | | | | 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-221-0/+221
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wr1043nd-v2: Change .code of the wi-fi button to KEY_RFKILLJohn Crispin2014-10-141-4/+4
| | | | | | | | | | | | This patch changes the code of the Wi-Fi On/Off button on the TP-Link WR1043ND v2 from KEY_WLAN to KEY_RFKILL (and renames a few constants to match). The reason for this change is, that the KEY_WIFI button code is not recognized by the hotplug subsystem. This means that the userspace is not notified about the button being pressed which effectively renders it useless. Signed-off-by: Josef Gajdusek <atx@atx.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix LED definitions for the DRAGINO2 boardJohn Crispin2014-10-141-17/+26
| | | | | | | | | | | | | | 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: fix reset button gpio for OM2P/OM2P-HSJohn Crispin2014-10-061-1/+1
| | | | | | | | | | | A typo in the definition for the OM2P reset button disabled its functionality in OpenWrt. The actual button for these two devices is "1" and not "11". Signed-off-by: Oren Poleg <oren@poleg.org> [sven@open-mesh.org: added a commit subject+message] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add qihoo 360 c301 router supportJohn Crispin2014-09-151-0/+166
| | | | | | | | | | | | | | | 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
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-08-251-3/+3
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMACJohn Crispin2014-08-181-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 boardJohn Crispin2014-08-181-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the NC-LINK SMART-300Imre Kaloz2014-08-111-0/+135
| | | | | | | | 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 linux 3.14 supportFelix Fietkau2014-08-071-6/+3
| | | | | | | Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update Carambola2 platform dataFelix Fietkau2014-08-041-9/+0
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: oolite: the buttons are not active_lowJohn Crispin2014-08-011-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-231-1/+10
| | | | | | | | 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 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-211-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh OM5P boardJohn Crispin2014-07-201-0/+122
| | | | | | | | 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 kernel support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-141-0/+101
| | | | | | 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 kernel support for the Tube2H boardGabor Juhos2014-07-141-0/+113
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41649 3c298f89-4303-0410-b956-a3cf2f4a3e73