Commit Graph

80 Commits (ef27f153302b9f8296f5a8c71d08ae7392e721de)

Author SHA1 Message Date
Matthias Schiffer ef27f15330
kernel: allow disabling multicast routing support
Multicast routing support is not needed in most setups, and increases the
size of the kernel considerably (>10K after LZMA). Add a config switch to
allow disabling it.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
6 years ago
Stijn Tintel 8b35da1552 kernel: move CONFIG_KASAN to generic config
While bumping 4.14, the kernel build failed due to missing CONFIG_KASAN
symbol. Move it to generic config instead of defining it for all arm64
and x86/64 targets.

It was only added in 4.0, so not needed in config-3.18.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
7 years ago
Rosen Penev 146326c454 kernel: Enable fadvise on older kernels.
Backport of 56342ee2bc for older kernels.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
7 years ago
Mathias Kresin d165f1f3bc kernel: move Lantiq PEF7061/7071/7072 phy driver to generic
The driver is used for boards outside the lantiq target as well. Move
it to generic to make it available for more targets.

The phy driver is included in kernel 4.8 as INTEL_XWAY_PHY.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Felix Fietkau b47fd76563 kernel: add CONFIG_SCHED_HRTICK=y to the generic config
It is used by pretty much every target

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Hauke Mehrtens 69aaf1cd78 kernel: add missing config options
This broke the build for the x86 generic target.
This was found by the build bot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Felix Fietkau 0b7ed65cec kernel: remove out of tree direct-io disable hack
Direct-IO support has to be enabled for the release build anyway, so
this hack is not worth keeping

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Hauke Mehrtens 02fe942337 kernel: add arm64 erratums into config
Deactivate all the ARM64 erratums by default. The target code should
activate them if needed. This fixes a problem with a new erratum added
in kernel 4.9.17 breaking brcm2708.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
John Crispin 99d0633f24 kernel: add another missing TPM symbol
Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
Felix Fietkau 2422f84b1b kernel: disable deprecated CONFIG_USB_EHCI_ATH79 symbol
USB_EHCI_HCD_PLATFORM is used instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
John Crispin 787cb58574 kernel: more tpm related symbols
Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
Jonas Gorski a1a0f3f275 kernel: sort generic configs
Use kconfig.pl to sort the generic configs and get rid of duplicate
entries.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
7 years ago
John Crispin d49ddcdfd2 kernel: add another missing TPM symbol
Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
John Crispin 011798a0de kernel: add missing HW_RANDOM_TPM symbol
Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
Chris Blake 3fcc4b656a kernel: Add TPM Module support
The following will enable the TPM kernel module, as well as support for
the atmel i2c TPM driver. Tested and confirmed working on an Aerohive
AP-121

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
7 years ago
Thibaut VARENE 890daca9e2 kernel: mtdsplit: Add support for Mikrotik NOR firmware
The RouterBOOT bootloader does not care where the kernel lives in the SPI
flash, all that matters is that the kernel is wrapped in the custom yaffs
container as generated by kernel2minor.

This container has a fixed signature as follows:
00000000  00 00 00 01 00 00 00 01  ff ff 6b 65 72 6e 65 6c  |..........kernel|

This patch adds mtdsplit support for identifying that signature and
triggering the search for the rootfs. rootfs is expected at EB boundary since
we use wget mtd_find_rootfs_from(). We make no use of the yaffs file size
field because it contains invalid data in the image generated by kernel2minor.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
7 years ago
Koen Vandeputte 6db7a013bd imx6: fix build error
This symbol is required when symbol SOC_IMX6 is also specified

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years ago
Felix Fietkau 8ab057f5e4 kernel: remove yaffs2 support, it is no longer needed
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Jo-Philipp Wich 7480d3309c kernel: add missing config symbols
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau e9b49a41e2 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 10f7a8d648 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 43a528eb96 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 018d80007e kernel: remove ubifs xz decompression support
It has been unused, and less useful than squashfs for cases where flash
space usage matters.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Florian Fainelli 7e38cd7a8d kernel: Add missing kernel config symbol
Add CONFIG_DW_DMAC_PCI

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
8 years ago
Felix Fietkau b2443838e6 kernel: add missing config symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 28cd4880a5 kernel: add missing config symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jason A. Donenfeld 9db46da8d7 kernel: enable pcrypt
This is a powerful API for parallel crypto from which many other modules
can benefit. It only winds up being turned on on SMP systems, which
means this adds 0 bytes to the kernel on tiny machines, while only
adding a small bit to SMP systems for big performance improvements.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
8 years ago
Hauke Mehrtens 76847c7fc9 kernel: deactivate CONFIG_QCOM_SPMI_TEMP_ALARM
This fixes the build of the ipq806x target.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Stijn Tintel 136319e72d kernel: mtdsplit: add support for WRGG images
Support splitting WRGG images, found in some D-Link devices (e.g.
DAP-2695).

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years ago
Rafał Miłecki d0b50c2770 kernel: drop usbdev LED trigger
It was LEDE's trigger that was replaced by upstream usbport one.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Felix Fietkau c34676f4d4 kernel: add missing config symbol (partial forward port of d2f4479870)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Rafał Miłecki a69e19d18a kernel: backport usbport LED trigger from 4.9
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years ago
Matthias Schiffer cea09329e5
netfilter: fix file conflicts between kmod-ipt- and kmod-nft- packages
The nf_reject_* and nf_nat_masquerade_* modules are moved into the
corresponding kmod-nf- packages. Appropriate dependencies are added to the
kmod-nft- packages.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years ago
Felix Fietkau 0b828e3249 kernel: add missing config symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 9f6d8532c7 kernel: add missing config symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 71144844e1 kernel: add missing config symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 96b59dc383 kernel: add missing config symbol after rfkill change
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau e9c517772c kernel: make serial port sysrq-disable patch more generic (FS#112)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 1b9dbb8532 Revert "kernel: remove long obsolete gpio spi controller driver patch"
This reverts commit 9e62a7668c.
8 years ago
Felix Fietkau 577f873daf kernel: remove unused morse led trigger driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 9e62a7668c kernel: remove long obsolete gpio spi controller driver patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 56cf1adc50 kernel: remove esfq qdisc
It has been obsolete for years now

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 0a9fdeca6e kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau df3a2ca1a9 kernel: re-enable CONFIG_SND_VERBOSE_PROCFS (FS#66)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau d22fc1973c kernel: enable CONFIG_SND_PROC_FS by default (FS#54)
Some user space code relies on it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Daniel Dickinson e408abd7fb kernel: Add option to make using filesystem ACL support the default
This adds a configuration options that allows to make filesystem ACL support
the default in the kernel, except for old nfs.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
8 years ago
Rafał Miłecki cf6d9d97fb kernel: rename B53 symbols to avoid upstream kernel conflict
In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same
symbols as our b53 does. Change our symbols so both drivers can coexist
in kernel tree.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years ago
Felix Fietkau e6d3899ddc kernel: add support for uncompressed zImage on ARM
This can be used to prevent double compression for platforms where the
boot loader already expects compressed images.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau af1791964d kernel: add common config symbols
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich 67f0c93e28 kernel: add missing config symbols for 4.4
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago