xref: /netbsd-src/sys/arch/shark/conf/OFWGENCFG (revision 7c3f385475147b6e1c4753f2bee961630e2dfc40)
1#	$NetBSD: OFWGENCFG,v 1.30 2008/02/29 14:42:33 jmmv 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# FPA options
33
34#options 	ARMFPE		# ARM Ltd FPE
35
36# File systems
37
38file-system	FFS		# UFS
39#file-system	LFS		# log-structured file system
40file-system	MFS		# memory file system
41file-system	NFS
42#file-system 	ADOSFS		# AmigaDOS-compatible file system
43#file-system 	EXT2FS		# second extended file system (linux)
44#file-system	CD9660		# ISO 9660 + Rock Ridge file system
45#file-system	MSDOSFS		# MS-DOS file system
46#file-system	FDESC		# /dev/fd
47#file-system	FILECORE	# Acorn filecore file system
48file-system	KERNFS		# /kern
49#file-system	NULLFS		# loopback file system
50#file-system	PORTAL		# portal filesystem (still experimental)
51#file-system	PROCFS		# /proc
52#file-system	UMAPFS		# NULLFS + uid and gid remapping
53#file-system	UNION		# union file system
54#file-system	PTYFS		# /dev/pts/N support
55
56# File system options
57#options 	QUOTA		# UFS quotas
58#options 	NFSSERVER
59options 	NFS_BOOT_DHCP	# NFS booting via DHCP
60options 	NFS_BOOT_RWSIZE=1024	# OFW driver can't cope with more
61options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
62
63# Networking options
64
65#options 	GATEWAY		# packet forwarding
66options 	INET		# IP + ICMP + TCP + UDP
67#options 	MROUTING	# IP multicast routing
68#options 	PIM		# Protocol Independent Multicast
69#options 	ISO,TPIP	# OSI
70#options 	EON		# OSI tunneling over IP
71#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
72				# if you enable the pseudo-device ipl).
73#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
74
75# Compatibility options
76
77options 	COMPAT_43	# 4.3BSD compatibility.
78options 	COMPAT_30	# NetBSD 3.0 compatibility.
79options 	COMPAT_20	# NetBSD 2.0 compatibility.
80options 	COMPAT_16	# NetBSD 1.6 compatibility.
81options 	COMPAT_12	# NetBSD 1.2 compatibility.
82#options 	COMPAT_11	# NetBSD 1.1 compatibility.
83#options 	COMPAT_10	# NetBSD 1.0 compatibility.
84#options 	COMPAT_09	# NetBSD 0.9 compatibility.
85#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
86options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
87
88# Shared memory options
89
90options 	SYSVMSG		# System V-like message queues
91options 	SYSVSEM		# System V-like semaphores
92options 	SYSVSHM		# System V-like memory sharing
93options 	SHMMAXPGS=1024	# 1024 pages is the default
94
95# Device options
96
97#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
98#options 	MEMORY_DISK_ROOT_SIZE=0	# Size in KBytes
99
100# Miscellaneous kernel options
101options 	KTRACE		# system call tracing, a la ktrace(1)
102options 	IRQSTATS	# manage IRQ statistics
103#options 	LKM		# loadable kernel modules
104options 	KMEMSTATS	# kernel memory statistics
105options 	USERCONF	# userconf(4) support
106#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
107#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
108
109# Development and Debugging options
110
111#options 	ARM700BUGTRACK	# track the ARM700 swi bug
112#options 	PORTMASTER	# Enable PortMaster only options
113options 	DIAGNOSTIC	# internally consistency checks
114options 	DDB		# in-kernel debugger
115#makeoptions	DEBUG="-g"	# compile full symbol table
116
117config		netbsd	root on ofnet0 type nfs
118#config		netbsd	root nfs swap nfs
119
120# The main bus device
121mainbus0 at root
122
123# The boot CPU
124cpu0 at mainbus?
125
126# Open Firmware devices
127ofbus*		at root
128ofbus*		at ofbus?
129ofdisk*		at ofbus?
130ofnet*		at ofbus?
131ofcons*		at ofbus?
132ofrtc*		at ofbus?
133ofrom*		at ofbus?
134
135# Pull in optional local configuration
136cinclude "arch/shark/conf/GENERIC.local"
137
138pseudo-device	loop	1		# network loopback
139pseudo-device	bpfilter		# packet filter
140#pseudo-device	sl			# CSLIP
141#pseudo-device	ppp			# PPP
142#pseudo-device	tun			# network tunneling over tty
143#pseudo-device	ipfilter 1		# ip filter
144
145pseudo-device	pty			# pseudo-terminals
146pseudo-device	vnd			# disk-like interface to files
147#pseudo-device	ccd	2		# concatenated disk devices
148#pseudo-device	fss	4		# file system snapshot device
149pseudo-device	rnd			# /dev/random and /dev/urandom
150
151#pseudo-device	md	1		# Ramdisk driver
152pseudo-device	clockctl		# user control of clock subsystem
153pseudo-device	openfirm		# /dev/openfirm
154