INSTALL revision 1.15
1#	$NetBSD: INSTALL,v 1.15 2004/09/04 23:29:57 manu Exp $
2#
3#	Shark installation kernel
4#
5
6include	"arch/shark/conf/std.shark"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	32
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17options 	HZ=64
18#options 	NTP		# NTP phase/frequency locked loop
19options 	NMBCLUSTERS=1024 # XXX, temporarily required
20#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
21
22# CPU options
23
24options 	CPU_SA110	# Support the SA110 core
25makeoptions	COPTS="-Os"
26
27# Architecture options
28
29options 	SHARK		# We are a Shark
30options 	NSIO		# We are using the National Semi SuperIO
31
32# compatibility with old version of OFW, which may have incorrect
33# properties and/or may set up devices incorrectly.
34options 	COMPAT_OLD_OFW
35
36# FPA options
37
38#options 	ARMFPE		# ARM Ltd FPE
39
40# File systems
41
42file-system	FFS		# UFS
43#file-system	LFS		# log-structured file system
44file-system	MFS		# memory file system
45file-system	NFS
46#file-system 	ADOSFS		# AmigaDOS-compatible file system
47#file-system 	EXT2FS		# second extended file system (linux)
48#file-system	CD9660		# ISO 9660 + Rock Ridge file system
49file-system	MSDOSFS		# MS-DOS file system
50#file-system	FDESC		# /dev/fd
51#file-system	FILECORE	# Acorn filecore file system
52file-system	KERNFS		# /kern
53#file-system	NULLFS		# loopback file system
54#file-system	PORTAL		# portal filesystem (still experimental)
55#file-system	PROCFS		# /proc
56#file-system	UMAPFS		# NULLFS + uid and gid remapping
57#file-system	UNION		# union file system
58
59# File system options
60#options 	QUOTA		# UFS quotas
61#options 	FFS_EI		# FFS Endian Independant support
62#options 	NFSSERVER
63
64options 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
65
66# Networking options
67
68#options 	GATEWAY		# packet forwarding
69options 	INET		# IP + ICMP + TCP + UDP
70#options 	MROUTING	# IP multicast routing
71#options 	PIM		# Protocol Independent Multicast
72#options 	NS		# XNS
73#options 	NSIP		# XNS tunneling over IP
74#options 	ISO,TPIP	# OSI
75#options 	EON		# OSI tunneling over IP
76#options 	CCITT,LLC,HDLC	# X.25
77#options 	NETATALK	# AppleTalk networking
78#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
79				# if you enable the pseudo-device ipl).
80
81#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
82#options 	PPP_DEFLATE	# Deflate compression support for PPP
83#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
84options 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
85#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
86
87# Compatibility options
88
89#options 	COMPAT_43	# 4.3BSD compatibility.
90#options 	COMPAT_14	# NetBSD 1.4 compatibility.
91#options 	COMPAT_13	# NetBSD 1.3 compatibility.
92#options 	COMPAT_12	# NetBSD 1.2 compatibility.
93#options 	COMPAT_11	# NetBSD 1.1 compatibility.
94#options 	COMPAT_10	# NetBSD 1.0 compatibility.
95#options 	COMPAT_09	# NetBSD 0.9 compatibility.
96#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
97
98# Shared memory options
99
100#options 	SYSVMSG		# System V-like message queues
101#options 	SYSVSEM		# System V-like semaphores
102#options 	SYSVSHM		# System V-like memory sharing
103#options 	SHMMAXPGS=1024	# 1024 pages is the default
104
105# Device options
106
107options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
108options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
109options 	MEMORY_DISK_ROOT_SIZE=7000	# Size in blocks (3.5MB)
110
111options 	XSERVER			# also need INSECURE for now
112options 	INSECURE		# disable kernel securelevel
113
114# Use the following to force the serial to always be the console
115# device.  19200 is what the serial gets set up as by the firmware
116# when it hasn't fallen back from PC.  If it has fallen back then
117# the speed will be set at 9600.
118#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
119
120# Miscellaneous kernel options
121#options 	KTRACE		# system call tracing, a la ktrace(1)
122#options 	IRQSTATS	# manage IRQ statistics, XXX temp required
123#options 	LKM		# loadable kernel modules
124#options 	KMEMSTATS	# kernel memory statistics, XXX temp required
125options 	USERCONF	# userconf(4) support
126options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
127#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
128options 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
129
130# Development and Debugging options
131
132#options 	ARM700BUGTRACK	# track the ARM700 swi bug
133#options 	PORTMASTER	# Enable PortMaster only options
134#options 	DIAGNOSTIC	# internal consistency checks
135#options 	PMAP_DEBUG	# Enable pmap_debug_level code
136#options 	IPKDB		# remote kernel debugging
137options 	DDB		# in-kernel debugger
138#options 	DDB_ONPANIC=0	# don't run DDB at panictime
139#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
140#options 	KERNEL_DEBUG	# compile in kernel debugging capability
141#makeoptions	DEBUG="-g"	# compile full symbol table
142
143config		netbsd		root on ? type ffs	# root on miniroot
144
145# The main bus device
146mainbus0 at root
147
148# The boot CPU
149cpu0 at mainbus?
150
151# Open Firmware devices
152ofbus*		at root
153ofbus*		at ofbus?
154#ofdisk* 	at ofbus?
155#ofnet*		at ofbus?	# don't use with cs0
156#ofcons* 	at ofbus?	# don't use with pc0
157ofrtc*		at ofisa?
158ofrom*		at ofbus?
159
160ofisa*		at ofbus?
161ofbus*		at ofisa?
162
163# IDE/ATA disk
164wdc*		at ofisa?
165atabus* 	at wdc? channel ?
166wd*		at atabus? drive ?
167
168atapibus*	at atabus?
169cd*		at atapibus? drive?
170sd*		at atapibus? drive?
171
172# PCCONS@OFW
173ofisapc*	at ofbus?
174pc*		at ofisapc?
175
176# PS/2 Mouse
177opms0		at spckbd? irq 12
178
179# CS8900 Ethernet@OFW
180cs*		at ofisa?
181
182# Serial @OFW
183com*		at ofisa?
184
185# Parallel @OFW
186lpt*		at ofisa?
187
188# Smart Card
189ofisascr*	at ofisa?
190scr*		at ofisascr?
191
192# ESS Sound@OFW
193#ess*		at ofisa?
194#audio*		at ess?
195#opl*		at ess?
196#midi*		at opl?
197
198# Joystick @OFW
199#joy*		at ofisa?
200
201pseudo-device	loop	1		# network loopback
202pseudo-device	bpfilter 8		# packet filter
203#pseudo-device	sl	2		# CSLIP
204#pseudo-device	ppp	2		# PPP
205#pseudo-device	tun	2		# network tunneling over tty
206#pseudo-device	ipfilter 1		# ip filter
207
208pseudo-device	pty			# pseudo-terminals
209#pseudo-device	tb	1		# tablet line discipline
210#pseudo-device	vnd	4		# disk-like interface to files
211#pseudo-device	ccd	2		# concatenated disk devices
212pseudo-device	rnd			# /dev/random and /dev/urandom
213
214pseudo-device	md	1		# Ramdisk driver
215#pseudo-device	profiler 1		# fiq based profiling device
216#pseudo-device	sequencer 1		# MIDI sequencer
217