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 # IP (v4/v6) security 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 # Stream Control Transmission Protocol 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 GEOM_RAID # Soft RAID functionality. 54options GEOM_LABEL # Provides labelization 55options COMPAT_FREEBSD32 # Incomplete, but used by cloudabi32.ko. 56options COMPAT_FREEBSD11 # Compatible with FreeBSD11 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# Warning: KUBSAN can result in a kernel too large for loader to load 96#options KUBSAN # Kernel Undefined Behavior Sanitizer 97 98# Kernel dump features. 99options EKCD # Support for encrypted kernel dumps 100options GZIO # gzip-compressed kernel and user dumps 101options ZSTDIO # zstd-compressed kernel and user dumps 102options NETDUMP # netdump(4) client support 103 104# SoC support 105options SOC_ALLWINNER_A64 106options SOC_ALLWINNER_H5 107options SOC_CAVM_THUNDERX 108options SOC_HISI_HI6220 109options SOC_BRCM_BCM2837 110options SOC_ROCKCHIP_RK3328 111options SOC_XILINX_ZYNQ 112 113# Timer drivers 114device a10_timer 115 116# Annapurna Alpine drivers 117device al_ccu # Alpine Cache Coherency Unit 118device al_nb_service # Alpine North Bridge Service 119device al_iofic # I/O Fabric Interrupt Controller 120device al_serdes # Serializer/Deserializer 121device al_udma # Universal DMA 122 123# Qualcomm Snapdragon drivers 124device qcom_gcc # Global Clock Controller 125 126# VirtIO support 127device virtio 128device virtio_pci 129device virtio_mmio 130device virtio_blk 131device vtnet 132 133# CPU frequency control 134device cpufreq 135 136# Bus drivers 137device pci 138device al_pci # Annapurna Alpine PCI-E 139options PCI_HP # PCI-Express native HotPlug 140options PCI_IOV # PCI SR-IOV support 141 142# Ethernet NICs 143device mdio 144device mii 145device miibus # MII bus support 146device awg # Allwinner EMAC Gigabit Ethernet 147device axgbe # AMD Opteron A1100 integrated NIC 148device em # Intel PRO/1000 Gigabit Ethernet Family 149device ix # Intel 10Gb Ethernet Family 150device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 151device neta # Marvell Armada 370/38x/XP/3700 NIC 152device smc # SMSC LAN91C111 153device vnic # Cavium ThunderX NIC 154device al_eth # Annapurna Alpine Ethernet NIC 155device dwc_rk # Rockchip Designware 156 157# Block devices 158device ahci 159device scbus 160device da 161 162# ATA/SCSI peripherals 163device pass # Passthrough device (direct ATA/SCSI access) 164 165# MMC/SD/SDIO Card slot support 166device sdhci 167device sdhci_xenon # Marvell Xenon SD/MMC controller 168device aw_mmc # Allwinner SD/MMC controller 169device mmc # mmc/sd bus 170device mmcsd # mmc/sd flash cards 171device dwmmc 172 173# Serial (COM) ports 174device uart # Generic UART driver 175device uart_msm # Qualcomm MSM UART driver 176device uart_mu # RPI3 aux port 177device uart_mvebu # Armada 3700 UART driver 178device uart_ns8250 # ns8250-type UART driver 179device uart_snps 180device pl011 181 182# USB support 183device aw_ehci # Allwinner EHCI USB interface (USB 2.0) 184device aw_usbphy # Allwinner USB PHY 185device dwcotg # DWC OTG controller 186device ohci # OHCI USB interface 187device ehci # EHCI USB interface (USB 2.0) 188device ehci_mv # Marvell EHCI USB interface 189device xhci # XHCI PCI->USB interface (USB 3.0) 190device xhci_mv # Marvell XHCI USB interface 191device usb # USB Bus (required) 192device ukbd # Keyboard 193device umass # Disks/Mass storage - Requires scbus and da 194 195# USB ethernet support 196device muge 197device smcphy 198device smsc 199 200# GPIO 201device aw_gpio # Allwinner GPIO controller 202device gpio 203device gpioled 204device fdt_pinctrl 205 206# I2C 207device aw_rsb # Allwinner Reduced Serial Bus 208device bcm2835_bsc # Broadcom BCM283x I2C bus 209device iicbus 210device iic 211device twsi # Allwinner I2C controller 212 213# Clock and reset controllers 214device aw_ccu # Allwinner clock controller 215 216# Interrupt controllers 217device aw_nmi # Allwinner NMI support 218 219# Real-time clock support 220device aw_rtc # Allwinner Real-time Clock 221device mv_rtc # Marvell Real-time Clock 222 223# Watchdog controllers 224device aw_wdog # Allwinner Watchdog 225 226# Power management controllers 227device axp81x # X-Powers AXP81x PMIC 228 229# EFUSE 230device aw_sid # Allwinner Secure ID EFUSE 231 232# Thermal sensors 233device aw_thermal # Allwinner Thermal Sensor Controller 234 235# SPI 236device spibus 237device bcm2835_spi # Broadcom BCM283x SPI bus 238 239# Console 240device vt 241device kbdmux 242 243device vt_efifb 244 245# EVDEV support 246device evdev # input event device support 247options EVDEV_SUPPORT # evdev support in legacy drivers 248device uinput # install /dev/uinput cdev 249 250# Pseudo devices. 251device crypto # core crypto support 252device loop # Network loopback 253device random # Entropy device 254device ether # Ethernet support 255device vlan # 802.1Q VLAN support 256device tun # Packet tunnel. 257device md # Memory "disks" 258device gif # IPv6 and IPv4 tunneling 259device firmware # firmware assist module 260options EFIRT # EFI Runtime Services 261 262# EXT_RESOURCES pseudo devices 263options EXT_RESOURCES 264device clk 265device phy 266device hwreset 267device nvmem 268device regulator 269device syscon 270device aw_syscon 271 272# The `bpf' device enables the Berkeley Packet Filter. 273# Be aware of the administrative consequences of enabling this! 274# Note that 'bpf' is required for DHCP. 275device bpf # Berkeley packet filter 276 277# Chip-specific errata 278options THUNDERX_PASS_1_1_ERRATA 279 280options FDT 281device acpi 282 283# DTBs 284makeoptions MODULES_EXTRA="dtb/allwinner" 285