Commit Graph

37 Commits

Author SHA1 Message Date
Rui Salvaterra
3326b5e75c treewide: switch the timer frequency to 100 Hz
Some targets select HZ=100, others HZ=250. There's no reason to select a higher
timer frequency (and 100 Hz are available in every architecture), so change all
targets to 100 Hz.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-04-21 10:31:10 +01:00
Hauke Mehrtens
18deed29be kernel: Remove 2FS_FS_XATTR and F2FS_STAT_FS symbols from target configs
This config option was moved to the generic kernel configuration.

Fixes: ab1bd57656 ("kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-10-11 16:38:16 +02:00
Paul Spooren
0f5b5cf730 kernel: clean up XATTR config symbols
Extended attributes are required for overlayfs and have hence been long
ago enabled for jffs2, but should be enabled unconditionally for all
other filesystems which may potentially serve as overlayfs' upper
directory. Previously it was inconsistently added in multiple targets.
Add symbols to generic kernel config and remove all *_XATTR symbols
from target configs.

Signed-off-by: Paul Spooren <mail@aparcar.org>
[keep things as they are for squashfs, improve commit message]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-09 01:49:22 +01:00
Felix Fietkau
3f69f7dd84 uml: update to linux 5.4
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-08-22 07:02:01 +02:00
Daniel Golle
dcf48fda05 uml: remove CONFIG_LEGACY_PTY from kernel config
Having legacy PTYs enabled causes problems with procd-hotplug.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-12-09 20:14:17 +01:00
Hauke Mehrtens
75eb8a146d kernel: Deactivate CONFIG_BINFMT_MISC
CONFIG_BINFMT_MISC allows it to add support for new executable formats
to the kernel from user space, the kernel will then detect for example a
java binary and call the java execution program automatically. I am not
aware that this feature is used in OpenWrt and this could be used to
exploit something. Deactivate it for all targets for now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-05-11 17:15:41 +02:00
Felix Fietkau
e34ea1b4ff kernel: add CONFIG_CC_OPTIMIZE_FOR_* to the default config
Avoid repeating them in the target config, they are overwritten by
top-level menuconfig anyway

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-10-15 12:54:00 +02:00
Felix Fietkau
6bf3a86ed6 uml: update to linux 4.14
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-09-29 18:09:45 +02:00
Felix Fietkau
426e4d93bb uml: clean up the kernel config and add squashfs+ext4/f2fs support
Replaces plain ext4 images

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-11-24 12:53:18 +01:00
Felix Fietkau
cad399c87b uml: update to linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48265
2016-01-17 10:41:52 +00:00
Felix Fietkau
110a74dd71 uml: update to linux 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47061
2015-09-27 17:29:38 +00:00
Felix Fietkau
c8f0290651 uml: disable ext2/ext3 filesystem support (ext4 is enough)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47031
2015-09-24 08:37:30 +00:00
Nicolas Thill
577da84c25 uml: bump to 3.18
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44937
2015-03-22 12:36:57 +00:00
John Crispin
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
Nicolas Thill
edacde5042 target/uml: add missing config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43940
2015-01-11 22:03:06 +00:00
Steven Barth
285af2ff08 Update UML target to 3.10 and various improvements
Updated target to 3.10.36.
Added mconsole exec patch.
Added pseudo-random MAC patch (from NetKit).

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Reviewed-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41172
2014-06-12 17:57:19 +00:00
Florian Fainelli
5eeee1f80e add 3.3 support
SVN-Revision: 31445
2012-04-23 12:33:19 +00:00
Florian Fainelli
6e2c0fbe9f add support for 3.2
SVN-Revision: 30961
2012-03-17 11:55:53 +00:00
Hauke Mehrtens
a1d5ad7655 uml: add some missing options
SVN-Revision: 27921
2011-08-06 11:23:45 +00:00
Florian Fainelli
a18ec3c37e update to 2.6.38
SVN-Revision: 26803
2011-05-02 07:57:25 +00:00
Florian Fainelli
b8b0e43cd5 add 2.6.37 support
SVN-Revision: 25484
2011-02-12 19:04:16 +00:00
Felix Fietkau
91edb99017 disable crash logging for uml, it cannot possibly work there anyway
SVN-Revision: 22326
2010-07-21 15:02:53 +00:00
Nicolas Thill
8d0aa4e176 target/uml: add missing CONFIG_MATOM config symbol
SVN-Revision: 21434
2010-05-12 21:34:48 +00:00
Nicolas Thill
6d277230cf target/uml: fix host processor type selection on x86_64 (proper fix for [13166])
SVN-Revision: 21318
2010-05-02 21:03:16 +00:00
Nicolas Thill
e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Imre Kaloz
1d62d9a95c another round of kernel config cleanups
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Nicolas Thill
0eeb0d3c2f bump to 2.6.30.4, apply fix from [15119] to x86_64
SVN-Revision: 17285
2009-08-16 10:18:07 +00:00
Florian Fainelli
6ba224a039 Add missing config symbol when building uml on amd64 hosts, it would keep asking for host machine type
SVN-Revision: 13166
2008-11-09 23:12:06 +00:00
Nicolas Thill
2a05d8cbba set reasonable generic CRYPTO_ config entries for 2.6.26
SVN-Revision: 12362
2008-08-21 13:30:59 +00:00
Florian Fainelli
91bec65028 Add missing kernel configuration options since the SLUB allocator switch
SVN-Revision: 12235
2008-08-07 10:20:36 +00:00
Florian Fainelli
d610ea58d0 Resynced x86_64 kernel config for uml
SVN-Revision: 11962
2008-07-27 16:56:08 +00:00
Florian Fainelli
33ae24f5b5 Resync some kernel configuration options
SVN-Revision: 11941
2008-07-26 18:23:38 +00:00
Florian Fainelli
58a0fd47b2 Disable NFS_ACL support in the UML config, other platforms do not have it as well
SVN-Revision: 11905
2008-07-22 09:50:26 +00:00
Florian Fainelli
c65758acdc Update uml to 2.6.25.10
SVN-Revision: 11686
2008-07-06 11:30:11 +00:00
Nicolas Thill
c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
2008-04-27 12:31:50 +00:00
Nicolas Thill
0ab670f17d update uml to 2.6.24 (i386 only for now)
SVN-Revision: 10404
2008-02-06 07:45:40 +00:00
Felix Fietkau
56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00