2022-02-11 14:52:13 +01:00
|
|
|
#
|
|
|
|
# Linux kernel configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
# kernel fundamentals
|
2022-07-19 11:06:52 +02:00
|
|
|
LX_ENABLE += TTY SERIAL_EARLYCON SERIAL_OF_PLATFORM PRINTK HAS_IOMEM SMP
|
2022-02-11 14:52:13 +01:00
|
|
|
|
2022-06-17 15:18:17 +02:00
|
|
|
# support disabling ticking during idle
|
|
|
|
LX_ENABLE += NO_HZ_IDLE
|
|
|
|
|
2022-02-11 14:52:13 +01:00
|
|
|
# initrd support
|
|
|
|
LX_ENABLE += BINFMT_ELF BINFMT_SCRIPT BLK_DEV_INITRD
|
|
|
|
|
|
|
|
# UART device
|
|
|
|
LX_ENABLE += SERIAL_8250 SERIAL_8250_CONSOLE
|
|
|
|
|
|
|
|
# PCI support
|
2022-11-01 13:50:21 +01:00
|
|
|
LX_ENABLE += PCI PCI_MSI
|
|
|
|
|
|
|
|
# IOMMU support (used by Intel fb to apply scanout scratch page workaround)
|
|
|
|
LX_ENABLE += IOMMU_SUPPORT INTEL_IOMMU
|
2022-02-11 14:52:13 +01:00
|
|
|
|
2022-03-15 13:57:30 +01:00
|
|
|
# ACPI support
|
|
|
|
LX_ENABLE += ACPI
|
|
|
|
|
2023-06-28 09:35:28 +02:00
|
|
|
# EFI support
|
|
|
|
LX_ENABLE += EFI EFI_STUB
|
|
|
|
|
2022-02-10 18:08:43 +01:00
|
|
|
# general network and WLAN support
|
2022-05-03 17:17:38 +02:00
|
|
|
LX_ENABLE += NET NETDEVICES PACKET
|
2022-02-10 18:08:43 +01:00
|
|
|
LX_ENABLE += WLAN CFG80211 MAC80211
|
2022-04-04 17:15:59 +02:00
|
|
|
LX_ENABLE += RFKILL
|
2022-02-10 18:08:43 +01:00
|
|
|
|
|
|
|
# iwlwifi
|
|
|
|
LX_ENABLE += WLAN_VENDOR_INTEL IWLWIFI IWLDVM IWLMVM
|
|
|
|
|
2023-01-04 12:03:27 +00:00
|
|
|
# rtlwifi
|
2023-05-19 11:18:33 +00:00
|
|
|
LX_ENABLE += WLAN_VENDOR_REALTEK RTL_CARDS RTL8188EE RTL8192CE
|
2023-01-04 12:03:27 +00:00
|
|
|
|
2023-01-11 17:16:36 +00:00
|
|
|
# ath9k
|
|
|
|
LX_ENABLE += WLAN_VENDOR_ATH ATH_COMMON ATH9K ATH9K_PCI
|
|
|
|
LX_ENABLE += ATH9K_DEBUGFS
|
|
|
|
#LX_ENABLE += ATH9K_RFKILL ATH9K_PCI_NO_EEPROM
|
|
|
|
#LX_ENABLE += ATH9K_HTC
|
|
|
|
|
2023-06-01 09:02:26 +02:00
|
|
|
# Ethernet NIC support
|
|
|
|
LX_ENABLE += E1000 E1000E PCNET32
|
2023-06-21 06:41:27 +00:00
|
|
|
LX_ENABLE += R8169
|
2023-06-01 09:02:26 +02:00
|
|
|
|
2023-06-28 09:35:28 +02:00
|
|
|
# USB host-controller support (keep USB_USBNET hook)
|
|
|
|
LX_ENABLE += USB_USBNET
|
2022-02-11 14:52:13 +01:00
|
|
|
LX_ENABLE += USB_SUPPORT USB USB_ARCH_HAS_HCD USB_XHCI_HCD USB_EHCI_HCD USB_OHCI_HCD
|
2023-06-28 09:35:28 +02:00
|
|
|
LX_ENABLE += USB_PCI USB_UHCI_HCD
|
2022-02-11 14:52:13 +01:00
|
|
|
|
2022-01-21 11:07:28 +01:00
|
|
|
# Intel framebuffer
|
|
|
|
LX_ENABLE += DRM DRM_I915
|
|
|
|
|
|
|
|
# to automatically set up screen mode at boot time
|
|
|
|
LX_ENABLE += FB
|
|
|
|
|
2022-02-11 14:52:13 +01:00
|
|
|
# mandatory fs support
|
|
|
|
LX_ENABLE += PROC_FS SYSFS
|
|
|
|
|
2023-06-01 09:02:26 +02:00
|
|
|
# Options for testing pc_linux images
|
|
|
|
#
|
|
|
|
# - network support for NFS root
|
|
|
|
#LX_ENABLE += INET IP_PNP IP_PNP_DHCP NFS_FS FILE_LOCKING MULTIUSER ROOT_NFS
|
2023-06-28 09:35:28 +02:00
|
|
|
# - log all input events (requires "debug" on the kernel commandline)
|
|
|
|
#LX_ENABLE += INPUT_EVBUG
|
|
|
|
# - in-kernel symbolic backtraces with show_stack(NULL, NULL, KERN_DEFAULT)
|
|
|
|
#LX_ENABLE += KALLSYMS
|
|
|
|
# - provide console on screen
|
|
|
|
#LX_ENABLE += FRAMEBUFFER_CONSOLE
|
2023-06-01 09:02:26 +02:00
|
|
|
|
2023-03-23 11:20:43 +01:00
|
|
|
# disable cpu frequency scaling
|
|
|
|
LX_DISABLE += SCHED_MC CPU_FREQ
|
|
|
|
|
2023-02-09 16:40:00 +01:00
|
|
|
# disable optimization not possible in PIC code under Genode
|
2022-02-11 14:52:13 +01:00
|
|
|
LX_DISABLE += CC_HAS_ASM_GOTO
|
|
|
|
|
|
|
|
# slim down kernel by removing superfluous drivers
|
|
|
|
LX_DISABLE += HID HID_GENERIC USB_HID VGA_CONSOLE DUMMY_CONSOLE NLS VGA_ARB DEBUG_LIST
|