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