aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* image: move netgear-image to top and rename to -dniJonas Gorski2015-09-041-11/+2
| | | | | | | | Use the same naming as netgear-chk. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename NETGEAR_ variables to their netgear namesJonas Gorski2015-09-041-11/+11
| | | | | | | | Netgear names them BOARD_ID and HW_ID, so we should do the same. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-233-19/+13
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-WDR6500 v2John Crispin2015-08-1711-1/+258
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds support for TP-Link TL-WDR6500 v2. The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for the whole firmware, so I have to create a new firmware creation method. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add 64kb bootloader mtd parser for tplinkpartJohn Crispin2015-08-171-6/+29
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds flash layout parser for TP-Link firmwares which have a 64kb bootloader. This is used for TP-Link TL-WDR6500 v2. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46662 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/trunk@46651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-141-1/+0
| | | | | | | | | | | Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: export some clock functions used by some modulesHauke Mehrtens2015-08-091-0/+28
| | | | | | | | | | | | | | | | | | This fixes this linking problem: ERROR: "clk_set_rate" [drivers/usb/phy/phy-generic.ko] undefined! ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined! ERROR: "clk_set_rate" [drivers/media/v4l2-core/videodev.ko] undefined! In the upstream kernel it is fixed here: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=411520af8ec9456886359b42628e583ac58e7e44 This closes: #20162, #20172, #20196, #20197, #20202 and #20308 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-051-2/+3
| | | | | | | | | | | | Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used for template generation, so need to be present before inclusion of image.mk in target image Makefiles. So move all declarations to before any includes. Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls") Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-052-4/+4
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove linux 3.18 supportFelix Fietkau2015-08-0498-10450/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_selectFelix Fietkau2015-08-022-2/+2
| | | | | | | Reported-by: Steve Brown <sbrown@cortland.com> Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix lzma-loader kernel command line passingFelix Fietkau2015-08-021-1/+2
| | | | | | | | | The generic kernel cmdline parser ignores argv[0], this caused a regression for all lzma-loader based boards with linux 4.1 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46544 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix oprofile performance counter interrupt handling on mipsFelix Fietkau2015-07-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-242-0/+120
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Onion OmegaJohn Crispin2015-07-249-6/+139
| | | | | | | | | | | | This patch adds support for the Onion Omega. 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/trunk@46458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for AP147-010 reference boardJohn Crispin2015-07-2415-0/+250
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for PCIe on QCA953xJohn Crispin2015-07-242-0/+88
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2John Crispin2015-07-241-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.19Jonas Gorski2015-07-2210-20/+20
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh kernel configFelix Fietkau2015-07-221-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to linux 4.1.3Felix Fietkau2015-07-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash ↵Felix Fietkau2015-07-201-1/+1
| | | | | | | | driver (fixes #20125) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: switch to linux 4.1Felix Fietkau2015-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing patch chunk to 4.1 unaligned access hacksFelix Fietkau2015-07-191-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reorganize 4.1 patch directory layoutFelix Fietkau2015-07-1935-554/+275
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh kernel configFelix Fietkau2015-07-191-8/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh 4.1 patchesFelix Fietkau2015-07-1939-80/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add 4.1 supportFelix Fietkau2015-07-1995-0/+10253
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250)Felix Fietkau2015-07-198-307/+0
| | | | | | | | The commit is incomplete, it does not even build the mach-* file This reverts commit 6e6adcf7a197b1802cb728ddcccf05f890ca0574 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.John Crispin2015-07-181-0/+5
| | | | | | | | | | As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working on these devices. This adds them to the calibration data loading introduced in r46244 and thus makes 5GHz work again for these devices. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use automatic firmware partition splitting for devolo dLAN devicesJohn Crispin2015-07-181-4/+4
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: Prevent more gzip timestampsJohn Crispin2015-07-141-3/+3
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 1200+ WiFi acJohn Crispin2015-07-1411-6/+249
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support to use gpio irqsJohn Crispin2015-07-141-0/+224
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 500 Wireless+John Crispin2015-07-1410-6/+279
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches on linux 3.18Hauke Mehrtens2015-07-1214-60/+56
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpe72 add space to include statementJohn Crispin2015-07-091-1/+1
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 register usb supportJohn Crispin2015-07-091-0/+1
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 fix setting mac address on ethernetJohn Crispin2015-07-091-6/+5
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 fix ethernet registrationJohn Crispin2015-07-091-2/+2
| | | | | | | | | | | In fb6f62e97733312053ab593fcf68eea47a21169e several settings are set on the ethernet device, but they are not working. Fix Ethernet by setting the right values. Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx remove IRQF_DISABLEDJohn Crispin2015-07-091-1/+1
| | | | | | | | | | no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix board name orderingJohn Crispin2015-07-083-5/+5
| | | | | | | | r46248 added case statements in the same places Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: implemented basic GPIO controlJohn Crispin2015-07-081-0/+25
| | | | | | | | | | Internal GPIO pins are used for PoE passthrough setups in multi-port routers. This patch implemnets control over this hardware feature for Ubiquiti Nanostations and TP-Link CPE510. Signed-off-by: Lars Kruse <lists@sumpfralle.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix LED-to-phy mapping for EnGenius ESR1750.John Crispin2015-07-081-2/+2
| | | | | | | | wlan5g is phy0tpt and wlan2g phy1tpt. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Allow to use ath79_gpio_output_select on QCA955x" (r46240)Felix Fietkau2015-07-071-57/+0
| | | | | | | | It breaks the build Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for Cisco-Linksys WAP4410NJohn Crispin2015-07-078-0/+307
| | | | | | | | | | This patch adds support for the Cisco WAP4410N, an access point that uses the AR9132 SoC. Web upgrades from stock are not yet possible, UART access required for the initial flash. Signed-off-by: Ryan A Young <rayoung@utexas.edu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for D-Link DIR-615 rev. Ix boardJohn Crispin2015-07-0711-6/+189
| | | | | | | | Based on trunk r46212. Signed-off-by: Jaehoon You <teslamint@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Unify ath10k calibration data loadingJohn Crispin2015-07-072-87/+49
| | | | | | | | | | | | | Currently one board uses the "proper" way of providing firmware with the name ath10k/cal-pci-<pci address>.bin, whereas other boards patch board.bin template in preinit and rely on a custom ath10k patch to use calibration data from the template. This patch makes all boards use the first method. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46244 3c298f89-4303-0410-b956-a3cf2f4a3e73