INSTALL revision 1.37
1#	$NetBSD: INSTALL,v 1.37 2008/05/30 20:10:03 tsutsui 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#file-system	PTYFS		# /dev/pts/N support
59
60# File system options
61#options 	QUOTA		# UFS quotas
62#options 	FFS_EI		# FFS Endian Independant support
63#options 	NFSSERVER
64#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
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 	ISO,TPIP	# OSI
73#options 	EON		# OSI tunneling over IP
74#options 	NETATALK	# AppleTalk networking
75#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
76				# if you enable the pseudo-device ipl).
77
78#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
79#options 	PPP_DEFLATE	# Deflate compression support for PPP
80#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
81options 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
82#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
83
84# Compatibility options
85
86#options 	COMPAT_43	# 4.3BSD compatibility.
87#options 	COMPAT_40	# NetBSD 4.0 compatibility.
88#options 	COMPAT_30	# NetBSD 3.0 compatibility.
89#options 	COMPAT_20	# NetBSD 2.0 compatibility.
90#options 	COMPAT_16	# NetBSD 1.6 compatibility.
91#options 	COMPAT_15	# NetBSD 1.5 compatibility.
92#options 	COMPAT_14	# NetBSD 1.4 compatibility.
93#options 	COMPAT_13	# NetBSD 1.3 compatibility.
94#options 	COMPAT_12	# NetBSD 1.2 compatibility.
95#options 	COMPAT_11	# NetBSD 1.1 compatibility.
96#options 	COMPAT_10	# NetBSD 1.0 compatibility.
97#options 	COMPAT_09	# NetBSD 0.9 compatibility.
98#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
99options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
100
101# Shared memory options
102
103#options 	SYSVMSG		# System V-like message queues
104#options 	SYSVSEM		# System V-like semaphores
105#options 	SYSVSHM		# System V-like memory sharing
106#options 	SHMMAXPGS=1024	# 1024 pages is the default
107
108# Device options
109
110options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
111options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
112options 	MEMORY_DISK_ROOT_SIZE=7000	# Size in blocks (3.5MB)
113
114options 	INSECURE		# disable kernel securelevel
115
116# Use the following to force the serial to always be the console
117# device.  19200 is what the serial gets set up as by the firmware
118# when it hasn't fallen back from PC.  If it has fallen back then
119# the speed will be set at 9600.
120#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
121
122# Miscellaneous kernel options
123#options 	KTRACE		# system call tracing, a la ktrace(1)
124#options 	IRQSTATS	# manage IRQ statistics, XXX temp required
125#options 	LKM		# loadable kernel modules
126#options 	KMEMSTATS	# kernel memory statistics, XXX temp required
127options 	USERCONF	# userconf(4) support
128options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
129#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
130
131# Development and Debugging options
132
133#options 	ARM700BUGTRACK	# track the ARM700 swi bug
134#options 	PORTMASTER	# Enable PortMaster only options
135#options 	DIAGNOSTIC	# internal consistency checks
136#options 	PMAP_DEBUG	# Enable pmap_debug_level code
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
143#
144# wscons options
145#
146# builtin terminal emulations
147#options 	WSEMUL_SUN		# sun terminal emulation
148options 	WSEMUL_VT100		# VT100 / VT220 emulation
149# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
150#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
151#options 	WS_DEFAULT_FG=WSCOL_WHITE
152#options 	WS_DEFAULT_BG=WSCOL_BLACK
153#options 	WS_DEFAULT_COLATTR="(0)"
154#options 	WS_DEFAULT_MONOATTR="(0)"
155#options 	WS_KERNEL_FG=WSCOL_GREEN
156#options 	WS_KERNEL_BG=WSCOL_BLACK
157#options 	WS_KERNEL_COLATTR=""
158#options 	WS_KERNEL_MONOATTR=""
159# customization of console border color
160#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
161#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
162# compatibility to other console drivers
163#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
164#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
165#options 	WSDISPLAY_COMPAT_USL		# VT handling
166#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
167# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
168#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
169#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
170# allocate a number of virtual screens at autoconfiguration time
171#options 	WSDISPLAY_DEFAULTSCREENS=4
172# use a large software cursor that doesn't blink
173#options 	PCDISPLAY_SOFTCURSOR
174# modify the screen type of the console; defaults to "80x25"
175#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
176# console scrolling support.
177#options 	WSDISPLAY_SCROLLSUPPORT
178# enable VGA raster mode capable of displaying multilingual text on console
179#options 	VGA_RASTERCONSOLE
180
181config		netbsd		root on ? type ffs	# root on miniroot
182
183# The main bus device
184mainbus0 at root
185
186# The boot CPU
187cpu0 at mainbus?
188
189# Open Firmware devices
190ofbus*		at root
191ofbus*		at ofbus?
192#ofdisk* 	at ofbus?
193#ofnet*		at ofbus?	# don't use with cs0
194#ofcons* 	at ofbus?	# don't use with pc0
195ofrtc*		at ofisa?
196ofrom*		at ofbus?
197
198ofisa*		at ofbus?
199ofbus*		at ofisa?
200
201# IDE/ATA disk
202wdc*		at ofisa?
203atabus* 	at wdc? channel ?
204wd*		at atabus? drive ?
205
206atapibus*	at atabus?
207cd*		at atapibus? drive?
208sd*		at atapibus? drive?
209
210# PCCONS@OFW
211#ofisapc*	at ofbus?
212#pc*		at ofisapc?
213
214# PS/2 Mouse
215#opms0		at spckbd? irq 12
216
217# wscons
218pckbc*		at ofisa?
219pckbd*		at pckbc?
220#pms*		at pckbc?
221vga*		at ofbus?
222#igsfb*		at ofbus?
223wsdisplay*	at wsemuldisplaydev?
224wskbd*		at pckbd? console ?
225#wsmouse*	at pms? mux 0
226
227# CS8900 Ethernet@OFW
228cs*		at ofisa?
229
230# Serial @OFW
231com*		at ofisa?
232
233# Parallel @OFW
234lpt*		at ofisa?
235
236# Smart Card
237ofisascr*	at ofisa?
238scr*		at ofisascr?
239
240# ESS Sound@OFW
241#ess*		at ofisa?
242#audio*		at ess?
243#opl*		at ess?
244#midi*		at opl?
245
246# Joystick @OFW
247#joy*		at ofisa?
248
249pseudo-device	loop	1		# network loopback
250pseudo-device	bpfilter		# packet filter
251#pseudo-device	sl			# CSLIP
252#pseudo-device	ppp			# PPP
253#pseudo-device	tun			# network tunneling over tty
254#pseudo-device	ipfilter 1		# ip filter
255
256pseudo-device	pty			# pseudo-terminals
257#pseudo-device	vnd			# disk-like interface to files
258#pseudo-device	ccd	2		# concatenated disk devices
259#pseudo-device	fss	4		# file system snapshot device
260pseudo-device	rnd			# /dev/random and /dev/urandom
261
262pseudo-device	md	1		# Ramdisk driver
263#pseudo-device	profiler 1		# fiq based profiling device
264#pseudo-device	sequencer 1		# MIDI sequencer
265pseudo-device	wsmux			# mouse & keyboard multiplexor
266#pseudo-device	wsfont
267