xref: /freebsd/sys/arm64/conf/GENERIC (revision da5069e1f7daaef1e7157876d6044de6f3a08ce2)
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
29options 	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_RAID		# Soft RAID functionality.
54options 	GEOM_LABEL		# Provides labelization
55options 	COMPAT_FREEBSD32	# Compatible with FreeBSD/arm
56options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
57options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
58options 	KTRACE			# ktrace(1) support
59options 	STACK			# stack(9) support
60options 	SYSVSHM			# SYSV-style shared memory
61options 	SYSVMSG			# SYSV-style message queues
62options 	SYSVSEM			# SYSV-style semaphores
63options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
64options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
65options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
66options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
67options 	AUDIT			# Security event auditing
68options 	CAPABILITY_MODE		# Capsicum capability mode
69options 	CAPABILITIES		# Capsicum capabilities
70options 	MAC			# TrustedBSD MAC Framework
71options 	KDTRACE_FRAME		# Ensure frames are compiled in
72options 	KDTRACE_HOOKS		# Kernel DTrace hooks
73options 	VFP			# Floating-point support
74options 	RACCT			# Resource accounting framework
75options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
76options 	RCTL			# Resource limits
77options 	SMP
78options 	INTRNG
79
80# Debugging support.  Always need this:
81options 	KDB			# Enable kernel debugger support.
82options 	KDB_TRACE		# Print a stack trace for a panic.
83# For full debugger support use (turn off in stable branch):
84options 	DDB			# Support DDB.
85#options 	GDB			# Support remote GDB.
86options 	DEADLKRES		# Enable the deadlock resolver
87options 	INVARIANTS		# Enable calls of extra sanity checking
88options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
89options 	WITNESS			# Enable checks to detect deadlocks and cycles
90options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
91options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
92options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
93options 	USB_DEBUG		# enable debug msgs
94options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
95
96# Kernel Sanitizers
97#options 	COVERAGE		# Generic kernel coverage. Used by KCOV
98#options 	KCOV			# Kernel Coverage Sanitizer
99# Warning: KUBSAN can result in a kernel too large for loader to load
100#options 	KUBSAN			# Kernel Undefined Behavior Sanitizer
101
102# Kernel dump features.
103options 	EKCD			# Support for encrypted kernel dumps
104options 	GZIO			# gzip-compressed kernel and user dumps
105options 	ZSTDIO			# zstd-compressed kernel and user dumps
106options 	NETDUMP			# netdump(4) client support
107
108# SoC support
109options 	SOC_ALLWINNER_A64
110options 	SOC_ALLWINNER_H5
111options 	SOC_CAVM_THUNDERX
112options 	SOC_HISI_HI6220
113options 	SOC_BRCM_BCM2837
114options 	SOC_MARVELL_8K
115options 	SOC_ROCKCHIP_RK3328
116options 	SOC_ROCKCHIP_RK3399
117options 	SOC_XILINX_ZYNQ
118
119# Timer drivers
120device		a10_timer
121
122# Annapurna Alpine drivers
123device		al_ccu			# Alpine Cache Coherency Unit
124device		al_nb_service		# Alpine North Bridge Service
125device		al_iofic		# I/O Fabric Interrupt Controller
126device		al_serdes		# Serializer/Deserializer
127device		al_udma			# Universal DMA
128
129# Qualcomm Snapdragon drivers
130device		qcom_gcc		# Global Clock Controller
131
132# VirtIO support
133device		virtio
134device		virtio_pci
135device		virtio_mmio
136device		virtio_blk
137device		vtnet
138
139# CPU frequency control
140device		cpufreq
141
142# Bus drivers
143device		pci
144device		al_pci		# Annapurna Alpine PCI-E
145options 	PCI_HP			# PCI-Express native HotPlug
146options 	PCI_IOV		# PCI SR-IOV support
147
148# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
149device		iflib
150device		em		# Intel PRO/1000 Gigabit Ethernet Family
151device		ix		# Intel 10Gb Ethernet Family
152
153# Ethernet NICs
154device		mdio
155device		mii
156device		miibus		# MII bus support
157device		awg		# Allwinner EMAC Gigabit Ethernet
158device		axgbe		# AMD Opteron A1100 integrated NIC
159device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
160device		neta		# Marvell Armada 370/38x/XP/3700 NIC
161device  	smc		# SMSC LAN91C111
162device		vnic		# Cavium ThunderX NIC
163device		al_eth		# Annapurna Alpine Ethernet NIC
164device		dwc_rk		# Rockchip Designware
165
166# Etherswitch devices
167device		etherswitch	# Enable etherswitch support
168device		miiproxy	# Required for etherswitch
169device		e6000sw		# Marvell mv88e6085 based switches
170
171# Block devices
172device		ahci
173device		scbus
174device		da
175
176# ATA/SCSI peripherals
177device		pass		# Passthrough device (direct ATA/SCSI access)
178
179# NVM Express (NVMe) support
180device		nvme		# base NVMe driver
181options 	NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
182device		nvd		# expose NVMe namespaces as disks, depends on nvme
183
184# MMC/SD/SDIO Card slot support
185device		sdhci
186device		sdhci_xenon		# Marvell Xenon SD/MMC controller
187device		aw_mmc			# Allwinner SD/MMC controller
188device		mmc			# mmc/sd bus
189device		mmcsd			# mmc/sd flash cards
190device		dwmmc
191
192# Serial (COM) ports
193device		uart		# Generic UART driver
194device		uart_msm	# Qualcomm MSM UART driver
195device		uart_mu		# RPI3 aux port
196device		uart_mvebu	# Armada 3700 UART driver
197device		uart_ns8250	# ns8250-type UART driver
198device		uart_snps
199device		pl011
200
201# USB support
202device		aw_ehci			# Allwinner EHCI USB interface (USB 2.0)
203device		aw_usbphy		# Allwinner USB PHY
204device		dwcotg			# DWC OTG controller
205device		ohci			# OHCI USB interface
206device		ehci			# EHCI USB interface (USB 2.0)
207device		ehci_mv			# Marvell EHCI USB interface
208device		xhci			# XHCI PCI->USB interface (USB 3.0)
209device		usb			# USB Bus (required)
210device		ukbd			# Keyboard
211device		umass			# Disks/Mass storage - Requires scbus and da
212
213# USB ethernet support
214device		muge
215device		smcphy
216device		smsc
217
218# GPIO / PINCTRL
219device		aw_gpio		# Allwinner GPIO controller
220device		gpio
221device		gpioled
222device		fdt_pinctrl
223device		mv_gpio		# Marvell GPIO controller
224device		mvebu_pinctrl	# Marvell Pinmux Controller
225device		rk_gpio		# RockChip GPIO Controller
226device		rk_pinctrl	# RockChip Pinmux Controller
227
228# I2C
229device		aw_rsb		# Allwinner Reduced Serial Bus
230device		bcm2835_bsc	# Broadcom BCM283x I2C bus
231device		iicbus
232device		iic
233device		twsi		# Allwinner I2C controller
234device		rk_i2c		# RockChip I2C controller
235device		syr827		# Silergy SYR827 PMIC
236device		sy8106a		# SY8106A Buck Regulator
237
238# Clock and reset controllers
239device		aw_ccu		# Allwinner clock controller
240
241# Interrupt controllers
242device		aw_nmi		# Allwinner NMI support
243device		mv_cp110_icu	# Marvell CP110 ICU
244device		mv_ap806_gicp	# Marvell AP806 GICP
245
246# Real-time clock support
247device		aw_rtc		# Allwinner Real-time Clock
248device		mv_rtc		# Marvell Real-time Clock
249
250# Watchdog controllers
251device		aw_wdog		# Allwinner Watchdog
252
253# Power management controllers
254device		axp81x		# X-Powers AXP81x PMIC
255device		rk805		# RockChip RK805 PMIC
256
257# EFUSE
258device		aw_sid		# Allwinner Secure ID EFUSE
259
260# Thermal sensors
261device		aw_thermal	# Allwinner Thermal Sensor Controller
262device		mv_thermal	# Marvell Thermal Sensor Controller
263
264# SPI
265device		spibus
266device		bcm2835_spi	# Broadcom BCM283x SPI bus
267
268# PWM
269device		pwm
270device		aw_pwm
271
272# Console
273device		vt
274device		kbdmux
275
276device		vt_efifb
277
278# EVDEV support
279device		evdev			# input event device support
280options		EVDEV_SUPPORT		# evdev support in legacy drivers
281device		uinput			# install /dev/uinput cdev
282device		aw_cir
283
284# Pseudo devices.
285device		crypto		# core crypto support
286device		loop		# Network loopback
287device		random		# Entropy device
288device		ether		# Ethernet support
289device		vlan		# 802.1Q VLAN support
290device		tun		# Packet tunnel.
291device		md		# Memory "disks"
292device		gif		# IPv6 and IPv4 tunneling
293device		firmware	# firmware assist module
294options 	EFIRT		# EFI Runtime Services
295
296# EXT_RESOURCES pseudo devices
297options 	EXT_RESOURCES
298device		clk
299device		phy
300device		hwreset
301device		nvmem
302device		regulator
303device		syscon
304device		aw_syscon
305
306# The `bpf' device enables the Berkeley Packet Filter.
307# Be aware of the administrative consequences of enabling this!
308# Note that 'bpf' is required for DHCP.
309device		bpf		# Berkeley packet filter
310
311# Chip-specific errata
312options 	THUNDERX_PASS_1_1_ERRATA
313
314options 	FDT
315device		acpi
316
317# DTBs
318makeoptions	MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi"
319