xref: /freebsd/sys/arm64/conf/GENERIC (revision 3496c981ac86b0541bdbc9a211f7847a97df008d)
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		TCP_RFC7413		# TCP Fast Open
37options 	SCTP			# Stream Control Transmission Protocol
38options 	FFS			# Berkeley Fast Filesystem
39options 	SOFTUPDATES		# Enable FFS soft updates support
40options 	UFS_ACL			# Support for access control lists
41options 	UFS_DIRHASH		# Improve performance on big directories
42options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
43options 	QUOTA			# Enable disk quotas for UFS
44options 	MD_ROOT			# MD is a potential root device
45options 	NFSCL			# Network Filesystem Client
46options 	NFSD			# Network Filesystem Server
47options 	NFSLOCKD		# Network Lock Manager
48options 	NFS_ROOT		# NFS usable as /, requires NFSCL
49options 	MSDOSFS			# MSDOS Filesystem
50options 	CD9660			# ISO 9660 Filesystem
51options 	PROCFS			# Process filesystem (requires PSEUDOFS)
52options 	PSEUDOFS		# Pseudo-filesystem framework
53options 	GEOM_PART_GPT		# GUID Partition Tables.
54options 	GEOM_RAID		# Soft RAID functionality.
55options 	GEOM_LABEL		# Provides labelization
56options 	COMPAT_FREEBSD32	# Incomplete, but used by cloudabi32.ko.
57options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
58options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
59options 	KTRACE			# ktrace(1) support
60options 	STACK			# stack(9) support
61options 	SYSVSHM			# SYSV-style shared memory
62options 	SYSVMSG			# SYSV-style message queues
63options 	SYSVSEM			# SYSV-style semaphores
64options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
66options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
67options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
68options 	AUDIT			# Security event auditing
69options 	CAPABILITY_MODE		# Capsicum capability mode
70options 	CAPABILITIES		# Capsicum capabilities
71options 	MAC			# TrustedBSD MAC Framework
72options 	KDTRACE_FRAME		# Ensure frames are compiled in
73options 	KDTRACE_HOOKS		# Kernel DTrace hooks
74options 	VFP			# Floating-point support
75options 	RACCT			# Resource accounting framework
76options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
77options 	RCTL			# Resource limits
78options 	SMP
79options 	INTRNG
80
81# Debugging support.  Always need this:
82options 	KDB			# Enable kernel debugger support.
83options 	KDB_TRACE		# Print a stack trace for a panic.
84# For full debugger support use (turn off in stable branch):
85options 	DDB			# Support DDB.
86#options 	GDB			# Support remote GDB.
87options 	DEADLKRES		# Enable the deadlock resolver
88options 	INVARIANTS		# Enable calls of extra sanity checking
89options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
90options 	WITNESS			# Enable checks to detect deadlocks and cycles
91options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
92options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
93options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
94options 	USB_DEBUG		# enable debug msgs
95
96# Kernel dump features.
97options 	EKCD			# Support for encrypted kernel dumps
98options 	GZIO			# gzip-compressed kernel and user dumps
99options 	ZSTDIO			# zstd-compressed kernel and user dumps
100options 	NETDUMP			# netdump(4) client support
101
102# SoC support
103options 	SOC_ALLWINNER_A64
104options 	SOC_ALLWINNER_H5
105options 	SOC_CAVM_THUNDERX
106options 	SOC_HISI_HI6220
107options 	SOC_BRCM_BCM2837
108options 	SOC_ROCKCHIP_RK3328
109options 	SOC_XILINX_ZYNQ
110
111# Annapurna Alpine drivers
112device		al_ccu			# Alpine Cache Coherency Unit
113device		al_nb_service		# Alpine North Bridge Service
114device		al_iofic		# I/O Fabric Interrupt Controller
115device		al_serdes		# Serializer/Deserializer
116device		al_udma			# Universal DMA
117
118# Qualcomm Snapdragon drivers
119device		qcom_gcc		# Global Clock Controller
120
121# VirtIO support
122device		virtio
123device		virtio_pci
124device		virtio_mmio
125device		virtio_blk
126device		vtnet
127
128# CPU frequency control
129device		cpufreq
130
131# Bus drivers
132device		pci
133device		al_pci		# Annapurna Alpine PCI-E
134options 	PCI_HP			# PCI-Express native HotPlug
135options 	PCI_IOV		# PCI SR-IOV support
136
137# Ethernet NICs
138device		mdio
139device		mii
140device		miibus		# MII bus support
141device		awg		# Allwinner EMAC Gigabit Ethernet
142device		axgbe		# AMD Opteron A1100 integrated NIC
143device		em		# Intel PRO/1000 Gigabit Ethernet Family
144device		ix		# Intel 10Gb Ethernet Family
145device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
146device		neta		# Marvell Armada 370/38x/XP/3700 NIC
147device  	smc		# SMSC LAN91C111
148device		vnic		# Cavium ThunderX NIC
149device		al_eth		# Annapurna Alpine Ethernet NIC
150device		dwc_rk		# Rockchip Designware
151
152# Block devices
153device		ahci
154device		scbus
155device		da
156
157# ATA/SCSI peripherals
158device		pass		# Passthrough device (direct ATA/SCSI access)
159
160# MMC/SD/SDIO Card slot support
161device		sdhci
162device		aw_mmc			# Allwinner SD/MMC controller
163device		mmc			# mmc/sd bus
164device		mmcsd			# mmc/sd flash cards
165device		dwmmc
166
167# Serial (COM) ports
168device		uart		# Generic UART driver
169device		uart_msm	# Qualcomm MSM UART driver
170device		uart_mu		# RPI3 aux port
171device		uart_mvebu	# Armada 3700 UART driver
172device		uart_ns8250	# ns8250-type UART driver
173device		uart_snps
174device		pl011
175
176# USB support
177device		aw_ehci			# Allwinner EHCI USB interface (USB 2.0)
178device		aw_usbphy		# Allwinner USB PHY
179device		dwcotg			# DWC OTG controller
180device		ohci			# OHCI USB interface
181device		ehci			# EHCI USB interface (USB 2.0)
182device		ehci_mv			# Marvell EHCI USB interface
183device		xhci			# XHCI PCI->USB interface (USB 3.0)
184device		xhci_mv			# Marvell XHCI USB interface
185device		usb			# USB Bus (required)
186device		ukbd			# Keyboard
187device		umass			# Disks/Mass storage - Requires scbus and da
188
189# USB ethernet support
190device		smcphy
191device		smsc
192
193# GPIO
194device		aw_gpio		# Allwinner GPIO controller
195device		gpio
196device		gpioled
197device		fdt_pinctrl
198
199# I2C
200device		aw_rsb		# Allwinner Reduced Serial Bus
201device		bcm2835_bsc	# Broadcom BCM283x I2C bus
202device		iicbus
203device		iic
204device		twsi		# Allwinner I2C controller
205
206# Clock and reset controllers
207device		aw_ccu		# Allwinner clock controller
208
209# Interrupt controllers
210device		aw_nmi		# Allwinner NMI support
211
212# Real-time clock support
213device		aw_rtc		# Allwinner Real-time Clock
214device		mv_rtc		# Marvell Real-time Clock
215
216# Watchdog controllers
217device		aw_wdog		# Allwinner Watchdog
218
219# Power management controllers
220device		axp81x		# X-Powers AXP81x PMIC
221
222# EFUSE
223device		aw_sid		# Allwinner Secure ID EFUSE
224
225# Thermal sensors
226device		aw_thermal	# Allwinner Thermal Sensor Controller
227
228# SPI
229device		spibus
230device		bcm2835_spi	# Broadcom BCM283x SPI bus
231
232# Console
233device		vt
234device		kbdmux
235
236device		vt_efifb
237
238# Pseudo devices.
239device		loop		# Network loopback
240device		random		# Entropy device
241device		ether		# Ethernet support
242device		vlan		# 802.1Q VLAN support
243device		tun		# Packet tunnel.
244device		md		# Memory "disks"
245device		gif		# IPv6 and IPv4 tunneling
246device		firmware	# firmware assist module
247options 	EFIRT		# EFI Runtime Services
248
249# EXT_RESOURCES pseudo devices
250options 	EXT_RESOURCES
251device		clk
252device		phy
253device		hwreset
254device		regulator
255device		syscon
256
257# The `bpf' device enables the Berkeley Packet Filter.
258# Be aware of the administrative consequences of enabling this!
259# Note that 'bpf' is required for DHCP.
260device		bpf		# Berkeley packet filter
261
262# Chip-specific errata
263options 	THUNDERX_PASS_1_1_ERRATA
264
265options 	FDT
266device		acpi
267
268# The crypto framework is required by IPSEC
269device		crypto			# Required by IPSEC
270