aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* 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
* brcm47xx: image: switch D-Link DWL-3150 to the new building systemRafał Miłecki2016-03-111-7/+13
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48970 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rework bcm47xx backport, fix build errors on the brcm47xx target ↵Felix Fietkau2016-03-052-52/+49
| | | | | | | | (#21974) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-0338-309/+130
| | | | | | | | | | | | | 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
* ramips: EX2700: remove unused kernel modulesJohn Crispin2016-03-031-1/+2
| | | | | | | | | | | Remove the kmod-mt76 package from the EX2700 profile to free up around 100 KiB of space on the root filesystem. This patch applies to both trunk and Chaos Calmer. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: bcm53xx: make patches apply againHauke Mehrtens2016-03-011-6/+8
| | | | | | | | | | Commit r48849 changed the drivers/mtd/spi-nor/spi-nor.c file and broke this patch in bcm53xx. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: enable pata_atiixp driverJohn Crispin2016-03-011-0/+1
| | | | | | | | | | | | This enables booting from devices that use an ATI PATA controller for the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro thin-clients. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Backport of r47304 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48861 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
* kernel: disable software protection bits for macronix flash chips at initJohn Crispin2016-03-011-0/+10
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport r47626 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48849 3c298f89-4303-0410-b956-a3cf2f4a3e73