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 29#options 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 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_PART_GPT # GUID Partition Tables. 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 92 93# SoC support 94options SOC_ALLWINNER_A64 95options SOC_ALLWINNER_H5 96options SOC_CAVM_THUNDERX 97options SOC_HISI_HI6220 98options SOC_BRCM_BCM2837 99 100# Annapurna Alpine drivers 101device al_ccu # Alpine Cache Coherency Unit 102device al_nb_service # Alpine North Bridge Service 103device al_iofic # I/O Fabric Interrupt Controller 104device al_serdes # Serializer/Deserializer 105device al_udma # Universal DMA 106 107# VirtIO support 108device virtio 109device virtio_pci 110device virtio_mmio 111device virtio_blk 112device vtnet 113 114# CPU frequency control 115device cpufreq 116 117# Bus drivers 118device pci 119device al_pci # Annapurna Alpine PCI-E 120options PCI_HP # PCI-Express native HotPlug 121options PCI_IOV # PCI SR-IOV support 122 123# Ethernet NICs 124device mdio 125device mii 126device miibus # MII bus support 127device awg # Allwinner EMAC Gigabit Ethernet 128device axgbe # AMD Opteron A1100 integrated NIC 129device em # Intel PRO/1000 Gigabit Ethernet Family 130device ix # Intel 10Gb Ethernet Family 131device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 132device neta # Marvell Armada 370/38x/XP/3700 NIC 133device smc # SMSC LAN91C111 134device vnic # Cavium ThunderX NIC 135device al_eth # Annapurna Alpine Ethernet NIC 136 137# Block devices 138device ahci 139device scbus 140device da 141 142# ATA/SCSI peripherals 143device pass # Passthrough device (direct ATA/SCSI access) 144 145# MMC/SD/SDIO Card slot support 146device sdhci 147device aw_mmc # Allwinner SD/MMC controller 148device mmc # mmc/sd bus 149device mmcsd # mmc/sd flash cards 150device dwmmc 151 152# Serial (COM) ports 153device uart # Generic UART driver 154device uart_mvebu # Armada 3700 UART driver 155device uart_ns8250 # ns8250-type UART driver 156device uart_snps 157device pl011 158 159# USB support 160options USB_DEBUG # enable debug msgs 161device aw_ehci # Allwinner EHCI USB interface (USB 2.0) 162device aw_usbphy # Allwinner USB PHY 163device dwcotg # DWC OTG controller 164device ohci # OHCI USB interface 165device ehci # EHCI USB interface (USB 2.0) 166device ehci_mv # Marvell EHCI USB interface 167device xhci # XHCI PCI->USB interface (USB 3.0) 168device xhci_mv # Marvell XHCI USB interface 169device usb # USB Bus (required) 170device ukbd # Keyboard 171device umass # Disks/Mass storage - Requires scbus and da 172 173# USB ethernet support 174device smcphy 175device smsc 176 177# GPIO 178device aw_gpio # Allwinner GPIO controller 179device gpio 180device gpioled 181device fdt_pinctrl 182 183# I2C 184device aw_rsb # Allwinner Reduced Serial Bus 185device bcm2835_bsc # Broadcom BCM283x I2C bus 186device iicbus 187device iic 188device twsi # Allwinner I2C controller 189 190# Clock and reset controllers 191device aw_ccu # Allwinner clock controller 192 193# Interrupt controllers 194device aw_nmi # Allwinner NMI support 195 196# Real-time clock support 197device aw_rtc # Allwinner Real-time Clock 198device mv_rtc # Marvell Real-time Clock 199 200# Watchdog controllers 201device aw_wdog # Allwinner Watchdog 202 203# Power management controllers 204device axp81x # X-Powers AXP81x PMIC 205 206# EFUSE 207device aw_sid # Allwinner Secure ID EFUSE 208 209# Thermal sensors 210device aw_thermal # Allwinner Thermal Sensor Controller 211 212# SPI 213device spibus 214device bcm2835_spi # Broadcom BCM283x SPI bus 215 216# Console 217device vt 218device kbdmux 219 220# Pseudo devices. 221device loop # Network loopback 222device random # Entropy device 223device ether # Ethernet support 224device vlan # 802.1Q VLAN support 225device tun # Packet tunnel. 226device md # Memory "disks" 227device gif # IPv6 and IPv4 tunneling 228device firmware # firmware assist module 229device psci # Support for ARM PSCI 230options EFIRT # EFI Runtime Services 231 232# EXT_RESOURCES pseudo devices 233options EXT_RESOURCES 234device clk 235device phy 236device hwreset 237device regulator 238device syscon 239 240# The `bpf' device enables the Berkeley Packet Filter. 241# Be aware of the administrative consequences of enabling this! 242# Note that 'bpf' is required for DHCP. 243device bpf # Berkeley packet filter 244 245# Chip-specific errata 246options THUNDERX_PASS_1_1_ERRATA 247 248options FDT 249device acpi 250 251# The crypto framework is required by IPSEC 252device crypto # Required by IPSEC 253