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