Commit Graph

425 Commits (000295f8baf25bed023c651bf48409c5ac4b7724)

Author SHA1 Message Date
Felix Fietkau e34acd64f5 kernel: disable AFS support by default
This pulls in CONFIG_KEYS, which bloats up the kernel size and is thus
very undesirable. It also currently exposes the kernel to a local root
vulnerability

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48364
9 years ago
Felix Fietkau d33c0dd6d0 kernel/modules: add kmod-crypto-hw-ccp
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48347
9 years ago
Felix Fietkau cd5d3f9240 kernel/modules: add missing symbol for crypto-rng
Since CRYPTO_DRBG_MENU was added in r48277, CRYPTO_DRBG_HMAC is missing.
It does not appear in kernel_menuconfig and defaults to yes, so enable
it in crypto-rng as well and add dependencies to HMAC and SHA256.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48341
9 years ago
Felix Fietkau 33d1b2e0f5 kernel: add missing kernel config symbol for crypto-rng (fixes #21596)
Signed-off-by: Lucian Cristian <luci@createc.ro>

SVN-Revision: 48277
9 years ago
Felix Fietkau 0200735bda kernel: add usb-net-sr9700 package
Add support for
CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

SVN-Revision: 48272
9 years ago
Felix Fietkau 708bbe9382 kernel: add missing kmod-video-videobuf2's object file in 4.4
CONFIG_VIDEOBUF2_CORE produces two object files in Linux >= 4.4.
Conditionally add the new file to FILES of kmod-video-videobuf2.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>

SVN-Revision: 48242
9 years ago
Felix Fietkau 33beafa8d8 Configure IPv6 kernel options in config/Config-kernel.in
Revision 46834 changed IPv6 support from a module to builtin. But
since the configuration of the IPv6 kernel options was left in
package/kernel/linux/modules/netsupport.mk, this means that an
empty kmod-ipv6 module was still being generated (not packaged).

This patch moves the configuration of the IPv6 kernel options to
config/Config-kernel.in to remove this last bit of the module.

Note that CONFIG_IPV6_PRIVACY was dropped (enabled by default
since Linux v3.13), so this option is no longer needed.

See 5d9efa7ee9

Signed-off-by: Arjen de Korte <arjen+openwrt@de-korte.org>

SVN-Revision: 48132
9 years ago
Felix Fietkau 7509c940e9 kernel: fix duplication of sch_netem in multiple packages (#21479)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48018
9 years ago
Felix Fietkau 3fca139a2b kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency for hwmon-pwmfan
Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>

SVN-Revision: 47968
9 years ago
Felix Fietkau 2be144fa3c kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47961
9 years ago
Felix Fietkau 854c77bcea kernel: make kmod-gpiofan depend on kmod-thermal to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47960
9 years ago
John Crispin 429ab0113a kernel: kmod-ptp selects a new config symbol
since Kernel 3.14
408eccce net: ptp: move PTP classifier in its own file

found while bug search
thx olmari on IRC

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 47923
9 years ago
Felix Fietkau f0664d34a6 kernel: make kmod-crypto-rng depend on kmod-crypto-hash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47883
9 years ago
Felix Fietkau 84a56a7849 kernel: crypto-aead depends on crypto-null in 4.3 as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47870
9 years ago
John Crispin f03bf608b1 kernel: Add dummy sound driver
Useful when using sound players that can send to icecast, etc. without any sound device attached.

Signed-off-by: Ted Hess <thess@kitschensync.net>

SVN-Revision: 47852
9 years ago
Felix Fietkau b106a8f255 kernel/modules: fix crypto API RNG for >=4.2
Since kernel 4.2, DRBG is the default crypto API RNG, replacing krng. As
DRBG is not enabled, there is no crypto API RNG available when running
kernel 4.2 or later. Because of this, IPsec SAs fail to install. In
strongSwan, this results in a vague error that is difficult to debug:

received netlink error: No such file or directory (2)

Solve this by adding DRBG to the kmod-crypto-rng package. As enabling
DRBG in the kernel config also enables the Jitterentropy RNG, include it
in kmod-crypto-rng instead of having it in a separate package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47827
9 years ago
Jonas Gorski 4454a3fb63 package: kernel: update dependencies for 4.4
Update dependencies for linux 4.4 and mark as broken where source code
needs updating.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47700
9 years ago
John Crispin 0d5f66f3b2 kernel: fix building RTC drivers
All RTC drivers require the kernel to be built with CONFIG_RTC_CLASS=y.
Set it accordingly.

Tested only with DS1307.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 47564
9 years ago
Hauke Mehrtens 31d7b4fc95 kernel: make kmod-usb-dwc2 depend on kmod-usb-gadget on omap target
This dependency is missing for the omap target.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47551
9 years ago
Hauke Mehrtens 49dcbf9f43 kernel: fix build of kmod-dwc2
dwc2_platform.koi is included in dwc2.ko with kernel 4.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47550
9 years ago
Hauke Mehrtens 949d7fc378 kernel: fix menu for scsi-tape
this should be placed under the block menu entry, this fixes r47482.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47503
9 years ago
Jo-Philipp Wich d99af7f05a kernel: kmod-udptunnel6 depends on IPv6
Spotted a missing 'ip6_udp_tunnel.ko' build failure during a local
build with all kmods enabled but globally disabled IPv6 support.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47487
9 years ago
Hauke Mehrtens d42669bf33 kernel: support for scsi tape devices
Support for scsi tape devices as kernel module.

This allow to use scsi tape devices in openwrt.

Signed-off-by: Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
[moved to block.mk]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47482
9 years ago
Felix Fietkau 019e370fcf kernel/modules: add OCTEON SHA512 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47479
9 years ago
Felix Fietkau 87f5aef7ca kernel/modules: move SHA512 to its own package
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47478
9 years ago
Felix Fietkau 54b305796d kernel/modules: add OCTEON SHA256 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47477
9 years ago
Felix Fietkau 34558e6535 kernel/modules: add OCTEON SHA1 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47476
9 years ago
Felix Fietkau 8aff4063e2 kernel/modules: add OCTEON MD5 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47475
9 years ago
Felix Fietkau 9fde3614b0 kernel: remove kmod-xen-kbddev, it is already enabled in the kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47415
9 years ago
Felix Fietkau 0ed2c1a89f kernel: remove kmod-acpi-button package, it is already built into the kernel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47414
9 years ago
Felix Fietkau e2bf2b2c4d kernel: omap_wdt module load typo
autoload should be without .ko module extension

Signed-off-by: Ulrich Weber <uw@ocedo.com>

SVN-Revision: 47395
9 years ago
Felix Fietkau 0aa7d8d0af kernel: load softdog on boot
same as for hardware watchdogs, otherwise
procd cannot initialize it.

Signed-off-by: Ulrich Weber <uw@ocedo.com>

SVN-Revision: 47394
9 years ago
John Crispin 9bcacd2853 modules: crypto-rng changes additions for kernel 4.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47276
9 years ago
John Crispin 91a46f9df1 modules: package VIA AC97 modules
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47274
9 years ago
John Crispin f02f20e721 modules: enable crypto hardware modules
set CONFIG_CRYPTO_HW=y to enable build of crypto-hw modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47273
9 years ago
Jo-Philipp Wich e73c42876f kernel: force CONFIG_BT_HCIUART_ATH3K to y
The CONFIG_BT_HCIUART_ATH3K may not be "m", therfore we cannot inherit the
kmod selection state. Force the "CONFIG_BT_HCIUART_ATH3K" symbol to "y" in
order to avoid `warning: symbol value 'm' invalid for BT_HCIUART_ATH3K` and
subsequent kconfig stalls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47237
9 years ago
John Crispin 795cc23a08 kernel: add usb-mass-storage-gadget driver package
This is another useful gadget driver that can allow an OTG port to act as a
mass storage device.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47225
9 years ago
John Crispin 5c338cb0d8 kernel: add mvsw61xx module package
Adds the package to select the mvsw61xx module present in the 3.18/4.0/4.1
kernels.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47224
9 years ago
John Crispin 729a5378cd kernel: add ath3k module package
Adds a package for the ath3k kernel module, present in 3.18/4.0/4.1 kernels

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47223
9 years ago
Felix Fietkau f98bf31a14 kernel: drop the now unused kmod-oprofile package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47148
9 years ago
Felix Fietkau e828d32153 kernel: add missing CAN related config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47035
9 years ago
Steven Barth 836d462b10 package: Remove dependencies to kmod-ipv6
Since r46834, IPv6 support is builtin if selected. Therefor, dependencies
on kmod-ipv6 can no longer be fulfilled, since it is not a module anymore.

Signed-off-by: Arjen de Korte <arjen+openwrt@de-korte.org>

SVN-Revision: 47022
9 years ago
John Crispin 4dfdd21247 kernel: dwc2: Add missing config symbol definition
DWC2 driver has config symbol CONFIG_USB_DWC2_DEBUG_PERIODIC which
should be defined for the module build.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 46916
9 years ago
Steven Barth 0c8f0186d5 linux: make IPv6 builtin if selected (saves >30KB)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46834
9 years ago
Felix Fietkau e29efa2fb7 kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4
Everything except for blkcipher was already built-in, so make blkcipher
built-in as well.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46820
9 years ago
Zoltan Herpai fdf3c6bf6e Newer kernels make use of libahci in ahci-platform, ie. also on non-PCI platforms. As there is no single config symbol deciding whether libahci.ko is being built or not it seems the most sensitive thing to package it in kmod-ata-core.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 46701
9 years ago
Hauke Mehrtens f9ebd0b1a4 kernel: crypto: fix depends in kmod-crypto-hmac
This module had two depends lines.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46576
9 years ago
Hauke Mehrtens aae0edf405 kernel: crypto: fix module loading of cryptomgr.ko
There was no rule to load this module.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46575
9 years ago
Hauke Mehrtens 3e767d2b28 kernel: crypto: fix module loading of aead.ko
The name of the module was wrong before.

This should fix #20283.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46574
9 years ago
Hauke Mehrtens aa16daf3bb kernel: add kmod-lp again
This was deactivated in r21954 because it depended on kernel 2.4, but
this module also compiles with kernel 3.18.

This closes #20199.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46495
9 years ago