aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-0219-78/+43
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46768
* ramips: fix devicetree corruption with some boot loaders if the caches are ↵Felix Fietkau2015-09-021-0/+18
| | | | | | | | not ready at boot Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46766
* kernel: bridge, multicast-to-unicast: fix echoes on STAFelix Fietkau2015-09-022-18/+28
| | | | | | | | | | | | | | | | | | | | | Currently, multicast packets from an STA are sent to any according multicast listener directly through the bridge multicast-to-unicast feature. Unfortunately, so far this includes the originating STA, too, resulting in multicast packets being echo'ed back to the originating STA if it itself is a multicast listener for that group. This behaviour breaks IPv6 duplicate address detection: An IPv6 Neighbor Solicitation for IPv6 Duplicate Address Detection is being echo'ed back, resulting in the host falsely detecting an address collision, which makes the node unable to claim an IPv6 address and use IPv6 in general. Mac80211 unfortunately only prevents the echoes for us for multicast frames. For the multicast frames cast to a unicast destination we'll need to take care of excluding the originator ourselves. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> SVN-Revision: 46765
* lantiq: remove dead EASY33016 image recipeJonas Gorski2015-08-301-35/+0
| | | | | | | | | | Support for lantiq_svip_be has been removed a while ago, so EASY33016 images weren't buildable anymore. Remove the recipes as well as gzip compressed kernel support, as EASY33016 was the last user of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46760
* ramips: disable the openwrt commandline hackJonas Gorski2015-08-306-6/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46759
* malta: disable the openwrt commandline hackJonas Gorski2015-08-301-1/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46758
* brcm63xx: disable the openwrt commandline hackJonas Gorski2015-08-302-2/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46757
* brcm47xx: disable the openwrt commandline hackJonas Gorski2015-08-302-2/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46756
* ath25: disable the openwrt commandline hackJonas Gorski2015-08-301-1/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46755
* adm5120: disable the openwrt commandline hackJonas Gorski2015-08-301-1/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46754
* brcm63xx: remove legacy led/button related patchesJonas Gorski2015-08-3084-451/+309
| | | | | | | | | We register all gpio buttons and leds through DT, so no need to keep fixes/additions for the platform data based bay. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46753
* brcm63xx: add Comtrend VR-3026e supportJonas Gorski2015-08-3010-1/+267
| | | | | | | | | | Add support for Comtrend VR-3026e v1. The device is almost identical to the Comtrend VR-3025un. Signed-off-by: Martin Tesar <tesarmar@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46752
* brcm47xx: fix Linksys E1200 V2 image filenameRafał Miłecki2015-08-291-1/+1
| | | | | | | | Drop unwanted suffix (copy & paste mistake). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46742
* bcm53xx: support sysupgrade with Netgear R7000 original firmwareRafał Miłecki2015-08-261-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46732
* bcm53xx: add OpenWrt specific stuff for Netgear R7000Rafał Miłecki2015-08-268-2/+64
| | | | | | | | This adds DT things that couldn't be upstreamed yet. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46731
* bcm53xx: use pending Netgear R7000 patchRafał Miłecki2015-08-264-118/+256
| | | | | | | | It includes support for LEDs and buttons. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46730
* bcm53xx: use backported patches for UART0 and profilingRafał Miłecki2015-08-265-25/+17
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46729
* brcm63xx: fix WAP-5813n default network configJonas Gorski2015-08-261-1/+1
| | | | | | | | | | | /etc/uci-defaults/02_network had a typo, making it generate the wrong network config. Closes #20407. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46727
* linux: fix off-by-one in handling in /proc/net/routeJonas Gorski2015-08-261-0/+46
| | | | | | | | | | | | | Add an upstream fix for /proc/net/route causing missing routes doing several continued reads from it. Only 4.1+ is affected. Closes #20403. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46726
* brcm63xx: enable dual rx/tx spi support for hsspiJonas Gorski2015-08-253-4/+74
| | | | | | | | | | should improve flash access times. Should be harmless to gnerally enable regardless if a flash supporting dual reads is attached. In doubt, spi-nor will just fall back to serial reads. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46725
* kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()Felix Fietkau2015-08-252-37/+56
| | | | | | | | | | A call to pskb_may_pull() might reallocate skb->data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46721
* Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor ↵Felix Fietkau2015-08-252-40/+34
| | | | | | | | | | | | | | | | | | | | solicitation (#17625)" This reverts commit a080e8e1943156168913d0353a2e99d1151102aa. It did not fix the problem but just hid some symptom. The real issue was that IGMP/MLD report suppression was not considered for the multicast-to-unicast feature. A recent netifd which isolates IGMP/MLD reports between STAs by utilizing AP-isolation and bridge-hairpinning should have fixed this. It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor Solicitations, too (once that feature is configured correctly). Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46720
* kernel: remove already upstream applied patchJonas Gorski2015-08-231-73/+0
| | | | | | | | | | | | | | | | Remove 131-MIPS-export-get_c0_perfcount_int.patch which was already applied in 4.1.6. This fixes the following build error: arch/mips/ath79/setup.c:217:77: error: redefinition of '__kstrtab_get_c0_perfcount_int' arch/mips/ath79/setup.c:211:77: note: previous definition of '__kstrtab_get_c0_perfcount_int' was here arch/mips/ath79/setup.c:217:350: error: redefinition of '__ksymtab_get_c0_perfcount_int' arch/mips/ath79/setup.c:211:350: note: previous definition of '__ksymtab_get_c0_perfcount_int' was here scripts/Makefile.build:258: recipe for target 'arch/mips/ath79/setup.o' failed Reported-by: swalker Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46715
* adm5120: make patches apply againJonas Gorski2015-08-232-17/+17
| | | | | | | | Fix patches not applying anymore since r46654. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46714
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-2310-166/+41
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46713
* mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabledJonas Gorski2015-08-233-0/+105
| | | | | | | | | Properly treat -ENOSYS as no PHY, else ehci-orion won't work without generic phy support. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46711
* brcm63xx: ensure dummy byte is set for mapped spi flash with fast readJonas Gorski2015-08-2318-78/+120
| | | | | | | | | | | | | Some CFEs seem to misconfigure the mapped memory flash access with fast read but without a dummy byte, causing all accesses to be prefixed with 0xff. This of course breaks reading out the nvram, so do not just move back to single i/o accessors, but also ensure that the dummy byte is correctly set. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46707
* sunxi: bump to 4.1Zoltan Herpai2015-08-211-1/+3
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46705
* sunxi: add audio module for 4.1Zoltan Herpai2015-08-211-0/+17
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46704
* sunxi: update ahci package list for a couple board profilesZoltan Herpai2015-08-218-9/+16
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46703
* sunxi: reorganize kmod-ata-sunxi dependenciesZoltan Herpai2015-08-211-4/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 46702
* This had been set in r44508 as a workaround for switch problems.Imre Kaloz2015-08-211-2/+1
| | | | | | | | | | | | | Now that the switch driver can handle two devices with the same MAC address in separate VLANs we can go back to using the same address on both interfaces. This is the Linksys firmware's default behavior. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46700
* Previously, all VLANs (port-based or 802.1q) were sharing a single database ↵Imre Kaloz2015-08-212-4/+19
| | | | | | | | | | | | | | | | in the ATU. This created problems in the case of a system where two ports/devices share a MAC address (e.g. Linksys WRT1900AC eth0/eth1). This also clears any bootloader-set FDB defaults. This had caused issues creating port-based VLANs when mappings overlapped previous VLANs. Packets destined to a port not in the default port group flooded all ports. Tested on a 88E6171 (Linksys EA4500) and 88E6172 ('1900AC) Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46699
* mvebu: fix cobra chainmaskImre Kaloz2015-08-211-2/+2
| | | | | | | | Thanks Sebastian for spotting it. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46697
* kernel: add missing symbols for 4.1Zoltan Herpai2015-08-201-0/+3
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46696
* mvebu: add support for the Linksys boot counterImre Kaloz2015-08-192-14/+20
| | | | | | | | | | | | | The u-boot boot counter was never reset after a successful boot, which sometimes could make some variables become out of sync. This patch adds support for the boot counter and enables auto_recovery unconditionally. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46690
* at91: fix usb rate backport patch tab mangleJohn Crispin2015-08-171-14/+14
| | | | | | | | | The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply. This should fix the issue, sorry for the noise. Signed-off-by: Ben Whitten <benwhitten@gmail.com> SVN-Revision: 46676
* orion: remove IRQF_DISABLEDJohn Crispin2015-08-171-2/+2
| | | | | | | | | | no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46672
* generic: crypto: remove IRQF_DISABLEDJohn Crispin2015-08-173-3/+3
| | | | | | | | | | no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46671
* lantiq: Support newer versions of the PEF7071 ethernet PHYsJohn Crispin2015-08-172-2/+2
| | | | | | | | | | The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's PHY driver (for his u-boot sources) already supports that PHY because it uses a PHY ID mask of 0xfffffff8. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46670
* oxnas: remove support for kernel 3.18 and 4.0John Crispin2015-08-1728-1554/+0
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 46668
* ramips: move patches aroundJohn Crispin2015-08-171-0/+0
| | | | | | | | 0073 needs to applied afert 0102 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46667
* ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scriptsJohn Crispin2015-08-172-424/+235
| | | | | | | | | | | | | | | | | | | | | | | | Instead of using board name provided explicitly as text in LED name, ex.: [...] mlwg2) status_led="mlwg2:blue:system" [...] use $board variable, which allows to combine together multiple boards with same color and LED names, ex: [...] mlw221|\ mlwg2) status_led="$board:blue:system" [...] The above approach allows to shrink size of code in base-files/etc/board.d/01_leds and base-files/etc/diag.sh scripts dramatically. One thing to keep in mind here is that we assume to use proper and consistent LED naming scheme ("device:color:led-name"). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46665
* ramips: use consistent naming scheme for LEDsJohn Crispin2015-08-1780-612/+694
| | | | | | | | | | | | | The upstream LED naming convention is "device:color:led-name", but it seems that many of supported boards in OpenWrt don't follow this approach. The following patch fixes this inconsistency in dts{,i} files and updates base-files scripts for ramips target: * fixes wrong indentation * keeps case statements structure in same convention as in other scripts (no empty line after ";;", no indentation for case...esac body) * fixes wrong LED names for some of boards (makes them the same as in dts{,i} files) * combines boards with same configuration (ex. set_wifi_led "rt2800pci-phy0::radio" in 01_leds) Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46664
* ar71xx: add support for TP-Link TL-WDR6500 v2John Crispin2015-08-1711-1/+258
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds support for TP-Link TL-WDR6500 v2. The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for the whole firmware, so I have to create a new firmware creation method. SVN-Revision: 46663
* ar71xx: add 64kb bootloader mtd parser for tplinkpartJohn Crispin2015-08-171-6/+29
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds flash layout parser for TP-Link firmwares which have a 64kb bootloader. This is used for TP-Link TL-WDR6500 v2. SVN-Revision: 46662
* ramips: reorder the sysupgrade scriptJohn Crispin2015-08-171-13/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46660
* ramips: reorder patchesJohn Crispin2015-08-1711-5/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46659
* ipq806x: switch AP148 to using SMEM based MTD parserJohn Crispin2015-08-1713-63/+35
| | | | | | | | | | | | | | *Enable SMEM MTD parser and its dependencies (SMEM & HW spinlocks) in the kernel config *Replaces the MTD layout in DT by the dynamic layout provided by the SMEM parser for AP148 Using the OF based parser is still possible on platforms which have a fixed MTD partition layout. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46658
* ipq806x: add QCOM SMEM based MTD parserJohn Crispin2015-08-172-0/+554
| | | | | | | | | This patch adds a new parser which uses the SMEM available on IPQ and some other QCOM platforms to map the MTD partitions. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46657