aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel: mtdsplit: modify rootfs helpers to provide partition typeRafał Miłecki2016-02-019-26/+42
| | | | | | | | | | Our mtdsplit parsers may want to create partition with name choice based on partition file system (e.g. SquashFS vs. JFFS2). This patch allows passing extra argument pointing to variable that will be set properly. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: support bgmac on BCM47094Rafał Miłecki2016-01-303-6/+133
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport more 4.6 bcma stuff needed for new chipsetsRafał Miłecki2016-01-284-4/+428
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: change the OF mtd mac address patch to prefer mtd-mac-address over ↵Felix Fietkau2016-01-271-10/+23
| | | | | | | | | | other properties Fixes MAC address on TL-WDR4900 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: mark CONFIG_SUNXI_SRAM as not setLuka Perkov2016-01-261-0/+1
| | | | | | | | It is marked like this on most targets. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: 4.4: refresh patchesLuka Perkov2016-01-263-21/+2
| | | | | | Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.3 to version 4.3.4Hauke Mehrtens2016-01-255-80/+5
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.16Hauke Mehrtens2016-01-253-78/+3
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to 3.18.26Hauke Mehrtens2016-01-252-76/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a small bug in the MIPS highmem fixFelix Fietkau2016-01-254-8/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable CONFIG_USERFAULTFD, it is unusedFelix Fietkau2016-01-252-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mtdsplit: document Seama splitter a bitRafał Miłecki2016-01-251-8/+10
| | | | | | | | | | Rename kernel_size variable as it includes whole entity size, not just a kernel size. Also update comments to match it and describe better what are we checking/looking for. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing kernel config optionsHauke Mehrtens2016-01-244-0/+6
| | | | | | | | | The built bots found these missing kernel configuration options. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix relocate build with binutils 2.25.1Jonas Gorski2016-01-241-1/+2
| | | | | | | | | | | | | | The new .abiflags section was kept, pushing the appended arguments to the wrong offset and causing it to read the section instead, making it fail on boot. Fix this by dropping this section as well as the other sections. Closes #21679. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: simplify init codeJonas Gorski2016-01-241-6/+1
| | | | | | | | | Directly return the return value of genl_register_family_with_ops() instead of storing it in a temporary variable, then returning it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: drop linux < 3.13 code pathsJonas Gorski2016-01-241-20/+0
| | | | | | | | | The oldest kernel we support is 3.18, no need to keep code paths for older kernels. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix MIPS highmem breakageFelix Fietkau2016-01-242-0/+190
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a fix for deadlocks on dump_stackFelix Fietkau2016-01-231-0/+118
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore"Felix Fietkau2016-01-231-44/+0
| | | | | | | | | | | | This reverts commit r48335 The workaround is incomplete and cannot cover all possible cases. The only real solution to this problem is to disable this feature on ARM11MPcore entirely. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86_64: Add missing symbolsFelix Fietkau2016-01-221-0/+2
| | | | | | Update to kernel 4.4 missed some symbols, fix that. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcma stuff sent for 4.6Rafał Miłecki2016-01-225-0/+1401
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: switch to SLUB by default in 4.4 (for improved performance)Felix Fietkau2016-01-211-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix module load issue in the dma-buf debloat patchFelix Fietkau2016-01-204-4/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 4.4Zoltan HERPAI2016-01-191-0/+5
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix keyring reference leak (CVE-2016-0728)Felix Fietkau2016-01-194-0/+300
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: modularize dma shared buffer code to eliminate kernel bloatFelix Fietkau2016-01-194-0/+140
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Netgear WPN824NJohn Crispin2016-01-191-0/+2
| | | | | | | | | | | | | | | | 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/trunk@48356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add patch to fix the ccp-crypto moduleFelix Fietkau2016-01-191-0/+114
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbol for 4.4Felix Fietkau2016-01-191-0/+1
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 4.1Felix Fietkau2016-01-181-0/+2
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCoreFelix Fietkau2016-01-181-0/+44
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.4Felix Fietkau2016-01-181-2/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a build regression in the ld-version script fixFelix Fietkau2016-01-181-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix MIPS linux-4.4 build on non-GNU systemsFelix Fietkau2016-01-181-0/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: update header register difinitionsJonas Gorski2016-01-181-1/+2
| | | | | | | | | BCM531x5 has two pontential cpu ports, and header mode can be enabled independently on both. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport perf build fixes to 4.1Felix Fietkau2016-01-142-0/+81
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.18: update to version 3.18.25Hauke Mehrtens2016-01-1216-159/+47
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-1210-206/+29
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-1210-203/+19
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches for kernel 4.4Hauke Mehrtens2016-01-122-7/+7
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for linux 4.4Felix Fietkau2016-01-121-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.4: add missing config optionsZoltan HERPAI2016-01-091-0/+39
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48159 3c298f89-4303-0410-b956-a3cf2f4a3e73