aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bcm53xx: prepare for building D-Link DIR-885L imageRafał Miłecki2016-04-041-1/+32
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Partial backport of r48606 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update BCM5301X patchesRafał Miłecki2016-04-048-39/+228
| | | | | | | | | This moves few upstreamed patches and adds DIR-885L dts file. Please note it doesn't mean this device is supported yet. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.29Rafał Miłecki2016-03-303-6/+6
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49096 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094Rafał Miłecki2016-03-301-0/+122
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094Rafał Miłecki2016-03-302-6/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: simpify USB 3.0 PHY initializationRafał Miłecki2016-03-302-75/+24
| | | | | | | | We can use one code path for BCM4707 rev. 4 and BCM53018. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49092 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
* brcm47xx: image: create standard TRX images using new building systemRafał Miłecki2016-03-111-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Apart from using our new building system there are 2 more changes: 1) Limit amount of images So far we were generating all standard images (optimized one and two with no loader) for every SUBTARGET. This is not needed, as e.g. the only device requiring gzipped kernel is legacy Huawei E970. 2) Change output names The new image building system requires specifying device name. This forced picking some and resulted in: openwrt-brcm47xx-$(SUBTARGET)-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-squashfs-gz.trx openwrt-brcm47xx-$(SUBTARGET)-squashfs-noloader-nodictionary.trx becoming: openwrt-brcm47xx-$(SUBTARGET)-standard-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-gz-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-nodictionarylzma-squashfs.trx Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49006 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: move disabled devices to the new building systemRafał Miłecki2016-03-111-13/+3
| | | | | | | | | | | This only drops WGR614 V9 which has 2 MiB flash and it's unlikely to get any interest. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48975 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: switch Linksys WRT54G3GV2-VF to the new building systemRafał Miłecki2016-03-111-41/+28
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48974 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: switch Netgear WGT634U to the new building systemRafał Miłecki2016-03-111-6/+13
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48973 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: switch rest of 64k block devices to the new building systemRafał Miłecki2016-03-111-28/+45
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48972 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: switch Motorola devices to the new building systemRafał Miłecki2016-03-111-7/+22
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48971 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48999 3c298f89-4303-0410-b956-a3cf2f4a3e73