xref: /netbsd-src/sys/arch/shark/conf/OFWGENCFG (revision d5c0be2b6b39807c1d81678ae346fadf584f9fc8)
1#	$NetBSD: OFWGENCFG,v 1.50 2023/02/09 14:09:49 abs Exp $
2#
3#	OFWGENCFG: 'generic' configuration for Open Firmware boards.
4#
5#	Uses all 'generic' drivers (except for 'ofrom', which is
6#	close enough to generic).
7#
8
9include 	"arch/shark/conf/std.shark"
10include 	"arch/shark/conf/std.ofwgencfg"
11
12#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
13
14# estimated number of users
15
16maxusers	32
17
18# Standard system options
19
20options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
21#options 	NTP		# NTP phase/frequency locked loop
22
23# CPU options
24
25options 	CPU_SA110	# Support the SA110 core
26makeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
27
28# Architecture options
29
30options 	OFWGENCFG	# Enable Open Firmware bits specific to GENERIC configuration
31
32# File systems
33
34file-system	FFS		# UFS
35#file-system	LFS		# log-structured file system
36file-system	MFS		# memory file system
37file-system	NFS
38#file-system 	ADOSFS		# AmigaDOS-compatible file system
39#file-system 	EXT2FS		# second extended file system (linux)
40#file-system	CD9660		# ISO 9660 + Rock Ridge file system
41#file-system	MSDOSFS		# MS-DOS file system
42#file-system	FDESC		# /dev/fd
43#file-system	FILECORE	# Acorn filecore file system
44file-system	KERNFS		# /kern
45#file-system	NULLFS		# loopback file system
46#file-system	PROCFS		# /proc
47#file-system	UMAPFS		# NULLFS + uid and gid remapping
48#file-system	UNION		# union file system
49#file-system	PTYFS		# /dev/pts/N support
50
51# File system options
52#options 	QUOTA		# legacy UFS quotas
53#options 	QUOTA2		# new, in-filesystem UFS quotas
54#options 	NFSSERVER
55options 	NFS_BOOT_DHCP	# NFS booting via DHCP
56options 	NFS_BOOT_RWSIZE=1024	# OFW driver can't cope with more
57options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
58
59# Networking options
60
61#options 	GATEWAY		# packet forwarding
62options 	INET		# IP + ICMP + TCP + UDP
63#options 	MROUTING	# IP multicast routing
64#options 	PIM		# Protocol Independent Multicast
65				# if you enable the pseudo-device ipl).
66#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
67
68# Compatibility options
69
70include 	"conf/compat_netbsd12.config"
71
72# Shared memory options
73
74options 	SYSVMSG		# System V-like message queues
75options 	SYSVSEM		# System V-like semaphores
76options 	SYSVSHM		# System V-like memory sharing
77
78# Device options
79
80#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
81#options 	MEMORY_DISK_ROOT_SIZE=0	# Size in KBytes
82
83# Miscellaneous kernel options
84options 	KTRACE		# system call tracing, a la ktrace(1)
85options 	IRQSTATS	# manage IRQ statistics
86options 	USERCONF	# userconf(4) support
87#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
88#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
89
90# Development and Debugging options
91
92#options 	ARM700BUGTRACK	# track the ARM700 swi bug
93#options 	PORTMASTER	# Enable PortMaster only options
94options 	DIAGNOSTIC	# internal consistency checks
95options 	DDB		# in-kernel debugger
96pseudo-device	ksyms
97#makeoptions	DEBUG="-g"	# compile full symbol table
98
99config		netbsd	root on ofnet0 type nfs
100#config		netbsd	root nfs swap nfs
101
102# The main bus device
103mainbus0 at root
104
105# The boot CPU
106cpu0 at mainbus?
107
108# Open Firmware devices
109ofbus*		at root
110ofbus*		at ofbus?
111ofdisk*		at ofbus?
112ofnet*		at ofbus?
113ofcons*		at ofbus?
114ofrtc*		at ofbus?
115ofrom*		at ofbus?
116
117pseudo-device	loop			# network loopback
118pseudo-device	bpfilter		# packet filter
119#pseudo-device	sl			# CSLIP
120#pseudo-device	ppp			# PPP
121#pseudo-device	tun			# network tunneling over tty
122#pseudo-device	npf			# NPF packet filter
123
124pseudo-device	pty			# pseudo-terminals
125pseudo-device	vnd			# disk-like interface to files
126#pseudo-device	ccd			# concatenated disk devices
127#pseudo-device	fss			# file system snapshot device
128
129#pseudo-device	md			# Ramdisk driver
130pseudo-device	clockctl		# user control of clock subsystem
131pseudo-device	openfirm		# /dev/openfirm
132
133# Pull in optional local configuration - always at end
134cinclude	"arch/shark/conf/GENERIC.local"
135