xref: /netbsd-src/sys/arch/evbarm/conf/GENERIC.common (revision dd3ee07da436799d8de85f3055253118b76bf345)
1#
2#	$NetBSD: GENERIC.common,v 1.48 2022/03/25 21:24:20 jmcneill Exp $
3#
4#	GENERIC evbarm kernel config (template)
5#
6
7# estimated number of users
8
9maxusers	32
10
11# Standard system options
12
13options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
14options 	NTP		# NTP phase/frequency locked loop
15
16# CPU options
17#options 	PMAPCOUNTERS
18options 	BUSDMA_COUNTERS
19
20# Architecture options
21
22# File systems
23include "conf/filesystems.config"
24no file-system 	LFS
25no file-system 	CODA
26no pseudo-device vcoda
27
28# File system options
29options 	QUOTA		# legacy UFS quotas
30options 	QUOTA2		# new, in-filesystem UFS quotas
31options 	DISKLABEL_EI	# disklabel Endian Independent support
32options 	FFS_EI		# FFS Endian Independent support
33options 	NFSSERVER
34options 	WAPBL		# File system journaling support
35#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
36options 	UFS_ACL		# UFS Access Control Lists
37options 	UFS_EXTATTR	# Extended attribute support for UFS1
38
39# Networking options
40
41#options 	GATEWAY		# packet forwarding
42options 	INET		# IP + ICMP + TCP + UDP
43options 	INET6		# IPV6
44options 	IPSEC		# IP security
45#options 	IPSEC_DEBUG	# debug for IP security
46#options 	MROUTING	# IP multicast routing
47#options 	PIM		# Protocol Independent Multicast
48#options 	NETATALK	# AppleTalk networking
49options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
50options 	PPP_DEFLATE	# Deflate compression support for PPP
51options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
52#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
53
54# JIT compiler for bpfilter
55#options 	SLJIT
56options 	BPFJIT
57
58#options 	NFS_BOOT_BOOTP
59options 	NFS_BOOT_DHCP
60#options 	NFS_BOOT_BOOTSTATIC
61#options 	NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
62#options 	NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
63#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
64#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
65#options 	NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
66
67options 	NFS_BOOT_RWSIZE=1024
68
69# Compatibility options
70
71include 	"conf/compat_netbsd60.config"
72options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
73				# on arm or arm binaries on arm64
74
75# Shared memory options
76
77options 	SYSVMSG		# System V-like message queues
78options 	SYSVSEM		# System V-like semaphores
79#options 	SEMMNI=10	# number of semaphore identifiers
80#options 	SEMMNS=60	# number of semaphores in system
81#options 	SEMUME=10	# max number of undo entries per process
82#options 	SEMMNU=30	# number of undo structures in system
83options 	SYSVSHM		# System V-like memory sharing
84
85# Device options
86
87#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
88#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
89#options 	MEMORY_DISK_DYNAMIC
90#options 	MINIROOTSIZE=1000	# Size in blocks
91#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
92#options 	MEMORY_DISK_FBFLAGS=RB_SINGLE
93
94# Miscellaneous kernel options
95options 	KTRACE			# system call tracing, a la ktrace(1)
96#options 	SCSIVERBOSE		# Verbose SCSI errors
97#options 	MIIVERBOSE		# Verbose MII autoconfuration messages
98options 	USERCONF		# userconf(4) support
99#options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
100
101# Wedge support
102options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
103options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
104
105# Alternate buffer queue strategies for better responsiveness under high
106# disk I/O load.
107#options 	BUFQ_READPRIO
108options 	BUFQ_PRIOCSCAN
109
110# Development and Debugging options
111
112options 	DIAGNOSTIC	# internal consistency checks
113#options 	DEBUG
114options 	KDTRACE_HOOKS	# kernel DTrace hooks
115#options 	LOCKDEBUG
116#options 	UVMHIST		# kernhist for uvm/pmap subsystems
117#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
118options 	DDB		# in-kernel debugger
119options 	DDB_ONPANIC=1
120options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
121#options 	DDB_COMMANDONENTER="bt"
122#options 	KGDB
123
124# Pseudo-Devices
125
126# crypto pseudo-devices
127pseudo-device	crypto			# /dev/crypto device
128pseudo-device	swcrypto		# software crypto implementation
129
130# disk/mass storage pseudo-devices
131#pseudo-device	md			# memory disk device (ramdisk)
132pseudo-device	vnd			# disk-like interface to files
133options 	VND_COMPRESSION		# compressed vnd(4)
134pseudo-device	fss			# file system snapshot device
135pseudo-device	drvctl			# driver control
136pseudo-device	cgd			# cryptographic disk devices
137pseudo-device	raid			# RAIDframe disk driver
138options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
139#Options to enable various other RAIDframe RAID types.
140#options 	RF_INCLUDE_EVENODD=1
141#options 	RF_INCLUDE_RAID5_RS=1
142#options 	RF_INCLUDE_PARITYLOGGING=1
143#options 	RF_INCLUDE_CHAINDECLUSTER=1
144#options 	RF_INCLUDE_INTERDECLUSTER=1
145#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
146#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
147
148# network pseudo-devices
149pseudo-device	bpfilter		# Berkeley packet filter
150pseudo-device 	carp			# Common Address Redundancy Protocol
151pseudo-device	loop			# network loopback
152pseudo-device	bridge			# simple inter-network bridging
153pseudo-device	vether			# Virtual Ethernet for bridge
154pseudo-device	vlan			# IEEE 802.1q encapsulation
155pseudo-device	ppp			# Point-to-Point Protocol
156pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
157pseudo-device	tun			# network tunneling over tty
158pseudo-device	tap			# virtual Ethernet
159pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
160pseudo-device	ipsecif			# interface for routing-based ipsec
161pseudo-device	gre			# generic L3 over IP tunnel
162pseudo-device	npf			# NPF packet filter
163
164# miscellaneous pseudo-devices
165pseudo-device	pad			# pseudo audio device
166pseudo-device	pty			# pseudo-terminals
167#options 	RND_COM
168pseudo-device	clockctl		# user control of clock subsystem
169pseudo-device	ksyms			# /dev/ksyms
170pseudo-device	lockstat		# lock profiling
171
172include "dev/veriexec.config"
173
174options 	PAX_ASLR_DEBUG=1	# PaX ASLR debug
175options 	PAX_SEGVGUARD=0		# PaX Segmentation fault guard
176options 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
177options 	PAX_MPROTECT_DEBUG=1	# PaX mprotect debug
178options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
179