aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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>
* kernel: use backported versions of bgmac patchesRafał Miłecki2016-06-197-41/+61
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported versions of bcma USB patchesRafał Miłecki2016-06-1912-55/+83
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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
* lantiq: Fix LED handling.John Crispin2016-04-261-24/+32
| | | | | | | | | | | Backport of r47914 to CC. Without this patch the TDW8970 is left without any status LED at all, even during preinit and failsafe. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix ath9k LED for TDW8970.John Crispin2016-04-263-1/+22
| | | | | | | | | | Backport of r47911, r47912, r47969 to CC. All other required patches have already been backported in r48822. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49229 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-2511-6/+185
| | | | | | | | | | | | | | | | 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
* CC: ramips: backport rt3352 usbphy fix in dts-fileJohn Crispin2016-04-251-1/+8
| | | | | | | | Backport of trunk patch. Fix kernel hang during loading ehci-hcd module. SIgned-Off-By: Serge Vasilugin <vasilugin@yandex.ru> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: Support for new Archer C7 with gd25q128 chipHauke Mehrtens2016-04-247-37/+39
| | | | | | | | | | | | | | | Archer C7 V2.0 units from December 2015 onwards ( serials starting 215C ) have changed flash chips to the gd25q128 chip, this is supported in trunk but not presently in 15.05. I would like stable support for this version so I've back ported the required fix from trunk and removed a conflicting patch from bcm53xx I've tested the patch it and I'm able to install a build of 15.05.1 on a new Archer C7 device with this patch. Signed-off-by: John Marrett <johnf@zioncluster.ca> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bump maximum TRX size for devices with serial flashRafał Miłecki2016-04-201-0/+1
| | | | | | | | | | | It was already increased for NAND devices so do the same for the ones with serial memory. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49207 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix 16 bit IO on newer coresJohn Crispin2016-04-201-5/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49203 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
* ralink: add spi fixJohn Crispin2016-04-191-97/+7
| | | | | | | | | the fullduplex on CS1 is broken. remove the fullduplex support and run on plain half duplex on both CS lines. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add i2c fixJohn Crispin2016-04-191-78/+59
| | | | | | | | | | there is a deadlock that triggers under heavy bus load. until the bug is fxed, revert to an old version of the I2C driver that does not suffer from this issue. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport upstream profiling and USB VCC patchesRafał Miłecki2016-04-1510-83/+145
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport patch enabling UART on tested devicesRafał Miłecki2016-04-153-266/+192
| | | | | | | | Also rename and simpify patch enabling UART on untested ones. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix MD5 in Seama format on flash after installing OpenWrtRafał Miłecki2016-04-151-1/+1
| | | | | | | | | | We need to fix Seama just like we fix TRX due to the rootfs mark. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48522 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49170 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fixup 14e4:d612 device class to bridge as wellRafał Miłecki2016-04-051-1/+2
| | | | | | | | | | | | | | | | | | 14e4:d612 was found in D-Link DIR-885L and Netgear R8500. It's most likely a bridge used by all 14e4:4365 BCM4366 devices. Without this fixup device wasn't treated as a bridge: [ 2.849895] pci 0000:00:00.0: ignoring class 0x020000 (doesn't match header type 01) and didn't get its resources assigned. This resulted in child devices not being able to get any resources (due to the parrent missing them): [ 3.375428] pci 0000:01:00.0: BAR 2: no space for [mem size 0x00400000 64bit] [ 3.387949] pci 0000:01:00.0: BAR 2: failed to assign [mem size 0x00400000 64bit] [ 3.725797] pci 0000:01:00.0: BAR 0: no space for [mem size 0x00008000 64bit] [ 3.738314] pci 0000:01:00.0: BAR 0: failed to assign [mem size 0x00008000 64bit] Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49118 3c298f89-4303-0410-b956-a3cf2f4a3e73