xref: /freebsd/sys/arm64/conf/GENERIC (revision 3b2324c3a800d7599f348c408f01908d0cef05a0)
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 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
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
95options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
96
97# Kernel Sanitizers
98#options 	COVERAGE		# Generic kernel coverage. Used by KCOV
99#options 	KCOV			# Kernel Coverage Sanitizer
100# Warning: KUBSAN can result in a kernel too large for loader to load
101#options 	KUBSAN			# Kernel Undefined Behavior Sanitizer
102
103# Kernel dump features.
104options 	EKCD			# Support for encrypted kernel dumps
105options 	GZIO			# gzip-compressed kernel and user dumps
106options 	ZSTDIO			# zstd-compressed kernel and user dumps
107options 	NETDUMP			# netdump(4) client support
108
109# SoC support
110options 	SOC_ALLWINNER_A64
111options 	SOC_ALLWINNER_H5
112options 	SOC_CAVM_THUNDERX
113options 	SOC_HISI_HI6220
114options 	SOC_BRCM_BCM2837
115options 	SOC_MARVELL_8K
116options 	SOC_ROCKCHIP_RK3328
117options 	SOC_ROCKCHIP_RK3399
118options 	SOC_XILINX_ZYNQ
119
120# Timer drivers
121device		a10_timer
122
123# Annapurna Alpine drivers
124device		al_ccu			# Alpine Cache Coherency Unit
125device		al_nb_service		# Alpine North Bridge Service
126device		al_iofic		# I/O Fabric Interrupt Controller
127device		al_serdes		# Serializer/Deserializer
128device		al_udma			# Universal DMA
129
130# Qualcomm Snapdragon drivers
131device		qcom_gcc		# Global Clock Controller
132
133# VirtIO support
134device		virtio
135device		virtio_pci
136device		virtio_mmio
137device		virtio_blk
138device		vtnet
139
140# CPU frequency control
141device		cpufreq
142
143# Bus drivers
144device		pci
145device		al_pci		# Annapurna Alpine PCI-E
146options 	PCI_HP			# PCI-Express native HotPlug
147options 	PCI_IOV		# PCI SR-IOV support
148
149# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
150device		iflib
151device		em		# Intel PRO/1000 Gigabit Ethernet Family
152device		ix		# Intel 10Gb Ethernet Family
153
154# Ethernet NICs
155device		mdio
156device		mii
157device		miibus		# MII bus support
158device		awg		# Allwinner EMAC Gigabit Ethernet
159device		axgbe		# AMD Opteron A1100 integrated NIC
160device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
161device		neta		# Marvell Armada 370/38x/XP/3700 NIC
162device  	smc		# SMSC LAN91C111
163device		vnic		# Cavium ThunderX NIC
164device		al_eth		# Annapurna Alpine Ethernet NIC
165device		dwc_rk		# Rockchip Designware
166
167# Etherswitch devices
168device		etherswitch	# Enable etherswitch support
169device		miiproxy	# Required for etherswitch
170device		e6000sw		# Marvell mv88e6085 based switches
171
172# Block devices
173device		ahci
174device		scbus
175device		da
176
177# ATA/SCSI peripherals
178device		pass		# Passthrough device (direct ATA/SCSI access)
179
180# NVM Express (NVMe) support
181device		nvme		# base NVMe driver
182options 	NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
183device		nvd		# expose NVMe namespaces as disks, depends on nvme
184
185# MMC/SD/SDIO Card slot support
186device		sdhci
187device		sdhci_xenon		# Marvell Xenon SD/MMC controller
188device		aw_mmc			# Allwinner SD/MMC controller
189device		mmc			# mmc/sd bus
190device		mmcsd			# mmc/sd flash cards
191device		dwmmc
192
193# Serial (COM) ports
194device		uart		# Generic UART driver
195device		uart_msm	# Qualcomm MSM UART driver
196device		uart_mu		# RPI3 aux port
197device		uart_mvebu	# Armada 3700 UART driver
198device		uart_ns8250	# ns8250-type UART driver
199device		uart_snps
200device		pl011
201
202# USB support
203device		aw_ehci			# Allwinner EHCI USB interface (USB 2.0)
204device		aw_usbphy		# Allwinner USB PHY
205device		dwcotg			# DWC OTG controller
206device		ohci			# OHCI USB interface
207device		ehci			# EHCI USB interface (USB 2.0)
208device		ehci_mv			# Marvell EHCI USB interface
209device		xhci			# XHCI PCI->USB interface (USB 3.0)
210device		usb			# USB Bus (required)
211device		ukbd			# Keyboard
212device		umass			# Disks/Mass storage - Requires scbus and da
213
214# USB ethernet support
215device		muge
216device		smcphy
217device		smsc
218
219# Sound support
220device sound
221device a10_codec
222
223# DMA controller
224device		a31_dmac
225
226# GPIO / PINCTRL
227device		aw_gpio		# Allwinner GPIO controller
228device		gpio
229device		gpioled
230device		fdt_pinctrl
231device		gpioregulator
232device		mv_gpio		# Marvell GPIO controller
233device		mvebu_pinctrl	# Marvell Pinmux Controller
234device		rk_gpio		# RockChip GPIO Controller
235device		rk_pinctrl	# RockChip Pinmux Controller
236
237# I2C
238device		aw_rsb		# Allwinner Reduced Serial Bus
239device		bcm2835_bsc	# Broadcom BCM283x I2C bus
240device		iicbus
241device		iic
242device		twsi		# Allwinner I2C controller
243device		rk_i2c		# RockChip I2C controller
244device		syr827		# Silergy SYR827 PMIC
245device		sy8106a		# SY8106A Buck Regulator
246
247# Clock and reset controllers
248device		aw_ccu		# Allwinner clock controller
249
250# Interrupt controllers
251device		aw_nmi		# Allwinner NMI support
252device		mv_cp110_icu	# Marvell CP110 ICU
253device		mv_ap806_gicp	# Marvell AP806 GICP
254
255# Real-time clock support
256device		aw_rtc		# Allwinner Real-time Clock
257device		mv_rtc		# Marvell Real-time Clock
258
259# Watchdog controllers
260device		aw_wdog		# Allwinner Watchdog
261
262# Power management controllers
263device		axp81x		# X-Powers AXP81x PMIC
264device		rk805		# RockChip RK805 PMIC
265
266# EFUSE
267device		aw_sid		# Allwinner Secure ID EFUSE
268
269# Thermal sensors
270device		aw_thermal	# Allwinner Thermal Sensor Controller
271device		mv_thermal	# Marvell Thermal Sensor Controller
272
273# SPI
274device		spibus
275device		bcm2835_spi	# Broadcom BCM283x SPI bus
276
277# PWM
278device		pwm
279device		aw_pwm
280
281# Console
282device		vt
283device		kbdmux
284
285device		vt_efifb
286
287# EVDEV support
288device		evdev			# input event device support
289options		EVDEV_SUPPORT		# evdev support in legacy drivers
290device		uinput			# install /dev/uinput cdev
291device		aw_cir
292
293# Pseudo devices.
294device		crypto		# core crypto support
295device		loop		# Network loopback
296device		random		# Entropy device
297device		ether		# Ethernet support
298device		vlan		# 802.1Q VLAN support
299device		tuntap		# Packet tunnel.
300device		md		# Memory "disks"
301device		gif		# IPv6 and IPv4 tunneling
302device		firmware	# firmware assist module
303options 	EFIRT		# EFI Runtime Services
304
305# EXT_RESOURCES pseudo devices
306options 	EXT_RESOURCES
307device		clk
308device		phy
309device		hwreset
310device		nvmem
311device		regulator
312device		syscon
313device		aw_syscon
314
315# The `bpf' device enables the Berkeley Packet Filter.
316# Be aware of the administrative consequences of enabling this!
317# Note that 'bpf' is required for DHCP.
318device		bpf		# Berkeley packet filter
319
320# Chip-specific errata
321options 	THUNDERX_PASS_1_1_ERRATA
322
323options 	FDT
324device		acpi
325
326# DTBs
327makeoptions	MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi"
328