2 # GENERIC -- Generic kernel configuration file for FreeBSD/arm64
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
24 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
25 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
27 options SCHED_ULE # ULE scheduler
28 options PREEMPTION # Enable kernel thread preemption
29 #options VIMAGE # Subsystem virtualization, e.g. VNET
30 options INET # InterNETworking
31 options INET6 # IPv6 communications protocols
32 options IPSEC # IP (v4/v6) security
33 options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5
34 options TCP_HHOOK # hhook(9) framework for TCP
35 options TCP_OFFLOAD # TCP offload
36 options SCTP # Stream Control Transmission Protocol
37 options FFS # Berkeley Fast Filesystem
38 options SOFTUPDATES # Enable FFS soft updates support
39 options UFS_ACL # Support for access control lists
40 options UFS_DIRHASH # Improve performance on big directories
41 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
42 options QUOTA # Enable disk quotas for UFS
43 options MD_ROOT # MD is a potential root device
44 options NFSCL # Network Filesystem Client
45 options NFSD # Network Filesystem Server
46 options NFSLOCKD # Network Lock Manager
47 options NFS_ROOT # NFS usable as /, requires NFSCL
48 options MSDOSFS # MSDOS Filesystem
49 options CD9660 # ISO 9660 Filesystem
50 options PROCFS # Process filesystem (requires PSEUDOFS)
51 options PSEUDOFS # Pseudo-filesystem framework
52 options GEOM_PART_GPT # GUID Partition Tables.
53 options GEOM_RAID # Soft RAID functionality.
54 options GEOM_LABEL # Provides labelization
55 options COMPAT_FREEBSD32 # Incomplete, but used by cloudabi32.ko.
56 options COMPAT_FREEBSD11 # Compatible with FreeBSD11
57 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
58 options KTRACE # ktrace(1) support
59 options STACK # stack(9) support
60 options SYSVSHM # SYSV-style shared memory
61 options SYSVMSG # SYSV-style message queues
62 options SYSVSEM # SYSV-style semaphores
63 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
64 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
65 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
66 options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
67 options AUDIT # Security event auditing
68 options CAPABILITY_MODE # Capsicum capability mode
69 options CAPABILITIES # Capsicum capabilities
70 options MAC # TrustedBSD MAC Framework
71 options KDTRACE_FRAME # Ensure frames are compiled in
72 options KDTRACE_HOOKS # Kernel DTrace hooks
73 options VFP # Floating-point support
74 options RACCT # Resource accounting framework
75 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
76 options RCTL # Resource limits
80 # Debugging support. Always need this:
81 options KDB # Enable kernel debugger support.
82 options KDB_TRACE # Print a stack trace for a panic.
83 # For full debugger support use (turn off in stable branch):
84 options DDB # Support DDB.
85 #options GDB # Support remote GDB.
86 options DEADLKRES # Enable the deadlock resolver
87 options INVARIANTS # Enable calls of extra sanity checking
88 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
89 options WITNESS # Enable checks to detect deadlocks and cycles
90 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
91 options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
94 options SOC_ALLWINNER_A64
95 options SOC_ALLWINNER_H5
96 options SOC_CAVM_THUNDERX
97 options SOC_HISI_HI6220
98 options SOC_BRCM_BCM2837
100 # Annapurna Alpine drivers
101 device al_ccu # Alpine Cache Coherency Unit
102 device al_nb_service # Alpine North Bridge Service
103 device al_iofic # I/O Fabric Interrupt Controller
104 device al_serdes # Serializer/Deserializer
105 device al_udma # Universal DMA
114 # CPU frequency control
119 device al_pci # Annapurna Alpine PCI-E
120 options PCI_HP # PCI-Express native HotPlug
121 options PCI_IOV # PCI SR-IOV support
126 device miibus # MII bus support
127 device awg # Allwinner EMAC Gigabit Ethernet
128 device axgbe # AMD Opteron A1100 integrated NIC
129 device em # Intel PRO/1000 Gigabit Ethernet Family
130 device ix # Intel 10Gb Ethernet Family
131 device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
132 device neta # Marvell Armada 370/38x/XP/3700 NIC
133 device smc # SMSC LAN91C111
134 device vnic # Cavium ThunderX NIC
135 device al_eth # Annapurna Alpine Ethernet NIC
142 # ATA/SCSI peripherals
143 device pass # Passthrough device (direct ATA/SCSI access)
145 # MMC/SD/SDIO Card slot support
147 device aw_mmc # Allwinner SD/MMC controller
148 device mmc # mmc/sd bus
149 device mmcsd # mmc/sd flash cards
153 device uart # Generic UART driver
154 device uart_mvebu # Armada 3700 UART driver
155 device uart_ns8250 # ns8250-type UART driver
160 options USB_DEBUG # enable debug msgs
161 device aw_ehci # Allwinner EHCI USB interface (USB 2.0)
162 device aw_usbphy # Allwinner USB PHY
163 device dwcotg # DWC OTG controller
164 device ohci # OHCI USB interface
165 device ehci # EHCI USB interface (USB 2.0)
166 device ehci_mv # Marvell EHCI USB interface
167 device xhci # XHCI PCI->USB interface (USB 3.0)
168 device xhci_mv # Marvell XHCI USB interface
169 device usb # USB Bus (required)
170 device ukbd # Keyboard
171 device umass # Disks/Mass storage - Requires scbus and da
173 # USB ethernet support
178 device aw_gpio # Allwinner GPIO controller
184 device aw_rsb # Allwinner Reduced Serial Bus
185 device bcm2835_bsc # Broadcom BCM283x I2C bus
188 device twsi # Allwinner I2C controller
190 # Clock and reset controllers
191 device aw_ccu # Allwinner clock controller
193 # Interrupt controllers
194 device aw_nmi # Allwinner NMI support
196 # Real-time clock support
197 device aw_rtc # Allwinner Real-time Clock
198 device mv_rtc # Marvell Real-time Clock
200 # Watchdog controllers
201 device aw_wdog # Allwinner Watchdog
203 # Power management controllers
204 device axp81x # X-Powers AXP81x PMIC
207 device aw_sid # Allwinner Secure ID EFUSE
210 device aw_thermal # Allwinner Thermal Sensor Controller
214 device bcm2835_spi # Broadcom BCM283x SPI bus
221 device loop # Network loopback
222 device random # Entropy device
223 device ether # Ethernet support
224 device vlan # 802.1Q VLAN support
225 device tun # Packet tunnel.
226 device md # Memory "disks"
227 device gif # IPv6 and IPv4 tunneling
228 device firmware # firmware assist module
229 device psci # Support for ARM PSCI
230 options EFIRT # EFI Runtime Services
232 # EXT_RESOURCES pseudo devices
233 options EXT_RESOURCES
239 # The `bpf' device enables the Berkeley Packet Filter.
240 # Be aware of the administrative consequences of enabling this!
241 # Note that 'bpf' is required for DHCP.
242 device bpf # Berkeley packet filter
244 # Chip-specific errata
245 options THUNDERX_PASS_1_1_ERRATA
250 # The crypto framework is required by IPSEC
251 device crypto # Required by IPSEC