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 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 enetc # NXP Gigabit NIC 276device em # Intel PRO/1000 Gigabit Ethernet Family 277device ix # Intel 10Gb Ethernet Family 278device vmx # VMware VMXNET3 Ethernet 279 280# Ethernet NICs 281device mdio 282device mii 283device miibus # MII bus support 284device al_eth # Annapurna Alpine Ethernet NIC 285device awg # Allwinner EMAC Gigabit Ethernet 286device axa # AMD Opteron A1100 integrated NIC 287device cgem # Cadence GEM Gigabit Ethernet device 288device dwc_rk # Rockchip Designware 289device dwc_socfpga # Altera SOCFPGA Ethernet MAC 290device ffec # iMX FFEC 291device genet # Broadcom on RPi4 292device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 293device neta # Marvell Armada 370/38x/XP/3700 NIC 294device re # RealTek 8139C+/8169/8169S/8110S 295device smc # SMSC LAN91C111 296device vnic # Cavium ThunderX NIC 297 298# Etherswitch devices 299device etherswitch # Enable etherswitch support 300device miiproxy # Required for etherswitch 301device e6000sw # Marvell mv88e6085 based switches 302 303 304# Pseudo devices. 305device crypto # core crypto support 306device loop # Network loopback 307device ether # Ethernet support 308device vlan # 802.1Q VLAN support 309device tuntap # Packet tunnel. 310device md # Memory "disks" 311device gif # IPv6 and IPv4 tunneling 312device firmware # firmware assist module 313 314# EXT_RESOURCES pseudo devices 315options EXT_RESOURCES 316device clk 317device phy 318device hwreset 319device nvmem 320device regulator 321device syscon 322device aw_syscon 323 324# IO Domains 325device rk_iodomain 326 327# The `bpf' device enables the Berkeley Packet Filter. 328# Be aware of the administrative consequences of enabling this! 329# Note that 'bpf' is required for DHCP. 330device bpf # Berkeley packet filter 331 332# USB support 333options USB_DEBUG # enable debug msgs 334options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 335device aw_usbphy # Allwinner USB PHY 336device rk_usb2phy # Rockchip USB2PHY 337device rk_typec_phy # Rockchip TypeC PHY 338device dwcotg # DWC OTG controller 339device musb # Mentor Graphics USB OTG controller 340device ohci # OHCI USB interface 341device uhci # UHCI USB interface 342device ehci # EHCI USB interface (USB 2.0) 343device ehci_mv # Marvell EHCI USB interface 344device xhci # XHCI USB interface (USB 3.0) 345device dwc3 # Synopsys DWC controller 346device aw_dwc3 # Allwinner DWC3 controller 347device rk_dwc3 # Rockchip DWC3 controller 348device usb # USB Bus (required) 349device ukbd # Keyboard 350device umass # Disks/Mass storage - Requires scbus and da 351device tegra210_xusb_fw # Tegra XUSB firmware 352 353# USB ethernet support 354device muge 355device smcphy 356device smsc 357device ure 358 359# Sound support 360device sound 361device a10_codec # Allwinner A10 codec 362device aw_i2s # Allwinner I2S 363device a33_codec # Allwinner A33 codec 364device a64_codec # Allwinner A64 Analog codec 365 366# MMC/SD/SDIO Card slot support 367device sdhci 368device sdhci_xenon # Marvell Xenon SD/MMC controller 369device aw_mmc # Allwinner SD/MMC controller 370device mmc # mmc/sd bus 371device mmcsd # mmc/sd flash cards 372device dwmmc 373device dwmmc_altera 374device dwmmc_hisi 375device rk_dwmmc 376device rk_emmcphy 377 378# VirtIO support 379device virtio 380device virtio_pci 381device virtio_mmio 382device virtio_blk 383device vtnet 384 385# Chip-specific errata 386options THUNDERX_PASS_1_1_ERRATA 387 388options FDT 389device acpi 390 391# DTBs 392makeoptions MODULES_EXTRA="dtb/allwinner dtb/freescale dtb/imx8 dtb/nvidia dtb/mv dtb/rockchip dtb/rpi" 393 394# HID support 395options HID_DEBUG # enable debug msgs 396device hid # Generic HID support 397