LOWMEM_WSCONS revision 1.17
1#	$NetBSD: LOWMEM_WSCONS,v 1.17 2003/09/30 00:35:31 thorpej Exp $
2#
3#	LOWMEM_WSCONS -- RiscPC config with wscons for SMALL machines
4#
5
6include	"arch/acorn32/conf/std.acorn32"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	2
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17#options 	NTP		# NTP phase/frequency locked loop
18
19# CPU options
20options 	CPU_SA110	# Support the SA110 core
21options 	CPU_ARM6	# Support the ARM6 core
22options 	CPU_ARM7	# Support the ARM7 core
23#options 	CPU_ARM8	# Support the ARM8 core
24#options 	ARM6_LATE_ABORT	# ARM6XX late abort support
25
26# For StrongARM only kernels
27#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"
28
29# For small kernels
30makeoptions	COPTS="-Os -fno-inline -Dinline= -D__inline__= -D_inline_= "
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		# Network file system
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
47file-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
55# File system options
56#options 	QUOTA		# UFS quotas
57#options 	NFSSERVER
58
59# Networking options
60
61#options 	GATEWAY		# packet forwarding
62options 	INET		# IP + ICMP + TCP + UDP
63#options 	INET6		# IPV6
64#options 	IPSEC		# IP security
65#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
66#options 	IPSEC_DEBUG	# debug for IP security
67#options 	MROUTING	# IP multicast routing
68#options 	NS		# XNS
69#options 	NSIP		# XNS tunneling over IP
70#options 	ISO,TPIP	# OSI
71#options 	EON		# OSI tunneling over IP
72#options 	CCITT,LLC,HDLC	# X.25
73#options 	NETATALK	# AppleTalk networking
74#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
75#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
76#options 	PPP_DEFLATE	# Deflate compression support for PPP
77#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
78#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
79
80# Compatibility options
81
82options 	COMPAT_43	# 4.3BSD compatibility.
83options 	COMPAT_16	# NetBSD 1.6 compatibility.
84options 	COMPAT_14	# NetBSD 1.4 compatibility.
85options 	COMPAT_13	# NetBSD 1.3 compatibility.
86#options 	COMPAT_12	# NetBSD 1.2 compatibility.
87#options 	COMPAT_11	# NetBSD 1.1 compatibility.
88#options 	COMPAT_10	# NetBSD 1.0 compatibility.
89#options 	COMPAT_09	# NetBSD 0.9 compatibility.
90#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
91
92# Shared memory options
93
94#options 	SYSVMSG		# System V-like message queues
95#options 	SYSVSEM		# System V-like semaphores
96#options 	SYSVSHM		# System V-like memory sharing
97#options 	SHMMAXPGS=1024	# 1024 pages is the default
98
99# Device options
100
101options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
102#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
103#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
104
105# Miscellaneous kernel options
106options 	KTRACE		# system call tracing, a la ktrace(1)
107options 	IRQSTATS	# manage IRQ statistics
108options 	LKM		# loadable kernel modules
109options 	KMEMSTATS	# kernel memory statistics
110options 	USERCONF	# userconf(4) support
111#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
112
113# Development and Debugging options
114
115#options 	ARM700BUGTRACK	# track the ARM700 swi bug
116#options 	PORTMASTER	# Enable PortMaster only options
117#options 	DIAGNOSTIC	# internally consistency checks
118#options 	PMAP_DEBUG	# Enable pmap_debug_level code
119#options 	IPKDB		# remote kernel debugging
120#options 	DDB		# in-kernel debugger
121#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
122#makeoptions	DEBUG="-g"	# compile full symbol table
123
124config		netbsd	root on wd0a type ?
125#config		netbsd	root on ? type ?
126
127# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
128# this really be fixed some day
129#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
130
131# The main bus device
132mainbus0 at root
133
134# The boot cpu
135cpu0 at mainbus?
136
137# The IOMD
138iomd0	at mainbus?
139
140# system clock via IOMD
141clock*	at iomd?
142
143# IIC bus device
144iomdiic* at iomd?
145iic0 at iomdiic?
146
147# RTC device via IIC bus
148pcfrtc*	at iic? addr 0x50
149
150# VIDC device
151vidc0		at mainbus?
152
153# WSCONS
154# ws console uses DUMB, SUN or VT100 terminal emulation
155#options 	WSEMUL_NODUMB
156#options 	WSEMUL_SUN
157options 	WSEMUL_VT100
158
159#options 	WSDISPLAY_COMPAT_RAWKBD
160
161#options 	FONT_BOLD8x16
162#options 	FONT_GALLANT12x22	# Very nice font
163#options 	FONT_LUCIDA16x29
164#options 	FONT_OMRON12x20		# looks funny
165#options 	FONT_QVSS8x15		# broken ?
166options 	FONT_SONY12x25		# looks like VT220 font
167#options 	FONT_SONY8x16		# not tested
168#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
169#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
170#options 	FONT_VT220L8x10		# not tested
171#options 	FONT_VT220L8x20		# not tested
172
173vidcvideo0	at vidc?		# wscons driver for VIDC
174wsdisplay*	at vidcvideo? console ? # display itself
175
176rpckbd*		at iomd?		# based on old `kbd' driver
177wskbd*		at rpckbd?		# wskbd on RiscPC keyboard
178
179wsqms*		at iomd?		# ws quadmouse driver
180wsmouse*	at wsqms?		# wsmouse on ws quadmouse
181
182#pseudo-device	wsmux
183
184# The origional vidcconsole :
185# vidcconsole kbd at IOMD
186# vidcconsole PS2 mouse at IOMD
187#vidcconsole0	at vidc?		# display + vt100 emulation
188#kbd*		at iomd?		# PS/2 keyboard for vidcconsole
189#qms*		at iomd?		# RiscPC mouse for vidcconsole
190#opms*		at iomd?		# A7000/NC? mouse for vidcconsole
191
192# generic VT console device
193#vt0		at vidc?
194#vt1		at vidc?
195#vt2		at vidc?
196#vt3		at vidc?
197#vt4		at vidc?
198#vt5		at vidc?
199
200
201# Peripheral IO Controller
202pioc0	at mainbus? base 0x00210000
203
204# IDE disk controller
205wdc0	at pioc? offset 0x01f0 irq 9
206#wdc*	at pioc? offset 0x0170 irq -1
207wd*	at wdc? channel ? drive ?
208#atapibus* at wdc? channel ?
209#cd*	at atapibus? drive ?
210#sd*	at atapibus? drive ?
211
212# Floppy disk controller
213fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
214fdc*	at pioc? offset 0x0370 irq -1 dack 0x2000
215fd0	at fdc? drive ?
216
217# Serial ports
218com*	at pioc? offset 0x03f8 irq 10
219#com*	at pioc? offset 0x02f8 irq -1
220#com*	at pioc? offset 0x0338 irq -1
221#com*	at pioc? offset 0x0238 irq -1
222
223# Parallel ports
224lpt*	at pioc? offset 0x0278 irq 0
225#lpt*	at pioc? offset 0x0378 irq -1
226#lpt*	at pioc? offset 0x03bc irq -1
227
228# Crude sound device
229beep0	at vidc?
230
231# Audio device
232vidcaudio0	at vidc?
233audio*		at vidcaudio0
234
235# System beep
236sysbeep0	at vidc?
237
238# Podule bus device
239#podulebus0	at root
240
241#asc*	at podulebus?			# Acorn SCSI card
242#scsibus* at asc?
243
244#cosc*	at podulebus?			# MCS Connect32 SCSI II card
245#scsibus* at cosc?
246
247#ptsc*	at podulebus?			# Power-Tec SCSI II card
248#scsibus* at ptsc?
249
250#csc*	at podulebus?			# Cumana SCSI II card
251#scsibus* at csc?
252
253#oak*	at podulebus?			# Oak SCSI I card
254#scsibus* at oak?
255
256#csa*	at podulebus?			# Cumana SCSI I adpater
257#scsibus* at csa?
258
259#hcsc*	at podulebus0 slot ?	# HCCS 8-bit SCSI interface
260#scsibus* at hcsc?
261
262#sd*	at scsibus? target ? lun ?	# SCSI disk drives
263#st*	at scsibus? target ? lun ?	# SCSI tape drives
264#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
265#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
266#uk*	at scsibus? target ? lun ?	# SCSI unknown device
267#ss*	at scsibus? target ? lun ?	# SCSI scanner
268
269#icside*	at podulebus?			# ICS IDE card
270#wd*	at icside? channel ? drive ?
271#atapibus* at icside? channel ?
272
273#rapide*	at podulebus?			# Yellowstone RapIDE card
274#wd*	at rapide? channel ? drive ?
275#atapibus* at rapide? channel ?
276
277#simide*	at podulebus?			# Simtec IDE card
278#wd*	at simide? channel ? drive ?
279#atapibus* at simide? channel ?
280
281#amps*	at podulebus?			# Atomwide Multi-Port Serial card
282#com*	at amps?
283
284#ie*	at podulebus?			# Ether1 podules
285#ea*	at podulebus?			# Ether3 podules
286#eb0	at podulebus?			# EtherB network slot cards
287#ne*	at podulebus?			# NE2000 clone cards
288
289pseudo-device	loop	1		# network loopback
290#pseudo-device	bpfilter 8		# packet filter
291#pseudo-device	sl	2		# CSLIP
292pseudo-device	ppp	2		# PPP
293#pseudo-device	tun	2		# network tunneling over tty
294#pseudo-device	ipfilter 1		# ip filter
295#pseudo-device	strip	4		# STRIP
296pseudo-device	pty			# pseudo-terminals
297#pseudo-device	tb	1		# tablet line discipline
298pseudo-device	vnd	4		# disk-like interface to files
299#pseudo-device	ccd	2		# concatenated disk devices
300pseudo-device	md	1		# Ramdisk driver
301pseudo-device	rnd			# /dev/random and /dev/urandom
302pseudo-device	clockctl		# user control of clock subsystem
303
304makeoptions	MONITOR="Taxan875+LR"
305#makeoptions	MONITOR="AKF60"
306makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
307