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