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