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