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