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 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_FREEBSD11 # Compatible with FreeBSD11 56options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 57options KTRACE # ktrace(1) support 58options STACK # stack(9) support 59options SYSVSHM # SYSV-style shared memory 60options SYSVMSG # SYSV-style message queues 61options SYSVSEM # SYSV-style semaphores 62options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 63options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 64options KBD_INSTALL_CDEV # install a CDEV entry in /dev 65options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 66options AUDIT # Security event auditing 67options CAPABILITY_MODE # Capsicum capability mode 68options CAPABILITIES # Capsicum capabilities 69options MAC # TrustedBSD MAC Framework 70options KDTRACE_FRAME # Ensure frames are compiled in 71options KDTRACE_HOOKS # Kernel DTrace hooks 72options VFP # Floating-point support 73options RACCT # Resource accounting framework 74options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 75options RCTL # Resource limits 76options SMP 77options INTRNG 78 79# Debugging support. Always need this: 80options KDB # Enable kernel debugger support. 81options KDB_TRACE # Print a stack trace for a panic. 82# For full debugger support use (turn off in stable branch): 83options DDB # Support DDB. 84#options GDB # Support remote GDB. 85options DEADLKRES # Enable the deadlock resolver 86options INVARIANTS # Enable calls of extra sanity checking 87options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 88options WITNESS # Enable checks to detect deadlocks and cycles 89options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 90options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 91 92# SoC support 93options SOC_ALLWINNER_A64 94options SOC_ALLWINNER_H5 95options SOC_CAVM_THUNDERX 96options SOC_HISI_HI6220 97options SOC_BRCM_BCM2837 98 99# Annapurna Alpine drivers 100device al_ccu # Alpine Cache Coherency Unit 101device al_nb_service # Alpine North Bridge Service 102device al_iofic # I/O Fabric Interrupt Controller 103device al_serdes # Serializer/Deserializer 104device al_udma # Universal DMA 105 106# VirtIO support 107device virtio 108device virtio_pci 109device virtio_mmio 110device virtio_blk 111device vtnet 112 113# CPU frequency control 114device cpufreq 115 116# Bus drivers 117device pci 118device al_pci # Annapurna Alpine PCI-E 119options PCI_HP # PCI-Express native HotPlug 120options PCI_IOV # PCI SR-IOV support 121 122# Ethernet NICs 123device mdio 124device mii 125device miibus # MII bus support 126device awg # Allwinner EMAC Gigabit Ethernet 127device axgbe # AMD Opteron A1100 integrated NIC 128device em # Intel PRO/1000 Gigabit Ethernet Family 129device ix # Intel 10Gb Ethernet Family 130device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 131device neta # Marvell Armada 370/38x/XP/3700 NIC 132device smc # SMSC LAN91C111 133device vnic # Cavium ThunderX NIC 134device al_eth # Annapurna Alpine Ethernet NIC 135 136# Block devices 137device ahci 138device scbus 139device da 140 141# ATA/SCSI peripherals 142device pass # Passthrough device (direct ATA/SCSI access) 143 144# MMC/SD/SDIO Card slot support 145device sdhci 146device aw_mmc # Allwinner SD/MMC controller 147device mmc # mmc/sd bus 148device mmcsd # mmc/sd flash cards 149device dwmmc 150 151# Serial (COM) ports 152device uart # Generic UART driver 153device uart_mvebu # Armada 3700 UART driver 154device uart_ns8250 # ns8250-type UART driver 155device uart_snps 156device pl011 157 158# USB support 159options USB_DEBUG # enable debug msgs 160device aw_ehci # Allwinner EHCI USB interface (USB 2.0) 161device aw_usbphy # Allwinner USB PHY 162device dwcotg # DWC OTG controller 163device ohci # OHCI USB interface 164device ehci # EHCI USB interface (USB 2.0) 165device ehci_mv # Marvell EHCI USB interface 166device xhci # XHCI PCI->USB interface (USB 3.0) 167device xhci_mv # Marvell XHCI USB interface 168device usb # USB Bus (required) 169device ukbd # Keyboard 170device umass # Disks/Mass storage - Requires scbus and da 171 172# USB ethernet support 173device smcphy 174device smsc 175 176# GPIO 177device aw_gpio # Allwinner GPIO controller 178device gpio 179device gpioled 180device fdt_pinctrl 181 182# I2C 183device aw_rsb # Allwinner Reduced Serial Bus 184device bcm2835_bsc # Broadcom BCM283x I2C bus 185device iicbus 186device iic 187device twsi # Allwinner I2C controller 188 189# Clock and reset controllers 190device aw_ccu # Allwinner clock controller 191 192# Interrupt controllers 193device aw_nmi # Allwinner NMI support 194 195# Real-time clock support 196device aw_rtc # Allwinner Real-time Clock 197device mv_rtc # Marvell Real-time Clock 198 199# Watchdog controllers 200device aw_wdog # Allwinner Watchdog 201 202# Power management controllers 203device axp81x # X-Powers AXP81x PMIC 204 205# EFUSE 206device aw_sid # Allwinner Secure ID EFUSE 207 208# Thermal sensors 209device aw_thermal # Allwinner Thermal Sensor Controller 210 211# SPI 212device spibus 213device bcm2835_spi # Broadcom BCM283x SPI bus 214 215# Console 216device vt 217device kbdmux 218 219# Pseudo devices. 220device loop # Network loopback 221device random # Entropy device 222device ether # Ethernet support 223device vlan # 802.1Q VLAN support 224device tun # Packet tunnel. 225device md # Memory "disks" 226device gif # IPv6 and IPv4 tunneling 227device firmware # firmware assist module 228device psci # Support for ARM PSCI 229 230# EXT_RESOURCES pseudo devices 231options EXT_RESOURCES 232device clk 233device phy 234device hwreset 235device regulator 236 237# The `bpf' device enables the Berkeley Packet Filter. 238# Be aware of the administrative consequences of enabling this! 239# Note that 'bpf' is required for DHCP. 240device bpf # Berkeley packet filter 241 242# Chip-specific errata 243options THUNDERX_PASS_1_1_ERRATA 244 245options FDT 246device acpi 247 248# The crypto framework is required by IPSEC 249device crypto # Required by IPSEC 250