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