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