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 TCP_RFC7413 # TCP Fast Open
37 options SCTP # Stream Control Transmission Protocol
38 options FFS # Berkeley Fast Filesystem
39 options SOFTUPDATES # Enable FFS soft updates support
40 options UFS_ACL # Support for access control lists
41 options UFS_DIRHASH # Improve performance on big directories
42 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
43 options QUOTA # Enable disk quotas for UFS
44 options MD_ROOT # MD is a potential root device
45 options NFSCL # Network Filesystem Client
46 options NFSD # Network Filesystem Server
47 options NFSLOCKD # Network Lock Manager
48 options NFS_ROOT # NFS usable as /, requires NFSCL
49 options MSDOSFS # MSDOS Filesystem
50 options CD9660 # ISO 9660 Filesystem
51 options PROCFS # Process filesystem (requires PSEUDOFS)
52 options PSEUDOFS # Pseudo-filesystem framework
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.
84 # Kernel dump features.
85 options EKCD # Support for encrypted kernel dumps
86 options GZIO # gzip-compressed kernel and user dumps
87 options ZSTDIO # zstd-compressed kernel and user dumps
88 options NETDUMP # netdump(4) client support
91 options SOC_ALLWINNER_A64
92 options SOC_ALLWINNER_H5
93 options SOC_CAVM_THUNDERX
94 options SOC_HISI_HI6220
95 options SOC_BRCM_BCM2837
96 options SOC_MARVELL_8K
97 options SOC_ROCKCHIP_RK3328
98 options SOC_ROCKCHIP_RK3399
99 options SOC_XILINX_ZYNQ
104 # Annapurna Alpine drivers
105 device al_ccu # Alpine Cache Coherency Unit
106 device al_nb_service # Alpine North Bridge Service
107 device al_iofic # I/O Fabric Interrupt Controller
108 device al_serdes # Serializer/Deserializer
109 device al_udma # Universal DMA
111 # Qualcomm Snapdragon drivers
112 device qcom_gcc # Global Clock Controller
121 # CPU frequency control
126 device al_pci # Annapurna Alpine PCI-E
127 options PCI_HP # PCI-Express native HotPlug
128 options PCI_IOV # PCI SR-IOV support
130 # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
132 device em # Intel PRO/1000 Gigabit Ethernet Family
133 device ix # Intel 10Gb Ethernet Family
138 device miibus # MII bus support
139 device awg # Allwinner EMAC Gigabit Ethernet
140 device axgbe # AMD Opteron A1100 integrated NIC
141 device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
142 device neta # Marvell Armada 370/38x/XP/3700 NIC
143 device smc # SMSC LAN91C111
144 device vnic # Cavium ThunderX NIC
145 device al_eth # Annapurna Alpine Ethernet NIC
146 device dwc_rk # Rockchip Designware
153 # ATA/SCSI peripherals
154 device pass # Passthrough device (direct ATA/SCSI access)
156 # NVM Express (NVMe) support
157 device nvme # base NVMe driver
158 options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
159 device nvd # expose NVMe namespaces as disks, depends on nvme
161 # MMC/SD/SDIO Card slot support
163 device sdhci_xenon # Marvell Xenon SD/MMC controller
164 device aw_mmc # Allwinner SD/MMC controller
165 device mmc # mmc/sd bus
166 device mmcsd # mmc/sd flash cards
170 device uart # Generic UART driver
171 device uart_msm # Qualcomm MSM UART driver
172 device uart_mu # RPI3 aux port
173 device uart_mvebu # Armada 3700 UART driver
174 device uart_ns8250 # ns8250-type UART driver
179 device aw_ehci # Allwinner EHCI USB interface (USB 2.0)
180 device aw_usbphy # Allwinner USB PHY
181 device dwcotg # DWC OTG controller
182 device ohci # OHCI USB interface
183 device ehci # EHCI USB interface (USB 2.0)
184 device ehci_mv # Marvell EHCI USB interface
185 device xhci # XHCI PCI->USB interface (USB 3.0)
186 device usb # USB Bus (required)
187 device ukbd # Keyboard
188 device umass # Disks/Mass storage - Requires scbus and da
190 # USB ethernet support
203 device a37x0_gpio # Marvell Armada 37x0 GPIO controller
204 device aw_gpio # Allwinner GPIO controller
209 device mv_gpio # Marvell GPIO controller
210 device mvebu_pinctrl # Marvell Pinmux Controller
211 device rk_gpio # RockChip GPIO Controller
212 device rk_pinctrl # RockChip Pinmux Controller
215 device aw_rsb # Allwinner Reduced Serial Bus
216 device bcm2835_bsc # Broadcom BCM283x I2C bus
219 device twsi # Allwinner I2C controller
220 device syr827 # Silergy SYR827 PMIC
221 device rk_i2c # RockChip I2C controller
223 # Clock and reset controllers
224 device aw_ccu # Allwinner clock controller
226 # Interrupt controllers
227 device aw_nmi # Allwinner NMI support
228 device mv_cp110_icu # Marvell CP110 ICU
229 device mv_ap806_gicp # Marvell AP806 GICP
231 # Real-time clock support
232 device aw_rtc # Allwinner Real-time Clock
233 device mv_rtc # Marvell Real-time Clock
235 # Watchdog controllers
236 device aw_wdog # Allwinner Watchdog
238 # Power management controllers
239 device axp81x # X-Powers AXP81x PMIC
240 device rk805 # RockChip RK805 PMIC
243 device aw_sid # Allwinner Secure ID EFUSE
246 device aw_thermal # Allwinner Thermal Sensor Controller
247 device mv_thermal # Marvell Thermal Sensor Controller
251 device bcm2835_spi # Broadcom BCM283x SPI bus
264 device evdev # input event device support
265 options EVDEV_SUPPORT # evdev support in legacy drivers
266 device uinput # install /dev/uinput cdev
269 device crypto # core crypto support
270 device loop # Network loopback
271 device random # Entropy device
272 device ether # Ethernet support
273 device vlan # 802.1Q VLAN support
274 device tun # Packet tunnel.
275 device md # Memory "disks"
276 device gif # IPv6 and IPv4 tunneling
277 device firmware # firmware assist module
278 options EFIRT # EFI Runtime Services
280 # EXT_RESOURCES pseudo devices
281 options EXT_RESOURCES
290 # The `bpf' device enables the Berkeley Packet Filter.
291 # Be aware of the administrative consequences of enabling this!
292 # Note that 'bpf' is required for DHCP.
293 device bpf # Berkeley packet filter
295 # Chip-specific errata
296 options THUNDERX_PASS_1_1_ERRATA
302 makeoptions MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi"