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_BRCM_NS2 129options SOC_MARVELL_8K 130options SOC_NVIDIA_TEGRA210 131options SOC_NXP_LS 132options SOC_ROCKCHIP_RK3328 133options SOC_ROCKCHIP_RK3399 134options SOC_XILINX_ZYNQ 135 136# Timer drivers 137device a10_timer 138 139# Annapurna Alpine drivers 140device al_ccu # Alpine Cache Coherency Unit 141device al_nb_service # Alpine North Bridge Service 142device al_iofic # I/O Fabric Interrupt Controller 143device al_serdes # Serializer/Deserializer 144device al_udma # Universal DMA 145 146# Qualcomm Snapdragon drivers 147device qcom_gcc # Global Clock Controller 148 149# CPU frequency control 150device cpufreq 151 152# Bus drivers 153device pci 154device pci_n1sdp # ARM Neoverse N1 SDP PCI 155device al_pci # Annapurna Alpine PCI-E 156options PCI_HP # PCI-Express native HotPlug 157options PCI_IOV # PCI SR-IOV support 158 159# Block devices 160device ahci 161device scbus 162device da 163device pvscsi # VMware PVSCSI 164 165# ATA/SCSI peripherals 166device cd # CD 167device pass # Passthrough device (direct ATA/SCSI access) 168 169# NVM Express (NVMe) support 170device nvme # base NVMe driver 171options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver 172device nvd # expose NVMe namespaces as disks, depends on nvme 173 174# DMA controller 175device a31_dmac 176 177# GPIO / PINCTRL 178device a37x0_gpio # Marvell Armada 37x0 GPIO controller 179device aw_gpio # Allwinner GPIO controller 180device dwgpio # Synopsys DesignWare APB GPIO Controller 181device gpio 182device gpioled 183device fdt_pinctrl 184device gpioregulator 185device ls1046_gpio # LS1046A GPIO controller 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 pca9547 # NPX I2C bus multiplexer 202device pcf8563 # NXP Real-time clock/calendar 203device rk_i2c # RockChip I2C controller 204device syr827 # Silergy SYR827 PMIC 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 mv_cp110_icu # Marvell CP110 ICU 215device mv_ap806_gicp # Marvell AP806 GICP 216device mv_ap806_sei # Marvell AP806 SEI 217 218# Real-time clock support 219device aw_rtc # Allwinner Real-time Clock 220device mv_rtc # Marvell Real-time Clock 221 222# Crypto accelerators 223device armv8crypto # ARMv8 OpenCrypto module 224device safexcel # Inside Secure EIP-97 225 226# Watchdog controllers 227device aw_wdog # Allwinner Watchdog 228 229# Power management controllers 230device axp81x # X-Powers AXP81x PMIC 231device rk805 # RockChip RK805 PMIC 232 233# EFUSE 234device aw_sid # Allwinner Secure ID EFUSE 235 236# Thermal sensors 237device aw_thermal # Allwinner Thermal Sensor Controller 238device mv_thermal # Marvell Thermal Sensor Controller 239 240# SPI 241device spibus 242device a37x0_spi # Marvell Armada 37x0 SPI Controller 243device bcm2835_spi # Broadcom BCM283x SPI bus 244device rk_spi # RockChip SPI controller 245 246# PWM 247device pwm 248device aw_pwm 249device rk_pwm 250 251# Console 252device vt 253device kbdmux 254 255device vt_efifb 256 257# EVDEV support 258device evdev # input event device support 259options EVDEV_SUPPORT # evdev support in legacy drivers 260device uinput # install /dev/uinput cdev 261device aw_cir 262 263# Serial (COM) ports 264device uart # Generic UART driver 265device uart_imx # iMX8 UART 266device uart_msm # Qualcomm MSM UART driver 267device uart_mu # RPI3 aux port 268device uart_mvebu # Armada 3700 UART driver 269device uart_ns8250 # ns8250-type UART driver 270device uart_snps 271device pl011 272 273# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 274device iflib 275device em # Intel PRO/1000 Gigabit Ethernet Family 276device ix # Intel 10Gb Ethernet Family 277device vmx # VMware VMXNET3 Ethernet 278 279# Ethernet NICs 280device mdio 281device mii 282device miibus # MII bus support 283device al_eth # Annapurna Alpine Ethernet NIC 284device awg # Allwinner EMAC Gigabit Ethernet 285device axa # AMD Opteron A1100 integrated NIC 286device cgem # Cadence GEM Gigabit Ethernet device 287device dwc_rk # Rockchip Designware 288device dwc_socfpga # Altera SOCFPGA Ethernet MAC 289device ffec # iMX FFEC 290device genet # Broadcom on RPi4 291device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 292device neta # Marvell Armada 370/38x/XP/3700 NIC 293device re # RealTek 8139C+/8169/8169S/8110S 294device smc # SMSC LAN91C111 295device vnic # Cavium ThunderX NIC 296 297# Etherswitch devices 298device etherswitch # Enable etherswitch support 299device miiproxy # Required for etherswitch 300device e6000sw # Marvell mv88e6085 based switches 301 302 303# Pseudo devices. 304device crypto # core crypto support 305device loop # Network loopback 306device ether # Ethernet support 307device vlan # 802.1Q VLAN support 308device tuntap # Packet tunnel. 309device md # Memory "disks" 310device gif # IPv6 and IPv4 tunneling 311device firmware # firmware assist module 312 313# EXT_RESOURCES pseudo devices 314options EXT_RESOURCES 315device clk 316device phy 317device hwreset 318device nvmem 319device regulator 320device syscon 321device aw_syscon 322 323# IO Domains 324device rk_iodomain 325 326# The `bpf' device enables the Berkeley Packet Filter. 327# Be aware of the administrative consequences of enabling this! 328# Note that 'bpf' is required for DHCP. 329device bpf # Berkeley packet filter 330 331# USB support 332options USB_DEBUG # enable debug msgs 333options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 334device aw_usbphy # Allwinner USB PHY 335device rk_usb2phy # Rockchip USB2PHY 336device rk_typec_phy # Rockchip TypeC PHY 337device dwcotg # DWC OTG controller 338device musb # Mentor Graphics USB OTG controller 339device ohci # OHCI USB interface 340device uhci # UHCI USB interface 341device ehci # EHCI USB interface (USB 2.0) 342device ehci_mv # Marvell EHCI USB interface 343device xhci # XHCI USB interface (USB 3.0) 344device dwc3 # Synopsys DWC controller 345device aw_dwc3 # Allwinner DWC3 controller 346device rk_dwc3 # Rockchip DWC3 controller 347device usb # USB Bus (required) 348device ukbd # Keyboard 349device umass # Disks/Mass storage - Requires scbus and da 350device tegra210_xusb_fw # Tegra XUSB firmware 351 352# USB ethernet support 353device muge 354device smcphy 355device smsc 356device ure 357 358# Sound support 359device sound 360device a10_codec 361 362# MMC/SD/SDIO Card slot support 363device sdhci 364device sdhci_xenon # Marvell Xenon SD/MMC controller 365device aw_mmc # Allwinner SD/MMC controller 366device mmc # mmc/sd bus 367device mmcsd # mmc/sd flash cards 368device dwmmc 369device dwmmc_altera 370device dwmmc_hisi 371device rk_dwmmc 372device rk_emmcphy 373 374# VirtIO support 375device virtio 376device virtio_pci 377device virtio_mmio 378device virtio_blk 379device vtnet 380 381# Chip-specific errata 382options THUNDERX_PASS_1_1_ERRATA 383 384options FDT 385device acpi 386 387# DTBs 388makeoptions MODULES_EXTRA="dtb/allwinner dtb/freescale dtb/imx8 dtb/nvidia dtb/mv dtb/rockchip dtb/rpi" 389 390# HID support 391options HID_DEBUG # enable debug msgs 392device hid # Generic HID support 393