aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsJohn Crispin2015-07-071-20/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-071-0/+57
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR741ND v5John Crispin2015-07-071-1/+9
| | | | | | | | | This device is identical to the TL-WR740N v5, it even uses the same HWID (which wasn't the case for older TL-WR741ND revisions). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S3John Crispin2015-07-0710-2/+171
| | | | | | | | | | This patch adds support for the Bitmain Antminer S3 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow pci calibration fixup to work with ar9344John Crispin2015-07-071-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ubnt rocket-m tiJohn Crispin2015-07-077-1/+164
| | | | | | | | | | | rocket-m titanium is a device based on ar9344 with 802.11af poe. It doesn't use the SoC wifi, instead it's using an ar9280 connected to the pci bus. The gps version of the rocket-m ti is working, but gps is untested. The gps is connected to the first serial port. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Enable sysupgrade on the Bitmain Antminer S1John Crispin2015-07-071-0/+1
| | | | | | | | This patch enables sysupgrade for the Bitmain Antminer S1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix WAN port location on EnGenius ESR1750 and EPG5000.John Crispin2015-07-071-2/+2
| | | | | | | | The designated blue WAN port on both devices has index 5, not 1. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add LED defaults for the EnGenius EPG5000John Crispin2015-07-071-0/+5
| | | | | | | | NB that wlan5g is phy0tpt and wlan2g phy1tpt. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ap143Felix Fietkau2015-07-079-0/+274
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rework patch for qca953x/956xFelix Fietkau2015-07-074-157/+379
| | | | | | | | | | | | | | | | | | | Patch cherry-picked from the following location: https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/commit/?h=release/coconut_ioe4531_2.0&id=5c357bf6c763e4140dddcc9a3bc5f005525a9c0e Changelist, - add more register defines - add EHCI support - fix GPIO pin count to 18 - fix chained irq disabled - fix GMAC0/GMAC1 initial - fix WMAC irq number to 47 - merge the changes of dev-eth.c from the patch to file. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link ↵Felix Fietkau2015-07-072-0/+13
| | | | | | | | | | | | TL-WR841N/ND v9, Compex WPJ531) The initialization routines for these boards were relying on some (wrong) defaults for the QCA953x ethernet. Make these defaults explicit to prevent breaking them when the QCA953x defaults are fixed. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix kernel Oops in at803x_link_change_notifyFelix Fietkau2015-07-061-1/+1
| | | | | | | | | | | | r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range extender") introduced a pdata based modification of the tx_clk_dly. But it was not checked if pdata actually existed. This caused a page fault on all devices which didn't have at803x_platform_data specified for an at803x based device. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update preinit script for new ath10k firmwareFelix Fietkau2015-07-061-2/+2
| | | | | | | | | Update firmware name and md5sum. MAC-address location remains unchanged from previous version. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix UAP-PRO imagesFelix Fietkau2015-07-061-4/+4
| | | | | | | | | - it should be BOARDNAME instead of BOARD_NAME - kernel partition should be padded to 1536k (somehow this padding was lost in translation to BuildCode in bc797c73f6328941b2194d144385655ad9297e7c) Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: microtik: disable all non-microtik boardsJonas Gorski2015-07-051-3/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: EPG5000 requires ATH79_NVRAMJonas Gorski2015-07-051-1/+2
| | | | | | | | | | | EPG5000 uses ath79 nvram functions, but does not select it. This breaks build if no other board support enabling nvram support is selected. Closes #19952. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make 902-unaligned_access_hacks.patch apply againJonas Gorski2015-07-031-2/+2
| | | | | | | | | | | r46161 updated headers also touched by it, so it needed to be refreshed as well. Closes #20033. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.17Jonas Gorski2015-06-3011-33/+33
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for tp-link wr740n v5.0 (EU)Luka Perkov2015-06-231-1/+9
| | | | | | | | | | | TP-Link ships wr740n v5.0 to Romania (so probably everywhere except China) with 4 MB flash and 32 MB memory (confirmed by their local support). This patch adds support for the v5.0 clone of v4, i just tested it on my own v5.0 router and it works. Signed-off-by: Daniel Petre <daniel.petre@posteo.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for EnGenius EPG5000.John Crispin2015-06-182-0/+14
| | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for EnGenius EPG5000.John Crispin2015-06-184-1/+9
| | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-06-183-0/+218
| | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR720N-v4.John Crispin2015-06-184-6/+13
| | | | | | | | | | The hardware should be almost the same as TL-WR720N-v3. WiFi and LAN networks were tested by "Lo Yuk Fai <loyukfai@gmail.com>". Failsafe and slider switch were tested by "Wong min <alpha080@gmail.com>". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for compex wpj531John Crispin2015-06-189-6/+179
| | | | | | | | | | | tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize erase 0x9f680000 +1 cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S1John Crispin2015-06-189-1/+176
| | | | | | | | | | | This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: James Hilliard <james.hilliard1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix hw id of tl-wr710n image (#19902)Felix Fietkau2015-06-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x-nfc: allow ECC to be configured in software BCH modeFelix Fietkau2015-06-182-0/+5
| | | | | | | | | Some devices ship with NAND images that use BCH ECC. Let the driver know about that ECC mode so that it can be selected by machine files. Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb493g: fix gpio-mdio accesses under loadJonas Gorski2015-06-171-0/+61
| | | | | | | | | | | | | | | | | It seems that there are maximum timings for mdio accesses that can be hit when the system is under load and the thread is scheduled during a read or write access. Since there is no way of knowing if this happens as there is not even a parity bit, try to work around it by disabling interrupts during any gpio-mdio accesses. Performance impact seems to be neglectable, as mdio accesses are not that often. Hopefully fixes #19500. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-174-13/+13
| | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: move ubnt images to new BuildCodeFelix Fietkau2015-06-151-89/+175
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boardsFelix Fietkau2015-06-151-0/+22
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: new build step Build/mkubntimage for ubnt factory imagesFelix Fietkau2015-06-151-0/+29
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45981 3c298f89-4303-0410-b956-a3cf2f4a3e73