aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
...
* 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> SVN-Revision: 46274
* 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> SVN-Revision: 46271
* 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> SVN-Revision: 46270
* 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> SVN-Revision: 46256
* 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> SVN-Revision: 46250
* 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> SVN-Revision: 46248
* 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> SVN-Revision: 46244
* ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsJohn Crispin2015-07-071-20/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46241
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-071-0/+57
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46240
* 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> SVN-Revision: 46238
* 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> SVN-Revision: 46236
* ar71xx: allow pci calibration fixup to work with ar9344John Crispin2015-07-071-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 46235
* 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> SVN-Revision: 46234
* 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> SVN-Revision: 46228
* 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> SVN-Revision: 46227
* 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> SVN-Revision: 46226
* ar71xx: add support for ap143Felix Fietkau2015-07-079-0/+274
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> SVN-Revision: 46208
* 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> SVN-Revision: 46207
* 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> SVN-Revision: 46206
* 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> SVN-Revision: 46200
* 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> SVN-Revision: 46196
* 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> SVN-Revision: 46193
* ar71xx: microtik: disable all non-microtik boardsJonas Gorski2015-07-051-3/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46191
* 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> SVN-Revision: 46190
* 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> SVN-Revision: 46165
* 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> SVN-Revision: 46150
* 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> SVN-Revision: 46115
* ar71xx: add profile and build image for EnGenius EPG5000.John Crispin2015-06-182-0/+14
| | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46049
* ar71xx: add user-space support for EnGenius EPG5000.John Crispin2015-06-184-1/+9
| | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46048
* ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-06-183-0/+218
| | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46047
* 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> SVN-Revision: 46046
* 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> SVN-Revision: 46045
* 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> SVN-Revision: 46044
* ar71xx: fix hw id of tl-wr710n image (#19902)Felix Fietkau2015-06-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46032
* 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> SVN-Revision: 46022
* 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> SVN-Revision: 46012
* 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> SVN-Revision: 46011
* ar71xx/image: move ubnt images to new BuildCodeFelix Fietkau2015-06-151-89/+175
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45983
* ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boardsFelix Fietkau2015-06-151-0/+22
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45982
* ar71xx/image: new build step Build/mkubntimage for ubnt factory imagesFelix Fietkau2015-06-151-0/+29
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45981
* ar71xx: return limit as number of processed frames when re-scheduling NAPI pollFelix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45971
* ar8216: Fix problem with AR8337 MAC swap handlingFelix Fietkau2015-06-144-0/+4
| | | | | | | | | | | | | | | | | | | | | AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR8337-based devices with different board designs. Swapping the MAC's however isn't needed for AR8337 in general. It's just needed in case of certain board designs (affected devices seem to be based on Atheros reference board AP135/136-010). Therefore this configuration bit should be moved to platform data. The patch includes the needed changes to the device initialization code of affected devices. Hopefully I didn't miss any .. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45970
* ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XWFelix Fietkau2015-06-141-1/+2
| | | | | | | | | | This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 45965
* ar71xx: fix mac offset in firmware fileFelix Fietkau2015-06-141-1/+1
| | | | | | | | | In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280). This also closes #19751, bug introduced in #45624 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 45958
* ar71xx: fix 100/10mbps ethernet link issues on mynet range extenderFelix Fietkau2015-06-142-4/+69
| | | | | | | | | | | | | | | | | | The mynet range extender hardware is suffering from ethernet link loss when booting with a recent openwrt image. This only happens on 100mbps links, with 1Gbps speed the link was fine. The cause of the problem is that the AR8035 PHY (aka F1E) requires turning on and off the special TX delay setting depending on the speed of the link. The 10mbps mode only needed the proper pll value, which was extracted from the vendor code. Reported-by: Pascal Paradis Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 45954
* kernel: remove NAND flash related kmod-* packagesFelix Fietkau2015-06-071-18/+0
| | | | | | | | | | | They are useless, as the platform already selects the right options for NAND support. The main reason for removing them is the fact that it makes kernel configs more annoying to maintain on platforms that provide NAND drivers but disable them (e.g. ramips) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45919
* ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1John Crispin2015-06-051-0/+4
| | | | | | | | | The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a workaround to avoid confusing users. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45903
* ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER imagesFelix Fietkau2015-05-301-6/+2
| | | | | | | | | | | Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45855
* ar71xx: add Image/BuildLoaderPatched macroFelix Fietkau2015-05-301-0/+22
| | | | | | | | | | | In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the kernel command line in the image and then builds the loader without command line. This allows building loaders for systems which don't boot correctly when the kernel command line is provided by the loader (like the TP-LINK CPE series). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45854
* kernel: upstream fix: mount overlayfs r/o if workdir cannot be createdJohn Crispin2015-05-301-109/+0
| | | | | | | | move the patch to the proper folder Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45848