aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
...
* 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/trunk@44063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix board detection for TP-LINK TL-WA860REJohn Crispin2015-01-171-0/+3
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix disable_irq() on chained irq handlersFelix Fietkau2015-01-151-0/+93
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix console string in imagesFelix Fietkau2015-01-101-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: port wndr3700/3800 to the new image building codeFelix Fietkau2015-01-101-10/+76
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: port carambola2 to the new image building codeFelix Fietkau2015-01-101-2/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add flush reset register writes, should fix restart issues (#17839)Felix Fietkau2014-12-261-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename/refresh patchFelix Fietkau2014-12-261-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for qca956x socFelix Fietkau2014-12-182-0/+768
| | | | | | | | | | | | This patch adds soc support for QCA9561 and TP9343. TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers in China. The qca956x_wmac has not yet been supported by ath9k. tested on TL-WDR6500 and TL-WR882N v1 (Chinese version) Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: Belkin AC 1750 DB (F9K1115v2) supportImre Kaloz2014-12-1710-0/+292
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve ethernet driver cache footprint by removing an unnecessary ↵Felix Fietkau2014-12-093-27/+36
| | | | | | | | pointer Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove another leftover broken chunk of code in the unaligned access ↵Felix Fietkau2014-12-091-24/+0
| | | | | | | | hacks patch Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesFelix Fietkau2014-12-0835-65/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix invalid pointer accesses caused by unaligned access hacks (#18455)Felix Fietkau2014-12-081-12/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43560 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
* ag71xx: replace delay with sleep callsJohn Crispin2014-12-072-6/+6
| | | | | | | | | | | | I don't see that we're in an atomic context so there's no need to busy-wait. Therefore replace the delay with sleep calls. See also Documentation/timers/timers-howto.txt. It states: "In general, use of mdelay is discouraged and code should be refactored to allow for the use of msleep." Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: replace fixed PHY reset wait time in ar7240sw_setupJohn Crispin2014-12-071-1/+28
| | | | | | | | | Replace the fixed wait time of 1s with polling for BMCR_RESET to be cleared on all PHYs. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add build profile for the gl-inet 6416A and 6408AJohn Crispin2014-12-011-1/+3
| | | | | | | | | | | | | Patch to add the buildprofile for the GL-Init-6408A-v1 and the GL-Inet-6416A-v1 Both devices are identical, only difference is one comes with 8MB flash and the other with 16MB flash Official website: http://www.gl-inet.com/w/?page_id=241&lang=en Comprehensive list of specs: https://revspace.nl/GL-Inet Signed-off-by: Martijn Zilverschoon <martijn@friedzombie.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add D-link DGL-5500 A1 supportImre Kaloz2014-11-2710-0/+252
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: fix the r6100's wan led nameImre Kaloz2014-11-261-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK CPE210/220/510/520John Crispin2014-11-2610-7/+256
| | | | | | | | | | 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-2613-4/+232
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge changes from 3.10 that were forgotten for 3.14Felix Fietkau2014-11-2319-29/+153
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove linux 3.10 supportFelix Fietkau2014-11-23119-9491/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: switch to linux 3.14Felix Fietkau2014-11-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added support for D-link DHP-1565 rev. A1John Crispin2014-11-1911-0/+234
| | | | | | 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 switch configuration in Ubiquiti UAP ProJohn Crispin2014-11-191-2/+3
| | | | | | Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix the sys LEDs on the EasyLink M150 and miniJohn Crispin2014-11-143-3/+3
| | | | | | | | 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: adjust MR900 profile for the OpenMesh MR900v2 boardJohn Crispin2014-11-141-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sysupgrade support for OpenMesh MR900v2John Crispin2014-11-142-0/+3
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for OpenMesh MR900v2John Crispin2014-11-144-2/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR900v2John Crispin2014-11-143-0/+21
| | | | | | 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: create profile and build image for the OpenMesh MR900 boardJohn Crispin2014-11-142-1/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the OpenMesh MR900John Crispin2014-11-142-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the OpenMesh MR900 boardJohn Crispin2014-11-144-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR900 boardJohn Crispin2014-11-145-0/+238
| | | | | | 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 missing WZR-450HP2 patch from r43026 for 3.10Felix Fietkau2014-11-031-0/+39
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Netgear WNR2000v4John Crispin2014-11-039-0/+261
| | | | | | 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: refresh 3.10 patchesFelix Fietkau2014-10-2414-83/+77
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for buffalo WZR-450HP2Felix Fietkau2014-10-229-1/+280
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.John Crispin2014-10-201-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add comments for Image/BuildLoader{, Alone}.John Crispin2014-10-201-0/+17
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: disable irq on reboot to fix hang issues (fixes #17839)Felix Fietkau2014-10-182-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42955 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 seama factory type image generation.John Crispin2014-10-141-2/+4
| | | | | | | | | | | Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the computation of image's MD5 checksum as part of the seama header. But OpenWrt will erase blocks including and after the marker thus invalidating the checksum after the first boot. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42915 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