aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "ar71xx: WNR612v2: exclude USB modules from image"Felix Fietkau2016-02-261-1/+0
| | | | | | | | This reverts commit r48778. The issue has now been fixed properly Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Renamed Gainstrong MiniBox profile to Gainstrong (manufacturer) and ↵John Crispin2016-02-261-1/+1
| | | | | | | | | | | | | | | | updated copyright This is the first patch of a series of three to tidy up the profiles for Gainstrong devices. Right now there are two Gainstrong profiles, each for a single device built by this manufacturer. This patch renames the MiniBox profile to Gainstrong and updates the copyright notice. The series applies cleanly to current trunk. Resent with the architecture in the subject, forgot that the first time. Signed-off by: Stijn Segers <francesco.borromini@inventati.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-254-20/+25
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR612v2: fix for random WLAN MACFelix Fietkau2016-02-251-1/+7
| | | | | | | | | | Fix for invalid/random WLAN MAC address in WNR612v2. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. This is the same fix as for WNR2000v3. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR612v2: exclude USB modules from imageFelix Fietkau2016-02-251-0/+1
| | | | | | | | | Netgear WNR612v2 has no USB port yet default system image includes USB kernel modules. This patch fixes that. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR2000v3: fix for random WLAN MACFelix Fietkau2016-02-251-6/+41
| | | | | | | | | | Fix for invalid/random WLAN MAC address in WNR2000v3. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: correct imagename for TPlink WA730REJohn Crispin2016-02-251-2/+2
| | | | | | | | - insert missing "-" to separate model and version Signed-off-by: Sven Roederer <devel-sven@geroedel.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: correct imagename for TPlink WA701NDJohn Crispin2016-02-251-2/+2
| | | | | | | | - it seems there was never a 701N-model build Signed-off-by: Sven Roederer <devel-sven@geroedel.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: matchup of TPlink WR841N(D)-namesJohn Crispin2016-02-251-8/+8
| | | | | | | | | | | | | - remove the suffix (N, ND) to indicate that the image is for all WR841-models - some of these models have a "N"-suffix, others have (ND)-suffix, but the boards are the same - only difference is the detachable antenna on "D"-models - discussed this idea to remove the suffix in IRC with jow and Borromini Signed-off-by: Sven Roederer <devel-sven@geroedel.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reset ethernet tx ring on fast reset to prevent packet loss / irq issuesFelix Fietkau2016-02-221-3/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing symbol to Linux 4.4 config (#21878)Jo-Philipp Wich2016-02-181-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing kernel symbol (#21849)Jo-Philipp Wich2016-02-124-2/+4
| | | | | | | | Also reorder subtarget kernel configs. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Support for Ubiquiti UniFi AP AC LITEJohn Crispin2016-02-1213-2/+154
| | | | | | | Add support for the Ubiquiti UniFi AP AC LITE Signed-off-by: P.Wassi <p.wassi at gmx.at> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Make code formatting consistent on ath79/machtypes.hJohn Crispin2016-02-121-10/+10
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added support for TL-WA801NDv3John Crispin2016-02-128-3/+160
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR2000v3: exclude USB modules from imageJohn Crispin2016-02-121-0/+1
| | | | | | | | | Netgear WNR2000v3 has no USB port yet default system image includes USB kernel modules. This patch fixes that. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: fix build error with debugfs codeFelix Fietkau2016-02-111-5/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: increase rx ring size to improve performanceFelix Fietkau2016-02-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: store ring size order instead of ring size to avoid div/modFelix Fietkau2016-02-113-41/+58
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: increase tx ring size to improve performanceFelix Fietkau2016-02-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: optimize icache footprint of the receive poll functionFelix Fietkau2016-02-111-3/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, ↵Felix Fietkau2016-02-071-1/+2
| | | | | | | | should hopefully fix regression reported in #21520 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MDIO bus probe on QCA956xFelix Fietkau2016-02-071-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch ↵Felix Fietkau2016-02-073-343/+56
| | | | | | | | into files/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzmaFelix Fietkau2016-01-311-2/+5
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use page fragment API in the ethernet driverFelix Fietkau2016-01-311-10/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for linux 4.4Felix Fietkau2016-01-3094-0/+8616
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a few include errorsFelix Fietkau2016-01-302-3/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.16Hauke Mehrtens2016-01-251-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4"Felix Fietkau2016-01-221-1/+1
| | | | | | | | | | | | This reverts commit r48276. This can overwrite the caldata_backup partition, so the layout needs to be changed in a different way. Thanks to Arjen de Korte for spotting the issue. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: board.d: fix switch defaults on dLAN pro 1200+ WiFi acJohn Crispin2016-01-191-3/+2
| | | | | | | | transparent for vlans as originally committed Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix AR8337 switch initialization on dLAN pro 1200+ WiFi acJohn Crispin2016-01-191-0/+1
| | | | | | | | unswap ports 0/6 (broken by 17b8dcd63100a6b9e35199882f38bdc2be640777) Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Netgear WPN824NJohn Crispin2016-01-1911-7/+164
| | | | | | | | | | | | | | | | Add support for Netgear WPN824N. Hardware specs: * AR7240, 4 LAN ports, 1 WAN port * AR9285 WLAN * 32 MB RAM * 4 MB Flash * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color effect) * 3 Buttons (not supported) Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/lzma-loader: fix O32 ABI conformanceGabor Juhos2016-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly code of the loader does not reserve stack space for these registers thus when the 'loader_main' function needs to save its arguments, those will be stored in the 'workspace' area instead of the stack. Because the workspace area is also used by other part of the code, the saved register values gets overwritten and this often leads to failed kernel boots. Fix the code to reserve stack space for the registers to avoid this error. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4Felix Fietkau2016-01-171-1/+1
| | | | | | | | | | Change MTD on WNDR4300 and WNDR3700v4 to fully utilize the 128MB flash. Credit to @Tuochenlyu on GitHub. Signed-off-by: Chris Marchesi <chrism@vancluevertech.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet MAC reset on DMA hangFelix Fietkau2016-01-131-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chipsFelix Fietkau2016-01-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-121-8/+8
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ap152 supportFelix Fietkau2016-01-103-1/+2
| | | | | | | | | | - ethernet gigabit pll - switch configuration - sysupgrade Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move at803x phy patch to genericFelix Fietkau2016-01-031-180/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ensure that LOADADDR is passed to lzma-loaderFelix Fietkau2016-01-031-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48101 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48085 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* V2 ar71xx : Add Support for the Bitmain Antrouter R1John Crispin2016-01-0112-1/+144
| | | | | | | | | | This patch adds support for the Bitmain Antrouter R1 http://wiki.openwrt.org/toh/bitmain/r1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sysupgrade for wnr2200Felix Fietkau2015-12-231-1/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Update preinit script for new ath10k firmwareJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh patchesJohn Crispin2015-12-237-19/+19
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for QCA956x ethernetJohn Crispin2015-12-231-0/+166
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update QCA956x supportJohn Crispin2015-12-232-46/+92
| | | | | | | | | | | - separate qca956x and tp9343 (they use different IDs) - rename qca9561->qca956x for consistency - add missing bits (device reset, gpio output select) - fix wmac setup Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47981 3c298f89-4303-0410-b956-a3cf2f4a3e73