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