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# http://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 (http://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 INET # InterNETworking 30options INET6 # IPv6 communications protocols 31options IPSEC # IP (v4/v6) security 32options TCP_OFFLOAD # TCP offload 33options SCTP # Stream Control Transmission Protocol 34options FFS # Berkeley Fast Filesystem 35options SOFTUPDATES # Enable FFS soft updates support 36options UFS_ACL # Support for access control lists 37options UFS_DIRHASH # Improve performance on big directories 38options UFS_GJOURNAL # Enable gjournal-based UFS journaling 39options QUOTA # Enable disk quotas for UFS 40options MD_ROOT # MD is a potential root device 41options NFSCL # Network Filesystem Client 42options NFSD # Network Filesystem Server 43options NFSLOCKD # Network Lock Manager 44options NFS_ROOT # NFS usable as /, requires NFSCL 45options MSDOSFS # MSDOS Filesystem 46options CD9660 # ISO 9660 Filesystem 47options PROCFS # Process filesystem (requires PSEUDOFS) 48options PSEUDOFS # Pseudo-filesystem framework 49options GEOM_PART_GPT # GUID Partition Tables. 50options GEOM_RAID # Soft RAID functionality. 51options GEOM_LABEL # Provides labelization 52options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 53options KTRACE # ktrace(1) support 54options STACK # stack(9) support 55options SYSVSHM # SYSV-style shared memory 56options SYSVMSG # SYSV-style message queues 57options SYSVSEM # SYSV-style semaphores 58options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 59options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 60options KBD_INSTALL_CDEV # install a CDEV entry in /dev 61options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 62options AUDIT # Security event auditing 63options CAPABILITY_MODE # Capsicum capability mode 64options CAPABILITIES # Capsicum capabilities 65options MAC # TrustedBSD MAC Framework 66options KDTRACE_FRAME # Ensure frames are compiled in 67options KDTRACE_HOOKS # Kernel DTrace hooks 68options VFP # Floating-point support 69options RACCT # Resource accounting framework 70options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 71options RCTL # Resource limits 72options SMP 73options INTRNG 74 75# Debugging support. Always need this: 76options KDB # Enable kernel debugger support. 77options KDB_TRACE # Print a stack trace for a panic. 78# For full debugger support use (turn off in stable branch): 79options DDB # Support DDB. 80#options GDB # Support remote GDB. 81options DEADLKRES # Enable the deadlock resolver 82options INVARIANTS # Enable calls of extra sanity checking 83options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 84options WITNESS # Enable checks to detect deadlocks and cycles 85options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 86options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 87 88# SoC support 89options SOC_ALLWINNER_A64 90options SOC_CAVM_THUNDERX 91options SOC_HISI_HI6220 92 93# Annapurna Alpine drivers 94device al_ccu # Alpine Cache Coherency Unit 95device al_nb_service # Alpine North Bridge Service 96 97# VirtIO support 98device virtio 99device virtio_mmio 100device virtio_blk 101device vtnet 102 103# CPU frequency control 104device cpufreq 105 106# Bus drivers 107device pci 108device al_pci # Annapurna Alpine PCI-E 109options PCI_HP # PCI-Express native HotPlug 110options PCI_IOV # PCI SR-IOV support 111 112# Ethernet NICs 113device mii 114device miibus # MII bus support 115device awg # Allwinner EMAC Gigabit Ethernet 116device em # Intel PRO/1000 Gigabit Ethernet Family 117device igb # Intel PRO/1000 PCIE Server Gigabit Family 118device ix # Intel 10Gb Ethernet Family 119device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 120device vnic # Cavium ThunderX NIC 121 122# Block devices 123device ahci 124device scbus 125device da 126 127# ATA/SCSI peripherals 128device pass # Passthrough device (direct ATA/SCSI access) 129 130# MMC/SD/SDIO Card slot support 131device aw_mmc # Allwinner SD/MMC controller 132device mmc # mmc/sd bus 133device mmcsd # mmc/sd flash cards 134device dwmmc 135 136# Serial (COM) ports 137device uart # Generic UART driver 138device uart_ns8250 # ns8250-type UART driver 139device uart_snps 140device pl011 141 142# USB support 143options USB_DEBUG # enable debug msgs 144device aw_ehci # Allwinner EHCI USB interface (USB 2.0) 145device aw_usbphy # Allwinner USB PHY 146device dwcotg # DWC OTG controller 147device ohci # OHCI USB interface 148device ehci # EHCI USB interface (USB 2.0) 149device xhci # XHCI PCI->USB interface (USB 3.0) 150device usb # USB Bus (required) 151device ukbd # Keyboard 152device umass # Disks/Mass storage - Requires scbus and da 153 154# GPIO 155device aw_gpio # Allwinner GPIO controller 156device gpio 157device fdt_pinctrl 158 159# I2C 160device aw_rsb # Allwinner Reduced Serial Bus 161device iicbus 162 163# Clock and reset controllers 164device aw_ccu # Allwinner clock controller 165 166# Interrupt controllers 167device aw_nmi # Allwinner NMI support 168 169# Real-time clock support 170device aw_rtc # Allwinner Real-time Clock 171 172# Watchdog controllers 173device aw_wdog # Allwinner Watchdog 174 175# Power management controllers 176device axp81x # X-Powers AXP81x PMIC 177 178# EFUSE 179device aw_sid # Allwinner Secure ID EFUSE 180 181# Thermal sensors 182device aw_thermal # Allwinner Thermal Sensor Controller 183 184# Pseudo devices. 185device loop # Network loopback 186device random # Entropy device 187device ether # Ethernet support 188device vlan # 802.1Q VLAN support 189device tun # Packet tunnel. 190device md # Memory "disks" 191device gif # IPv6 and IPv4 tunneling 192device firmware # firmware assist module 193device psci # Support for ARM PSCI 194 195# EXT_RESOURCES pseudo devices 196options EXT_RESOURCES 197device clk 198device phy 199device hwreset 200device regulator 201 202# The `bpf' device enables the Berkeley Packet Filter. 203# Be aware of the administrative consequences of enabling this! 204# Note that 'bpf' is required for DHCP. 205device bpf # Berkeley packet filter 206 207# Chip-specific errata 208options THUNDERX_PASS_1_1_ERRATA 209 210options FDT 211#device acpi 212 213# The crypto framework is required by IPSEC 214device crypto # Required by IPSEC 215