LOWMEM_WSCONS revision 1.59
1#	$NetBSD: LOWMEM_WSCONS,v 1.59 2012/12/06 06:25:24 msaitoh 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# File systems
33
34file-system	FFS		# UFS
35#file-system	LFS		# log-structured file system
36file-system	MFS		# memory file system
37file-system	NFS		# Network file system
38#file-system 	ADOSFS		# AmigaDOS-compatible file system
39#file-system 	EXT2FS		# second extended file system (linux)
40#file-system	CD9660		# ISO 9660 + Rock Ridge file system
41#file-system	MSDOSFS		# MS-DOS file system
42#file-system	FDESC		# /dev/fd
43file-system	FILECORE	# Acorn filecore file system
44file-system	KERNFS		# /kern
45#file-system	NULLFS		# loopback file system
46#file-system	PROCFS		# /proc
47#file-system	UMAPFS		# NULLFS + uid and gid remapping
48#file-system	UNION		# union file system
49file-system	PTYFS		# /dev/pts/N support
50
51# File system options
52#options 	QUOTA		# legacy UFS quotas
53#options 	QUOTA2		# new, in-filesystem UFS quotas
54#options 	NFSSERVER
55options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
56
57# Networking options
58
59#options 	GATEWAY		# packet forwarding
60options 	INET		# IP + ICMP + TCP + UDP
61#options 	INET6		# IPV6
62#options 	IPSEC		# IP security
63#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
64#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
65#options 	IPSEC_DEBUG	# debug for IP security
66#options 	MROUTING	# IP multicast routing
67#options 	PIM		# Protocol Independent Multicast
68#options 	ISO,TPIP	# OSI
69#options 	EON		# OSI tunneling over IP
70#options 	NETATALK	# AppleTalk networking
71#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
72#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
73#options 	PPP_DEFLATE	# Deflate compression support for PPP
74#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
75#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
76
77# Compatibility options
78
79options 	COMPAT_43	# 4.3BSD compatibility.
80options 	COMPAT_40	# NetBSD 4.0 compatibility.
81options 	COMPAT_30	# NetBSD 3.0 compatibility.
82options 	COMPAT_20	# NetBSD 2.0 compatibility.
83options 	COMPAT_16	# NetBSD 1.6 compatibility.
84options 	COMPAT_15	# NetBSD 1.5 compatibility.
85options 	COMPAT_14	# NetBSD 1.4 compatibility.
86options 	COMPAT_13	# NetBSD 1.3 compatibility.
87#options 	COMPAT_12	# NetBSD 1.2 compatibility.
88#options 	COMPAT_11	# NetBSD 1.1 compatibility.
89#options 	COMPAT_10	# NetBSD 1.0 compatibility.
90#options 	COMPAT_09	# NetBSD 0.9 compatibility.
91#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
92options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
93
94# Shared memory options
95
96#options 	SYSVMSG		# System V-like message queues
97#options 	SYSVSEM		# System V-like semaphores
98#options 	SYSVSHM		# System V-like memory sharing
99
100# Device options
101
102options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
103#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
104#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
105
106# Miscellaneous kernel options
107options 	KTRACE		# system call tracing, a la ktrace(1)
108options 	IRQSTATS	# manage IRQ statistics
109options 	KMEMSTATS	# kernel memory statistics
110options 	USERCONF	# userconf(4) support
111#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
112#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
113
114# Development and Debugging options
115
116#options 	ARM700BUGTRACK	# track the ARM700 swi bug
117#options 	PORTMASTER	# Enable PortMaster only options
118#options 	DIAGNOSTIC	# internally consistency checks
119#options 	PMAP_DEBUG	# Enable pmap_debug_level code
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#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
161
162#options 	FONT_BOLD8x16
163#options 	FONT_GALLANT12x22	# Very nice font
164#options 	FONT_LUCIDA16x29
165#options 	FONT_OMRON12x20		# looks funny
166#options 	FONT_QVSS8x15		# broken ?
167options 	FONT_SONY12x25		# looks like VT220 font
168#options 	FONT_SONY8x16		# not tested
169#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
170#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
171#options 	FONT_VT220L8x10		# not tested
172#options 	FONT_VT220L8x20		# not tested
173
174vidcvideo0	at vidc?		# wscons driver for VIDC
175wsdisplay*	at vidcvideo? console ? # display itself
176
177iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
178
179pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
180options 	PCKBD_LAYOUT=KB_UK
181wskbd*		at pckbd?
182
183pms*		at iomdkbc? slot ?	# PS/2 mouse
184wsmouse*	at pms?
185
186qms*		at iomd?		# ws quadmouse driver
187wsmouse*	at qms?			# wsmouse on ws quadmouse
188
189pseudo-device	wsmux
190
191
192# Peripheral IO Controller
193pioc0	at mainbus? base 0x00210000
194
195# IDE disk controller
196wdc0	at pioc? offset 0x01f0 irq 9
197#wdc*	at pioc? offset 0x0170 irq -1
198
199# ATA (IDE) bus support
200atabus* at ata?
201
202wd*	at atabus? drive ?
203#atapibus* at atapi?
204#cd*	at atapibus? drive ?
205#sd*	at atapibus? drive ?
206
207# Floppy disk controller
208fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
209fdc*	at pioc? offset 0x0370 irq -1 dack 0x2000
210fd0	at fdc? drive ?
211
212# Serial ports
213com*	at pioc? offset 0x03f8 irq 10
214#com*	at pioc? offset 0x02f8 irq -1
215#com*	at pioc? offset 0x0338 irq -1
216#com*	at pioc? offset 0x0238 irq -1
217
218# Parallel ports
219lpt*	at pioc? offset 0x0278 irq 0
220#lpt*	at pioc? offset 0x0378 irq -1
221#lpt*	at pioc? offset 0x03bc irq -1
222
223# Audio device
224vidcaudio0	at vidc?
225audio*		at vidcaudio0
226
227# Podule bus device
228#podulebus0	at root
229
230#sec*	at podulebus?			# Acorn SCSI card
231#scsibus* at sec?
232
233#cosc*	at podulebus?			# MCS Connect32 SCSI II card
234#scsibus* at cosc?
235
236#ptsc*	at podulebus?			# Power-Tec SCSI II card
237#scsibus* at ptsc?
238
239#csc*	at podulebus?			# Cumana SCSI II card
240#scsibus* at csc?
241
242#oak*	at podulebus?			# Oak SCSI I card
243#scsibus* at oak?
244
245#csa*	at podulebus?			# Cumana SCSI I adapter
246#scsibus* at csa?
247
248#hcsc*	at podulebus0 slot ?	# HCCS 8-bit SCSI interface
249#scsibus* at hcsc?
250
251#sd*	at scsibus? target ? lun ?	# SCSI disk drives
252#st*	at scsibus? target ? lun ?	# SCSI tape drives
253#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
254#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
255#uk*	at scsibus? target ? lun ?	# SCSI unknown device
256#ss*	at scsibus? target ? lun ?	# SCSI scanner
257
258#icside*	at podulebus?			# ICS IDE card
259
260#rapide*	at podulebus?			# Yellowstone RapIDE card
261
262#simide*	at podulebus?			# Simtec IDE card
263
264#amps*	at podulebus?			# Atomwide Multi-Port Serial card
265#com*	at amps?
266
267#ei*	at podulebus?			# Ether1 podules
268#ea*	at podulebus?			# Ether3 podules
269#eb0	at podulebus?			# EtherB network slot cards
270#ne*	at podulebus?			# NE2000 clone cards
271
272pseudo-device	loop			# network loopback
273#pseudo-device	bpfilter		# packet filter
274#pseudo-device	sl			# CSLIP
275pseudo-device	ppp			# PPP
276#pseudo-device	tun			# network tunneling over tty
277#pseudo-device	ipfilter		# ip filter
278#pseudo-device	strip			# STRIP
279pseudo-device	pty			# pseudo-terminals
280pseudo-device	vnd			# disk-like interface to files
281#pseudo-device	ccd	2		# concatenated disk devices
282#pseudo-device	fss			# file system snapshot device
283pseudo-device	md			# Ramdisk driver
284pseudo-device	clockctl		# user control of clock subsystem
285
286# If the standard modes don't work for your monitor, you can specify
287# a RISC-OS-format monitor definition file and a list of modes here.
288
289#makeoptions	MONITOR="Taxan875+LR"
290#makeoptions	MONITOR="AKF60"
291#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
292