aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add user-space support for the OpenMesh MR1750v2Sven Eckelmann2016-09-214-2/+8
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh MR1750v2Sven Eckelmann2016-09-212-0/+11
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OM2P-HSv3 to the OM2P profileSven Eckelmann2016-09-211-2/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-212-0/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-213-0/+5
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-212-0/+11
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OM5P-ACv2 to the OM5P-AC profileSven Eckelmann2016-09-211-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49155
* ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-211-1/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49154
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2Sven Eckelmann2016-09-212-2/+5
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49151
* ar71xx: add user-space support for the OpenMesh OM5P-ACv2Sven Eckelmann2016-09-212-1/+5
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49150
* ar71xx: add kernel support for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-213-0/+256
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49149
* ar71xx: create profile and build image for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-212-1/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49148
* ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-211-0/+4
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49147
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ACSven Eckelmann2016-09-212-3/+10
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49144
* ar71xx: add user-space support for the OpenMesh OM5P-ACSven Eckelmann2016-09-213-0/+11
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49142
* ar71xx: add kernel support for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-213-0/+232
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49141
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR1750 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49070
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | The MR900 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR900 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49069
* ar71xx: Use PHY fixups for Open Mesh MR1750Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49031
* ar71xx: Use PHY fixups for Open Mesh MR900Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49030
* ar71xx: Add QCA955X GPIO mux and function definitionsSven Eckelmann2016-09-212-28/+77
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49075
* ar71xx: Add support for ath79_gpio_function_* on QCA955XSven Eckelmann2016-09-211-1/+11
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49074
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xSven Eckelmann2016-09-211-0/+60
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46459
* ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsSven Eckelmann2016-09-211-20/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46241
* ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFGSven Eckelmann2016-09-211-1/+18
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49027
* ar71xx: create profile and build image for the OpenMesh MR1750 boardSven Eckelmann2016-09-212-2/+14
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46932
* ar71xx: enable sysupgrade for the OpenMesh MR1750Sven Eckelmann2016-09-212-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46929
* ar71xx: add user-space support for the OpenMesh MR1750 boardSven Eckelmann2016-09-214-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46927
* ar71xx: add kernel support for the OpenMesh MR1750 boardSven Eckelmann2016-09-213-0/+169
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46926
* ar71xx: Generate sysupgrade images for OpenMesh devicesSven Eckelmann2016-09-211-0/+3
| | | | | | | | | | | | Some OpenWrt based firmwares like Gluon expect that a sysupgrade image exists when a device firmware can be updated via sysupgrade. This image wasn't created until now because OpenMesh devices use the same image for factory and sysupgrade flash. Copying the image from *factory.bin to *sysupgrade.bin is therefore enough to make the sysupgrade functionality visible. Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* Revert "ar71xx: change some TP-link modelnames (WR841, WA701, WA730)"John Crispin2016-04-261-11/+11
| | | | | | | | | | | | | | | This reverts commit 0fd48fd7dab066db8a46e51775579c9ef507ca25. We are facing some problem on rolling out the current 15.05-branch to our devices because the image name changed. The changed image name breaks compatibility for derived projects and that's something which should only happen if there is a really good reason (e.g. security fix). Signed-off-by: Tim Niemeyer <tim@tn-x.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71x: Added support for TP-Link TL-WR841N v11 to 15.05John Crispin2016-04-251-1/+8
| | | | | | | | | | | | This patch adds support for the TP-Link TL-WR841N to OpenWrt Chaos Calmer 15.05. Confirmed working [1] and [2]. Signed-off by Stijn Segers <francesco.borromini@inventati.org> [1] https://forum.openwrt.org/viewtopic.php?id=63657 [2] https://forum.openwrt.org/viewtopic.php?id=61309 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: backport support for Netgear WPN824NJohn Crispin2016-04-2510-6/+183
| | | | | | | | | | | | | | | | 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/branches/chaos_calmer@49227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add TP-Link TL-WA901ND v4 support to Chaos Calmer 15.05.1John Crispin2016-04-259-1/+171
| | | | | | | | | | | This patch backports support for the TP-Link TL-WA901ND v4 to Chaos Calmer 15.05.1, which was added into trunk recently [1]. Signed-off by Stijn Segers <francesco.borromini@inventati.org> [1]: http://patchwork.ozlabs.org/patch/606780/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add TP-Link TL-WR740N v6 support to 15.05.1John Crispin2016-04-251-1/+8
| | | | | | | | | | | | This patch adds support for the TP-Link TL-WR740N v6 to OpenWrt Chaos Calmer. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds. Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE settings. Signed-off by: Stijn Segers <francesco.borromini@inventati.org> [1]: https://forum.openwrt.org/viewtopic.php?pid=318704 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix nondeterministic hangs during bootconsole/console handoverRafał Miłecki2016-04-204-8/+57
| | | | | | | | | | | | | | | | | | | 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> Backport of r49156 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cosmetic fix of alfa ap120c/ap96 orderingLuka Perkov2016-03-244-17/+17
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ap120cLuka Perkov2016-03-237-7/+184
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change some TP-link modelnames (WR841, WA701, WA730)John Crispin2016-03-201-10/+10
| | | | | | | | | | | | | | | | | This patch changes the image-name of some TPlink-routers. Esp. for the TPlink WR841N + WR841ND some users are confused by the fact that some images have "nd"-names and others "n"-names only. In addition this also corrects a missed "D" on WA701 and a "-" for WA730RE. backport to CC of r48767 'http://git.openwrt.org/?p=openwrt.git;a=commit;h=dbd0ab83566291e3b4974f4d4289bb7c93b091d6' r48768 'http://git.openwrt.org/?p=openwrt.git;a=commit;h=656a17c77d530b14355e8fef4a83265ee2c3271d' r48769 'http://git.openwrt.org/?p=openwrt.git;a=commit;h=783756e3096a417565d58d78e082a29db10738d4' Signed-off-by: Sven Roederer <devel-sven@geroedel.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-035-22/+27
| | | | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.24 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.25 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.26 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.27 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)John Crispin2016-03-0110-5/+189
| | | | | | | | | | | | | | | | | 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> Backport of r47420 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename firmware for Chinese version of TL-WR941ND v6John Crispin2016-03-011-2/+3
| | | | | | | | | | | | | | | It seems there are two *different* versions on TL-WR941ND v6: Chinese and European one. Currently supported by OpenWrt is Chinese one. Rename firmware to make it clear. For details see: http://wiki.openwrt.org/toh/tp-link/tl-wr941nd https://forum.openwrt.org/viewtopic.php?id=59295 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47107 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 register usb supportJohn Crispin2016-03-011-0/+1
| | | | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46283 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 fix setting mac address on ethernetJohn Crispin2016-03-011-6/+5
| | | | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46282 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 fix ethernet registrationJohn Crispin2016-03-011-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> Backport of r46281 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rework patch for qca953x/956xJohn Crispin2016-03-014-113/+339
| | | | | | | | | | | | | | | | | | | | | 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> Backport of r46207 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link ↵John Crispin2016-03-012-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> Backport of r46206 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/lzma-loader: fix O32 ABI conformanceJohn Crispin2016-03-011-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> Backport of r48279 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx, firmware-utils: split ubdev01 flash layout from XMJohn Crispin2016-03-011-1/+1
| | | | | | | | | | | The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r48828 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703NJohn Crispin2016-03-011-1/+1
| | | | | | | | | | | The hwid check was wrong, causing the AR71XX_MODEL value to end with a space (as $hwver was unset). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r47553 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48844 3c298f89-4303-0410-b956-a3cf2f4a3e73