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