aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-4.1
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: remove linux 4.1 supportFelix Fietkau2016-05-2193-8338/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: simplify patch 613 and add missing error handlingJohn Crispin2016-04-261-3/+3
| | | | | | | | | Dynamic allocation of label can be simplified. Also add error handling to deal with failed memory allocation. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 49244
* ar71xx: fix nondeterministic hangs during bootconsole/console handoverJohn Crispin2016-04-091-0/+54
| | | | | | | | | | | | | | | | | Reconfiguring the UART when the FIFO is not empty may cause the boot to hang. This hang is extremely suspectible to timing differences; recompiling the kernel with the same configuration, but different UTS_VERSION timestamps can yield images that hang more or less often. Sometimes images are produced that hang reproducibly. This patch should also make it into one of the next linux-stable releases, but it's better to get this fixed as soon as possible. Fixes #21773, #21857. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49156
* ar71xx: Add QCA955X GPIO mux and function definitionsJohn Crispin2016-03-234-38/+88
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49075
* ar71xx: Add support for ath79_gpio_function_* on QCA955XJohn Crispin2016-03-231-1/+9
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49074
* Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"John Crispin2016-03-231-1/+1
| | | | | | | | | | | | The default delays RXD 3. RDV 3, TXD 0, TXE 0 doesn't seem to work for some boards. These boards depend on the preset values of u-boot which may differ. This reverts commit f2d4bb96b62512caa161dcc2867c91692fb16a38. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49071
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-181-9/+14
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49035
* ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955xJohn Crispin2016-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some u-boot versions for QCA955x change the delays based on the link speed during boot. This usually breaks the support of other linkspeeds when OpenWrt is booted. It also conflicts with the at803x_platform_data::fixup_rgmii_tx_delay. OpenWrt has to set its own values in QCA955X_GMAC_REG_ETH_CFG. The default RGMII values from the Atheros u-boot are currently used to preset the existing mach files. These may have to be adjusted for boards using different values but which are not currently set them explicitely in OpenWrt. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Cc: Gabor Juhos <juhosg@openwrt.org> Cc: Imre Kaloz <kaloz@openwrt.org> Cc: Christian Beier <cb@shoutrlabs.com> Cc: Chris R Blake <chrisrblake93@gmail.com> Cc: Benjamin Berg <benjamin@sipsolutions.net> Cc: Heiner Kallweit <hkallweit1@gmail.com> Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Cc: Matthias Schiffer <mschiffer@universe-factory.net> Cc: Dirk Neukirchen <dirkneukirchen@web.de> Cc: Christian Mehlis <christian@m3hlis.de> Cc: Luka Perkov <luka@openwrt.org> Cc: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 49029
* ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFGJohn Crispin2016-03-162-15/+18
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49027
* ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch ↵Felix Fietkau2016-02-071-166/+0
| | | | | | | | into files/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48650
* kernel: update kernel 4.1 to version 4.1.16Hauke Mehrtens2016-01-251-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48497
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-121-8/+8
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48223
* kernel: move at803x phy patch to genericFelix Fietkau2016-01-031-180/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48108
* ar71xx: refresh patchesJohn Crispin2015-12-237-19/+19
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47983
* ar71xx: add support for QCA956x ethernetJohn Crispin2015-12-231-0/+166
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47982
* 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> SVN-Revision: 47981
* ar71xx: add rx/tx delay definitons for qca955x's MACFelix Fietkau2015-12-121-0/+14
| | | | | | | | This patch adds the rx/tx register offsets for the qca955x SoC. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47882
* ar71xx: reorganize target patches/files to make it possible to add boards ↵Felix Fietkau2015-12-1120-2314/+29
| | | | | | | | without adding patch files Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47874
* ar71xx: add LED driver NU801John Crispin2015-12-111-0/+26
| | | | | | | | | The MR18 uses a 3-channel 16-bit PWM Constant Current Driver for its status LED. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47848
* ar71xx: Add support for Wallys DR344John Crispin2015-12-111-0/+42
| | | | | | | | This patch is for Wallys DR344 support under OpenWRT Signed-off-by: Philippe Duchein <wireless-dev@duchein.net> SVN-Revision: 47847
* kernel: update 4.1 to 4.1.13Hauke Mehrtens2015-12-023-9/+9
| | | | | | | | | | | - two upstreamed patches removed - compile tested all targets using 4.1 - run tested ar71xx Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47694
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-249-20/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47624
* ar71xx: add GL-Domino Pi support V3John Crispin2015-11-241-0/+39
| | | | | | | | This is the patch for GL-Domino Pi V3. Updated against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47622
* ar71xx: add GL-AR300 support V3John Crispin2015-11-241-0/+39
| | | | | | | | This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47621
* ar71xx: add GL-AR150 support V3John Crispin2015-11-241-0/+39
| | | | | | | | This is the 3rd version. Modified against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47620
* ar71xx: add support for the devolo dLAN HotspotJohn Crispin2015-11-211-6/+17
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 47554
* ar71xx: add Arduino YunHauke Mehrtens2015-11-101-0/+42
| | | | | | | | | | | | | | | | | | | This is based on patches from Federico Fissore <f.fissore@arduino.cc> especially this one: https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 The console is running with 250000 baud which is a non standard baud rate and needs an extra patch to be applied, I will try to get this patch upstream or something else which accomplish the same. Some upstream code looks like there are many different versions of this SoC, are these only internal versions and all versions on the consumer market are the same? I saw different GPIO configuration and flash sizes of 8MB and 16MB? Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47451
* ar71xx: serial: core: add support for boot console with arbitrary baud ratesHauke Mehrtens2015-11-101-0/+76
| | | | | | | | | | | | | The Arduino Yun uses a baud rate of 250000 by default. The serial is going over the Atmel ATmega and is used to connect to this chip. Without this patch Linux wants to switch the console to 230400 Baud. With this patch Linux will use the configured baud rate and not some standard one which is near by. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47450
* ar71xx: add function to access the GPIO function2 registerHauke Mehrtens2015-11-101-0/+72
| | | | | | | | | | Add access to the function2 gpio register. This probably has to be converted into a pimux driver later on. This is needed for some setup functions on the Arduino Yun. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47449
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)Felix Fietkau2015-11-081-78/+90
| | | | | | | | | | | | | | | The international version is completely different from the already supported Chinese version. The WLAN of the QCA956x SoC used by this router has been fixed in r46948. This patch looks like it changes a lot in 700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately, quilt decided to completely reorganize the Kconfig patch even though only a single section has been added. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 47420
* ar71xx: fix typo in r47416Felix Fietkau2015-11-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47417
* ar71xx: fix alignment of struct arpt_arp (fixes #14577)Felix Fietkau2015-11-071-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47416
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-071-2/+3
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
* ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.Felix Fietkau2015-11-021-2/+2
| | | | | | | | | Incorrect value causes clock inaccuracy as huge as 1/60. Signed-off-by: Dmitry Ivanov <dima@ubnt.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47363
* kernel: Fix environment pointer setup in ar71xx/ath79John Crispin2015-10-261-3/+19
| | | | | | | | | | | | | | | Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.: (https://dev.openwrt.org/ticket/20642). If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware init doesn't initialize environment pointer (fw_init_cmdline not called). arcs_cmdline is not initialized before calling strlcat. Signed-off-by: Ted Hess <thess@kitschensync.net> Tested-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47270
* ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2John Crispin2015-10-262-12/+22
| | | | | | | | | | | | | | ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10. As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Tested-by: Felix Kaechele <felix@kaechele.ca> SVN-Revision: 47262
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-255-24/+24
| | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47252
* ar71xx: Add Gainstrong MiniBox v1.0 support to trunkJohn Crispin2015-10-191-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supersedes the v1 from September 17th. Bumping the patch version - the MiniBox profile showed up under M, but since it's called 'Gainstrong MiniBox v1.0' now it looks out of place. Renamed the profile to gs-minibox-v1.mk to fix that. The following patch adds support for the Gainstrong MiniBox into trunk (or 'Designated Driver' :D ). Fixed items: - Inverted LED polarity (OOLITE seems to suffer from the same problem). - Changed uppercase MINIBOX_V1_ prefix as requested. - Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor). - Mention the vendor (Gainstrong) in code headers. Compiles fine, has been confirmed working by owners on 15.05. Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c, the MiniBox images build fine without, so I'm wondering: do I need to add it in there as well? Any added benefit? Thank you Signed-off by: Stijn Segers <francesco.borromini@inventati.org> SVN-Revision: 47234
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-191-2/+2
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 47221
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-048-18/+18
| | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
* ar71xx: Add WeIO Board SupportFelix Fietkau2015-09-241-5/+16
| | | | | | | | | | Add support for WeIO board (http://we-io.net). This board is based on Carambola2 board form 8Devices. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [some cleanups] SVN-Revision: 47036
* ar71xx: add support for ap152 reference boardJohn Crispin2015-09-161-0/+43
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> SVN-Revision: 46972
* ar71xx: Add UBNT airGateway Pro supportJohn Crispin2015-09-162-1/+64
| | | | | | | | This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro. Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com> SVN-Revision: 46961
* ar71xx: add TP-LINK TL-WDR3320 v2 supportJohn Crispin2015-09-141-0/+40
| | | | | | | | | | This patch adds support for TP-LINK TL-WDR3320 v2. This router uses a chinese version 2 firmware header,. Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 46934
* ar71xx: add kernel support for the OpenMesh MR1750 boardJohn Crispin2015-09-141-0/+39
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46926
* ar71xx: fix ar724x clock calculationFelix Fietkau2015-09-111-0/+22
| | | | | | | | | | | | | | | | | According to the AR7242 datasheet section 2.8, AR724X CPUs use a 40MHz input clock as the REF_CLK instead of 5MHz. The correct CPU PLL calculation procedure is as follows: CPU_PLL = (DIV * REF_CLK) / REF_DIV / 2. This patch is compatible with the current calculation procedure with default DIV and REF_DIV values. Test on both AR7240, AR7241 and AR7242. Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 46856
* target: ar71xx: add support for COMFAST CF-E316N v2 boardFelix Fietkau2015-09-114-10/+22
| | | | | | | | | | | | This adds full support (sans sysupgrading from vendor firmware) for the COMFAST CF-E316N v2 (aka CF-E316V2, CF-E316N-V2 and CF-E316Nv2.0, no FCC ID) by Shenzhen Four Seas Global Link Network Technology Co., Ltd (this company is actively refusing to provide GPL'd sources for the OpenWrt version they ship with the device, damn them). Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 46852
* 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> SVN-Revision: 46713
* ar71xx: add support for TP-Link TL-WDR6500 v2John Crispin2015-08-171-0/+40
| | | | | | | | | | | 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. SVN-Revision: 46663
* ar71xx: Add support for Black SwiftJohn Crispin2015-08-171-0/+45
| | | | | | | | | | | | 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> SVN-Revision: 46651