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