summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* ar8327: add IGMP Snooping supportFelix Fietkau2016-01-172-0/+232
| | | | | | | | | | | | | | | This add support for IGMP Snooping on atheros switches (disabled by default), which avoids flooding the network with multicast data. Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding on each specific port, enabling it back again prevents each port from receiving all multicast packets. Partially based on: http://patchwork.ozlabs.org/patch/418122/ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48268
* kernel: mtdsplit_squashfs: Align with the erase-block sizeFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | | | | | On most image types the rootfs ends at an erase-block. However, at least with brnImages this is not the case: while the partitions are aligned with the erase-block size there is a 12 byte footer at the end of the partition which must not be touched by any filesystem. This lead to a rootfs_data partition which was not aligned properly (and thus ended up being readonly): 0x000000480000-0x00000085a800 : "rootfs_data" (128 KiB EB) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48263
* kernel: mtdsplit: add support for EVA imagesFelix Fietkau2016-01-177-0/+106
| | | | | | | | | This allows splitting EVA images (usually found in fritz devices). The firmware will be split into a kernel and a separate rootfs partition. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48262
* kernel: mtdsplit: add support for brnImagesFelix Fietkau2016-01-177-0/+114
| | | | | | | | | | | | | | | | | This adds brnImage (used with the brnboot bootloader) firmware parsing support. brnboot verifies the integrity of the firmware stored on the "Code Image" partitions by looking at the 12 byte footer at the very end of the partition. This footer contains the checksum of the original brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2 rootfs_data - otherwise the image will not be bootable anymore). Big thanks to Mathias Kresin for analyzing the brnImage structure and finding out the information how to keep images valid even when adding a nested rootfs_data partition. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48261
* arc770: move arc patches to target/linux/genericFelix Fietkau2016-01-152-0/+127
| | | | | | | | | | | | | | | | Given those patches are relevant to any ARC platform and even ISA version it makes perfect sense for patches to exist in one place instead of being duplicated for each new ARC-based ASIC. Note this is a prerequisite for upstreaming of ARC HS38 support in OpenWRT. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48241
* kernel: compile out SNMP MIB related counting if debloat-proc is active - ↵Felix Fietkau2016-01-153-0/+132
| | | | | | | | improves network stack performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48239
* kernel: backport perf build fixes to 4.1Felix Fietkau2016-01-142-0/+81
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48231
* kernel: remove obsolete config symbols from 4.4Felix Fietkau2016-01-141-292/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only remove old symbols for 4.4 since older Kernels might be removed sooner/later and 4.4 is the next LTS build tested against: omap 4.4 CONFIG_ALL_KMODS x86_64 List of enabled & orphaned symbols: -CONFIG_ARPD=y -CONFIG_BT_L2CAP=y -CONFIG_BT_SCO=y -CONFIG_CAVIUM_OCTEON_HELPER=y -CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 -CONFIG_DISABLE_DEV_COREDUMP=y -CONFIG_EXPERIMENTAL=y -CONFIG_EXT4_FS_XATTR=y -CONFIG_GENERIC_HARDIRQS=y -CONFIG_GENERIC_TIME=y -CONFIG_HOTPLUG=y -CONFIG_INITRAMFS_COMPRESSION_NONE=y -CONFIG_INLINE_SPIN_UNLOCK=y -CONFIG_LEDS_GPIO_OF=y -CONFIG_LEDS_GPIO_PLATFORM=y -CONFIG_MFD_SUPPORT=y -CONFIG_MISC_DEVICES=y -CONFIG_MTD_CHAR=y -CONFIG_NETDEV_1000=y -CONFIG_NET_ETHERNET=y -CONFIG_NET_PCI=y -CONFIG_NET_VENDOR_SILICOM=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_UIDGID_STRICT_TYPE_CHECKS=y -CONFIG_USB_ARCH_HAS_EHCI=y -CONFIG_USB_ARCH_HAS_OHCI=y -CONFIG_USB_DEVICEFS=y -CONFIG_USB_EZUSB=y Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 48230
* kernel/3.18: update to version 3.18.25Hauke Mehrtens2016-01-1216-159/+47
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48225
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-1210-206/+29
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de SVN-Revision: 48224
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-1210-203/+19
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48223
* kernel: refresh patches for kernel 4.4Hauke Mehrtens2016-01-122-7/+7
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48222
* kernel: add missing symbols for linux 4.4Felix Fietkau2016-01-121-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48215
* kernel: Update kernel 4.4 to 4.4.0Felix Fietkau2016-01-114-38/+3
| | | | | | | | | | This removes one patch which was applied upstream with commit 67b9bcd36906e12a15ffec19463afbbd6a41660e. All other patches were refreshed. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48203
* kernel/4.4: add missing config optionsZoltan Herpai2016-01-091-0/+39
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48159
* swconfig: add API for setting port link speedRafał Miłecki2016-01-062-1/+50
| | | | | | | | | Some switches can force link speed for a port. Let's add API that will allow drivers to export this feature. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48142
* kernel: update bcma by backporting 4.4 and 4.5 patchesRafał Miłecki2016-01-044-0/+165
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48111
* kernel: add at803x fix for sgmii modeFelix Fietkau2016-01-034-0/+384
| | | | | | | | | Some (possibly broken) bootloaders incorreclty initialize at8033 phy. This patch enables sgmii autonegotiation mode. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48109
* kernel: move at803x phy patch to genericFelix Fietkau2016-01-034-0/+720
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48108
* ledtrig-netdev: don't stop timer on events for different interfacesRafał Miłecki2016-01-021-1/+2
| | | | | | | | | | This fixes regression introduced in my recent ledtrig-netdev commit. Events triggered by different interfaces were stopping timer so it wasn't working for tx/rx mode. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48072
* kernel: make bcm47xxpart work with TRX flashed at bad block(s)Rafał Miłecki2016-01-026-3/+303
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48061
* kernel: drop bcm47xxpart patch for XiaomiRafał Miłecki2016-01-026-108/+6
| | | | | | | | | It was never tested, most likely not working (because of le32_to_cpu) and not upstreamed. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48060
* generic/4.4: update to 4.4-rc7Imre Kaloz2016-01-015-29/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 48059
* ledtrig-netdev: add support for renamed devicesJohn Crispin2016-01-011-2/+3
| | | | | | | | | | | The ppp0 interface is renamed after the connection is established. Due to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of the renamed interface and literally ignores the device (no tx/rx indication, led isn't switched off with 'ifdown wan'). Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48048
* kernel: fold of_get_mac_address_mtd into of_get_mac_addressFelix Fietkau2016-01-012-58/+112
| | | | | | | | This makes it easier to keep drivers in sync with upstream Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48026
* swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINKJohn Crispin2015-12-231-47/+4
| | | | | | | | | As explained earlier, using SWITCH_TYPE_LINK gives more flexibility, it doesn't require e.g. string parsing to read some data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47999
* swconfig: add SWITCH_TYPE_LINK and support sending link info to user spaceJohn Crispin2015-12-233-0/+74
| | | | | | | | | | | | | So far we were sending link data as a string. It got some drawbacks: 1) Didn't allow writing clean user space apps reading link state. It was needed to do some screen scraping. 2) Forced whole PORT_LINK communication to be string based. Adding support for *setting* port link required passing string and parting it in the kernel space. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47997
* ledtrig-netdev: reset link status & stats after changing device_nameRafał Miłecki2015-12-231-0/+2
| | | | | | | | | Previously switching to non-existing device (interface) could result in leaving LED on. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47990
* ledtrig-netdev: drop locking from timer callback functionRafał Miłecki2015-12-231-11/+13
| | | | | | | | | | We may just delete timer on every trigger update and then start it again if needed. This will let us avoid both: races and locking in frequently called timer callback. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47987
* ledtrig-netdev: switch rwlock to spinlockRafał Miłecki2015-12-231-20/+20
| | | | | | | | | | Read/write lock was adding useless complexity, there wasn't any real gain in case of this driver. Also switch to _bh variants to avoid deadlocks. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47986
* kernel: add remaining kernel patch accidentally left out of r47963Felix Fietkau2015-12-231-0/+45
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47966
* kernel: backport all current pppoe kernel fixes to 3.18Felix Fietkau2015-12-2310-20/+260
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47963
* ledtrig-netdev: update base driver instead of patching it for every kernelRafał Miłecki2015-12-235-160/+4
| | | | | | | | | | All supported kernels require patching ledtrig-netdev in the same way, so it's safe to just move these changes to the base version of this driver. We needed these patches for some old kernels 2.6.36 and 3.11. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47962
* kernel/4.4: add missing config optionsZoltan Herpai2015-12-201-0/+17
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 47957
* ar8216: rework/fix AR8337 MAC swap handlingFelix Fietkau2015-12-202-4/+4
| | | | | | | | | | | | | | In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47956
* ath9k: Allow configuration of LED polarity in platform data.John Crispin2015-12-171-0/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 47910
* generic/4.4: bump to -rc5Imre Kaloz2015-12-154-5/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47894
* ralink: bump to the target to v4.3John Crispin2015-12-101-2/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47831
* generic/4.1: refresh patchesImre Kaloz2015-12-102-11/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47821
* kernel: revert fq_codel quantum override to prevent it from causing too much ↵Felix Fietkau2015-12-084-20/+8
| | | | | | | | cpu load with higher speed (#21326) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47811
* generic: add missing 4.1 symbolsImre Kaloz2015-12-071-0/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47802
* generic: bump 4.4 to rc4Imre Kaloz2015-12-0710-35/+25
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47801
* kernel: add bcm47xxpart patches sent for 4.5 merge windowRafał Miłecki2015-12-0716-8/+528
| | | | | | | | | This replaces old bcm53xx patch for scanning whole flash and makes bcm47xxpart compatible with NAND. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47800
* kernel: add missing config option.Hauke Mehrtens2015-12-063-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47798
* kernel: add missing config options for kernel 4.4Hauke Mehrtens2015-12-061-0/+5
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47796
* kernel: fix linux 4.4 mac80211 build errorFelix Fietkau2015-12-051-0/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47789
* kernel: drop bridge hack for removing ipv6 dependencyJonas Gorski2015-12-044-492/+0
| | | | | | | | | Now that IPV6 isn't build as a module anymore, we don't need to decouple bridge from ipv6 anymore. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47751
* kernel: mvswitch: merge 3.10+ compile fix into the codeJonas Gorski2015-12-045-143/+3
| | | | | | | | | The lowest we support is 3.18, so no need to keep it as a separate patch. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47749
* kernel: drop unneeded modification of mtd_add_partition functionRafał Miłecki2015-12-046-54/+20
| | | | | | | | | | | | In old days mtd_add_partition was checking for partitions overlapping which was breaking our splitting feature. We had to modify this function by adding an extra bool dup_check parameter. Upstream commit: 3a434f66e6da ("mtd: part: Remove partition overlap checks") removed that check so we don't need our modification anymore. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47748
* kernel: drop old uimage splitter from 4.4Rafał Miłecki2015-12-042-71/+1
| | | | | | | | | | | For a long time we have a dedicated firmware splitter for uimage as a replacement for the one builtin into mtd subsystem. For a year we got a proper warning for users sticking to the old one (r43700). It should be really safe to drop it now, especially since we do it for 4.4 only. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47747