blob: e2a44b1e3499450285be42715786433027b55c22 [file] [log] [blame]
William A. Kennington III409900c2021-03-09 02:51:38 -08001# Appended gBMC kernel commandline
2CONFIG_CMDLINE="dummy.numdummies=0"
3CONFIG_CMDLINE_EXTEND=y
4
5# We still have commandline users of /dev/mem
6CONFIG_DEVMEM=y
7CONFIG_DEVMEM_BOOTPARAM=n
8
9# Unused implicitly included functionality
10CONFIG_IPV6_SIT=n
11
12# Used by gbmc nftables configurations
13CONFIG_NETFILTER=y
14CONFIG_NF_CONNTRACK=y
15CONFIG_NF_CONNTRACK_MARK=y
16CONFIG_NF_TABLES=y
17CONFIG_NFT_CT=y
18CONFIG_NF_TABLES_INET=y
19CONFIG_NFT_REJECT=y
20CONFIG_NFT_LOG=y
21CONFIG_IP_NF_IPTABLES=y
22CONFIG_NF_LOG_IPV4=y
23CONFIG_NFT_FIB_IPV4=y
24CONFIG_IP_NF_FILTER=y
25CONFIG_IP_NF_TARGET_REJECT=y
26CONFIG_IP6_NF_IPTABLES=y
27CONFIG_NF_LOG_IPV6=y
28CONFIG_NFT_FIB_IPV6=y
29CONFIG_IP6_NF_FILTER=y
30CONFIG_IP6_NF_TARGET_REJECT=y
31
32# MGMT Bridge Required Features
33CONFIG_BRIDGE=y
34CONFIG_DUMMY=y
35# Support for bridge filter
36CONFIG_BRIDGE_NETFILTER=y
37CONFIG_NF_TABLES_BRIDGE=y
38CONFIG_BRIDGE_NF_EBTABLES=y
William A. Kennington III96745092021-08-06 00:06:42 -070039CONFIG_VETH=y
William A. Kennington IIIc2b7d752021-03-27 12:29:34 -070040
41# Remove features we won't use
42CONFIG_WLAN=n
43CONFIG_SUSPEND=n
44CONFIG_USB_CHIPIDEA=n
45CONFIG_NETWORK_FILESYSTEMS=n
46CONFIG_RD_GZIP=n
47CONFIG_RD_BZIP2=n
48CONFIG_RD_LZMA=n
49CONFIG_RD_LZO=n
50CONFIG_RD_LZ4=n
51CONFIG_CRYPTO_LZO=n
William A. Kennington IIIcc2e0f82021-04-16 03:25:30 -070052CONFIG_INPUT_LEDS=n
53CONFIG_INPUT_MOUSE=n
54CONFIG_KEYBOARD_ATKBD=n
55CONFIG_SERIO_LIBPS2=n
William A. Kennington III162c2c92023-03-30 19:01:56 -070056
57# Features useful if a machine enables pstore for dumps
58CONFIG_PSTORE_DEFLATE_COMPRESS=n
59CONFIG_PSTORE_ZSTD_COMPRESS=y
60CONFIG_PSTORE_ZSTD_COMPRESS_DEFAULT=y
61CONFIG_PRINTK_TIME=y
William A. Kennington III85330d22023-04-28 14:07:31 -070062
63# Watchdog Related Configuration
64CONFIG_WATCHDOG_SYSFS=y
65CONFIG_WATCHDOG_HRTIMER_PRETIMEOUT=y
66CONFIG_WATCHDOG_PRETIMEOUT_GOV=y
William A. Kennington III755d78b2023-04-12 03:06:55 -070067
68# All image debug features
69CONFIG_PANIC_ON_OOPS=y
70CONFIG_PANIC_TIMEOUT=10
71CONFIG_SOFTLOCKUP_DETECTOR=y
72CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
73CONFIG_DETECT_HUNG_TASK=y
74CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y
75CONFIG_WQ_WATCHDOG=y