1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
Commit Graph

425 Commits

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
2016-01-19 15:14:51 +00:00
Felix Fietkau
d33c0dd6d0 kernel/modules: add kmod-crypto-hw-ccp
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48347
2016-01-19 10:06:43 +00:00
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
2016-01-18 23:35:12 +00:00
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
2016-01-17 11:17:06 +00:00
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
2016-01-17 11:03:41 +00:00
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
2016-01-15 10:49:21 +00:00
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
2016-01-04 23:30:36 +00:00
Felix Fietkau
7509c940e9 kernel: fix duplication of sch_netem in multiple packages (#21479)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48018
2016-01-01 12:26:09 +00:00
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
2015-12-23 11:43:18 +00:00
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
2015-12-22 19:05:35 +00:00
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
2015-12-22 16:58:45 +00:00
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
2015-12-17 09:29:34 +00:00
Felix Fietkau
f0664d34a6 kernel: make kmod-crypto-rng depend on kmod-crypto-hash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47883
2015-12-12 12:02:20 +00:00
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
2015-12-11 19:21:49 +00:00
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
2015-12-11 15:05:53 +00:00
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
2015-12-10 12:40:55 +00:00
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
2015-12-02 22:19:31 +00:00
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
2015-11-21 21:25:28 +00:00
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
2015-11-21 17:40:46 +00:00
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
2015-11-21 17:36:31 +00:00
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
2015-11-18 20:31:23 +00:00
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
2015-11-16 17:39:32 +00:00
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
2015-11-15 22:14:45 +00:00
Felix Fietkau
019e370fcf kernel/modules: add OCTEON SHA512 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47479
2015-11-15 21:34:08 +00:00
Felix Fietkau
87f5aef7ca kernel/modules: move SHA512 to its own package
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47478
2015-11-15 21:34:00 +00:00
Felix Fietkau
54b305796d kernel/modules: add OCTEON SHA256 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47477
2015-11-15 21:33:54 +00:00
Felix Fietkau
34558e6535 kernel/modules: add OCTEON SHA1 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47476
2015-11-15 21:33:49 +00:00
Felix Fietkau
8aff4063e2 kernel/modules: add OCTEON MD5 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47475
2015-11-15 21:33:39 +00:00
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
2015-11-07 16:22:31 +00:00
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
2015-11-07 16:22:23 +00:00
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
2015-11-06 10:53:19 +00:00
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
2015-11-06 10:53:11 +00:00
John Crispin
9bcacd2853 modules: crypto-rng changes additions for kernel 4.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47276
2015-10-26 11:56:16 +00:00
John Crispin
91a46f9df1 modules: package VIA AC97 modules
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47274
2015-10-26 11:54:15 +00:00
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
2015-10-26 11:53:57 +00:00
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
2015-10-20 00:00:39 +00:00
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
2015-10-19 10:10:51 +00:00
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
2015-10-19 10:10:41 +00:00
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
2015-10-19 10:10:20 +00:00
Felix Fietkau
f98bf31a14 kernel: drop the now unused kmod-oprofile package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47148
2015-10-06 12:33:04 +00:00
Felix Fietkau
e828d32153 kernel: add missing CAN related config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47035
2015-09-24 08:41:15 +00:00
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
2015-09-21 21:15:41 +00:00
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
2015-09-14 20:08:25 +00:00
Steven Barth
0c8f0186d5 linux: make IPv6 builtin if selected (saves >30KB)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46834
2015-09-09 12:20:36 +00:00
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
2015-09-08 12:31:04 +00:00
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
2015-08-21 09:48:05 +00:00
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
2015-08-09 17:18:10 +00:00
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
2015-08-09 17:17:51 +00:00
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
2015-08-09 17:17:31 +00:00
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
2015-07-26 09:16:03 +00:00