1# 2# GENERIC -- Generic kernel configuration file for FreeBSD/arm64 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ../../conf/NOTES and NOTES files. 16# If you are in doubt as to the purpose or necessity of a line, check first 17# in NOTES. 18# 19# $FreeBSD$ 20 21cpu ARM64 22ident GENERIC 23 24makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 25makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 26 27options SCHED_ULE # ULE scheduler 28options NUMA # Non-Uniform Memory Architecture support 29options PREEMPTION # Enable kernel thread preemption 30options VIMAGE # Subsystem virtualization, e.g. VNET 31options INET # InterNETworking 32options INET6 # IPv6 communications protocols 33options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 34options ROUTE_MPATH # Multipath routing support 35options FIB_ALGO # Modular fib lookups 36options TCP_OFFLOAD # TCP offload 37options TCP_HHOOK # hhook(9) framework for TCP 38options TCP_RFC7413 # TCP Fast Open 39options SCTP_SUPPORT # Allow kldload of SCTP 40options KERN_TLS # TLS transmit & receive offload 41options FFS # Berkeley Fast Filesystem 42options SOFTUPDATES # Enable FFS soft updates support 43options UFS_ACL # Support for access control lists 44options UFS_DIRHASH # Improve performance on big directories 45options UFS_GJOURNAL # Enable gjournal-based UFS journaling 46options QUOTA # Enable disk quotas for UFS 47options MD_ROOT # MD is a potential root device 48options NFSCL # Network Filesystem Client 49options NFSD # Network Filesystem Server 50options NFSLOCKD # Network Lock Manager 51options NFS_ROOT # NFS usable as /, requires NFSCL 52options MSDOSFS # MSDOS Filesystem 53options CD9660 # ISO 9660 Filesystem 54options PROCFS # Process filesystem (requires PSEUDOFS) 55options PSEUDOFS # Pseudo-filesystem framework 56options TMPFS # Efficient memory filesystem 57options GEOM_RAID # Soft RAID functionality. 58options GEOM_LABEL # Provides labelization 59options EFIRT # EFI Runtime Services support 60options COMPAT_FREEBSD32 # Compatible with FreeBSD/arm 61options COMPAT_FREEBSD11 # Compatible with FreeBSD11 62options COMPAT_FREEBSD12 # Compatible with FreeBSD12 63options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 64options KTRACE # ktrace(1) support 65options STACK # stack(9) support 66options SYSVSHM # SYSV-style shared memory 67options SYSVMSG # SYSV-style message queues 68options SYSVSEM # SYSV-style semaphores 69options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 70options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 71options KBD_INSTALL_CDEV # install a CDEV entry in /dev 72options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 73options AUDIT # Security event auditing 74options CAPABILITY_MODE # Capsicum capability mode 75options CAPABILITIES # Capsicum capabilities 76options MAC # TrustedBSD MAC Framework 77options KDTRACE_FRAME # Ensure frames are compiled in 78options KDTRACE_HOOKS # Kernel DTrace hooks 79options DDB_CTF # Kernel ELF linker loads CTF data 80options VFP # Floating-point support 81options RACCT # Resource accounting framework 82options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 83options RCTL # Resource limits 84options INTRNG 85options LINUX_BOOT_ABI # Boot using booti command from U-Boot 86 87# Debugging support. Always need this: 88options KDB # Enable kernel debugger support. 89options KDB_TRACE # Print a stack trace for a panic. 90# For full debugger support use (turn off in stable branch): 91options DDB # Support DDB. 92options GDB # Support remote GDB. 93options DEADLKRES # Enable the deadlock resolver 94options INVARIANTS # Enable calls of extra sanity checking 95options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 96options WITNESS # Enable checks to detect deadlocks and cycles 97options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 98options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 99options ALT_BREAK_TO_DEBUGGER # Enter debugger on keyboard escape sequence 100options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default 101 102# Kernel Sanitizers 103#options COVERAGE # Generic kernel coverage. Used by KCOV 104#options KCOV # Kernel Coverage Sanitizer 105# Warning: KUBSAN can result in a kernel too large for loader to load 106#options KUBSAN # Kernel Undefined Behavior Sanitizer 107#options KCSAN # Kernel Concurrency Sanitizer 108 109# Kernel dump features. 110options EKCD # Support for encrypted kernel dumps 111options GZIO # gzip-compressed kernel and user dumps 112options ZSTDIO # zstd-compressed kernel and user dumps 113options DEBUGNET # debugnet networking 114options NETDUMP # netdump(4) client support 115 116# Make an SMP-capable kernel by default 117options SMP # Symmetric MultiProcessor Kernel 118 119# SoC support 120options SOC_ALLWINNER_A64 121options SOC_ALLWINNER_H5 122options SOC_ALLWINNER_H6 123options SOC_CAVM_THUNDERX 124options SOC_FREESCALE_IMX8 125options SOC_HISI_HI6220 126options SOC_INTEL_STRATIX10 127options SOC_BRCM_BCM2837 128options SOC_BRCM_BCM2838 129options SOC_BRCM_NS2 130options SOC_MARVELL_8K 131options SOC_NVIDIA_TEGRA210 132options SOC_NXP_LS 133options SOC_ROCKCHIP_RK3328 134options SOC_ROCKCHIP_RK3399 135options SOC_XILINX_ZYNQ 136 137# Timer drivers 138device a10_timer 139 140# Annapurna Alpine drivers 141device al_ccu # Alpine Cache Coherency Unit 142device al_nb_service # Alpine North Bridge Service 143device al_iofic # I/O Fabric Interrupt Controller 144device al_serdes # Serializer/Deserializer 145device al_udma # Universal DMA 146 147# Qualcomm Snapdragon drivers 148device qcom_gcc # Global Clock Controller 149 150# CPU frequency control 151device cpufreq 152 153# Bus drivers 154device pci 155device pci_n1sdp # ARM Neoverse N1 SDP PCI 156device al_pci # Annapurna Alpine PCI-E 157options PCI_HP # PCI-Express native HotPlug 158options PCI_IOV # PCI SR-IOV support 159 160# Block devices 161device ahci 162device scbus 163device da 164device pvscsi # VMware PVSCSI 165 166# ATA/SCSI peripherals 167device cd # CD 168device pass # Passthrough device (direct ATA/SCSI access) 169 170# NVM Express (NVMe) support 171device nvme # base NVMe driver 172options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver 173device nvd # expose NVMe namespaces as disks, depends on nvme 174 175# DMA controller 176device a31_dmac 177 178# GPIO / PINCTRL 179device a37x0_gpio # Marvell Armada 37x0 GPIO controller 180device aw_gpio # Allwinner GPIO controller 181device dwgpio # Synopsys DesignWare APB GPIO Controller 182device gpio 183device gpioled 184device fdt_pinctrl 185device gpioregulator 186device mv_gpio # Marvell GPIO controller 187device mvebu_pinctrl # Marvell Pinmux Controller 188device pl061 # Arm PL061 GPIO controller 189device rk_gpio # RockChip GPIO Controller 190device rk_pinctrl # RockChip Pinmux Controller 191 192# I2C 193device a37x0_iic # Armada 37x0 I2C controller 194device aw_rsb # Allwinner Reduced Serial Bus 195device bcm2835_bsc # Broadcom BCM283x I2C bus 196device iicbus 197device iicmux 198device iic 199device icee # Generic IIC eeprom 200device twsi # Allwinner I2C controller 201device fan53555 # Fairchild Semi FAN53555/SYR82x Regulator 202device pca9547 # NPX I2C bus multiplexer 203device pcf8563 # NXP Real-time clock/calendar 204device rk_i2c # RockChip I2C controller 205device sy8106a # SY8106A Buck Regulator 206device vf_i2c # Freescale Vybrid I2C controller 207device fsliic # Freescale iMX I2C controller 208 209# Clock and reset controllers 210device aw_ccu # Allwinner clock controller 211 212# Interrupt controllers 213device aw_nmi # Allwinner NMI support 214device aw_r_intc # Allwinner RINTC support 215device mv_cp110_icu # Marvell CP110 ICU 216device mv_ap806_gicp # Marvell AP806 GICP 217device mv_ap806_sei # Marvell AP806 SEI 218 219# Real-time clock support 220device aw_rtc # Allwinner Real-time Clock 221device mv_rtc # Marvell Real-time Clock 222 223# Crypto accelerators 224device armv8crypto # ARMv8 OpenCrypto module 225device safexcel # Inside Secure EIP-97 226 227# Watchdog controllers 228device aw_wdog # Allwinner Watchdog 229 230# Power management controllers 231device axp81x # X-Powers AXP81x PMIC 232device rk805 # RockChip RK805 PMIC 233 234# EFUSE 235device aw_sid # Allwinner Secure ID EFUSE 236 237# Thermal sensors 238device aw_thermal # Allwinner Thermal Sensor Controller 239device mv_thermal # Marvell Thermal Sensor Controller 240 241# SPI 242device spibus 243device a37x0_spi # Marvell Armada 37x0 SPI Controller 244device bcm2835_spi # Broadcom BCM283x SPI bus 245device rk_spi # RockChip SPI controller 246 247# PWM 248device pwm 249device aw_pwm 250device rk_pwm 251 252# Console 253device vt 254device kbdmux 255 256device vt_efifb 257 258# EVDEV support 259device evdev # input event device support 260options EVDEV_SUPPORT # evdev support in legacy drivers 261device uinput # install /dev/uinput cdev 262device aw_cir 263 264# Serial (COM) ports 265device uart # Generic UART driver 266device uart_imx # iMX8 UART 267device uart_msm # Qualcomm MSM UART driver 268device uart_mu # RPI3 aux port 269device uart_mvebu # Armada 3700 UART driver 270device uart_ns8250 # ns8250-type UART driver 271device uart_snps 272device pl011 273 274# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 275device iflib 276device enetc # NXP Gigabit NIC 277device em # Intel PRO/1000 Gigabit Ethernet Family 278device ix # Intel 10Gb Ethernet Family 279device vmx # VMware VMXNET3 Ethernet 280 281# Ethernet NICs 282device mdio 283device mii 284device miibus # MII bus support 285device al_eth # Annapurna Alpine Ethernet NIC 286device awg # Allwinner EMAC Gigabit Ethernet 287device axa # AMD Opteron A1100 integrated NIC 288device cgem # Cadence GEM Gigabit Ethernet device 289device dwc_rk # Rockchip Designware 290device dwc_socfpga # Altera SOCFPGA Ethernet MAC 291device ffec # iMX FFEC 292device genet # Broadcom on RPi4 293device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 294device neta # Marvell Armada 370/38x/XP/3700 NIC 295device re # RealTek 8139C+/8169/8169S/8110S 296device smc # SMSC LAN91C111 297device vnic # Cavium ThunderX NIC 298 299# Etherswitch devices 300device etherswitch # Enable etherswitch support 301device miiproxy # Required for etherswitch 302device e6000sw # Marvell mv88e6085 based switches 303 304 305# Pseudo devices. 306device crypto # core crypto support 307device loop # Network loopback 308device ether # Ethernet support 309device vlan # 802.1Q VLAN support 310device tuntap # Packet tunnel. 311device md # Memory "disks" 312device gif # IPv6 and IPv4 tunneling 313device firmware # firmware assist module 314 315# EXT_RESOURCES pseudo devices 316options EXT_RESOURCES 317device clk 318device phy 319device hwreset 320device nvmem 321device regulator 322device syscon 323device aw_syscon 324 325# IO Domains 326device rk_iodomain 327 328# The `bpf' device enables the Berkeley Packet Filter. 329# Be aware of the administrative consequences of enabling this! 330# Note that 'bpf' is required for DHCP. 331device bpf # Berkeley packet filter 332 333# USB support 334options USB_DEBUG # enable debug msgs 335options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 336device aw_usbphy # Allwinner USB PHY 337device rk_usb2phy # Rockchip USB2PHY 338device rk_typec_phy # Rockchip TypeC PHY 339device dwcotg # DWC OTG controller 340device musb # Mentor Graphics USB OTG controller 341device ohci # OHCI USB interface 342device uhci # UHCI USB interface 343device ehci # EHCI USB interface (USB 2.0) 344device ehci_mv # Marvell EHCI USB interface 345device xhci # XHCI USB interface (USB 3.0) 346device dwc3 # Synopsys DWC controller 347device aw_dwc3 # Allwinner DWC3 controller 348device rk_dwc3 # Rockchip DWC3 controller 349device usb # USB Bus (required) 350device ukbd # Keyboard 351device umass # Disks/Mass storage - Requires scbus and da 352device tegra210_xusb_fw # Tegra XUSB firmware 353 354# USB ethernet support 355device muge 356device smcphy 357device smsc 358device ure 359 360# Sound support 361device sound 362device a10_codec # Allwinner A10 codec 363device aw_i2s # Allwinner I2S 364device a33_codec # Allwinner A33 codec 365device a64_codec # Allwinner A64 Analog codec 366 367# MMC/SD/SDIO Card slot support 368device sdhci 369device sdhci_xenon # Marvell Xenon SD/MMC controller 370device aw_mmc # Allwinner SD/MMC controller 371device mmc # mmc/sd bus 372device mmcsd # mmc/sd flash cards 373device dwmmc 374device dwmmc_altera 375device dwmmc_hisi 376device rk_dwmmc 377device rk_emmcphy 378 379# VirtIO support 380device virtio # Generic VirtIO bus (required) 381device virtio_pci # VirtIO PCI device 382device virtio_mmio # VirtIO Memory Mapped IO device 383device virtio_blk # VirtIO Block device 384device virtio_scsi # VirtIO SCSI device 385device vtnet # VirtIO Ethernet device 386 387# Chip-specific errata 388options THUNDERX_PASS_1_1_ERRATA 389 390options FDT 391device acpi 392 393# DTBs 394makeoptions MODULES_EXTRA="dtb/allwinner dtb/freescale dtb/imx8 dtb/nvidia dtb/mv dtb/rockchip dtb/rpi" 395 396# HID support 397options HID_DEBUG # enable debug msgs 398device hid # Generic HID support 399