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