INSTALL revision 1.53 1 # $NetBSD: INSTALL,v 1.53 2005/08/19 05:19:50 christos Exp $
2 #
3 # CATSINST -- CHALTECH CATS Install kernel
4 #
5
6 include "arch/cats/conf/std.cats"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 8
13
14 # Standard system options
15
16 options INSECURE # disable kernel securelevel
17
18 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
19 #options NTP # NTP phase/frequency locked loop
20
21 # CPU options
22
23 # For StrongARM systems
24 options CPU_SA110 # Support the SA110 core
25 makeoptions COPTS="-Os -march=armv4 -mtune=strongarm" # optimise for space
26
27 # FPA options
28
29 #options ARMFPE # ARM Ltd FPE
30
31 # File systems
32
33 file-system FFS # UFS
34 #file-system LFS # log-structured file system
35 file-system MFS # memory file system
36 file-system NFS # Network file system
37 #file-system ADOSFS # AmigaDOS-compatible file system
38 #file-system EXT2FS # second extended file system (linux)
39 file-system CD9660 # ISO 9660 + Rock Ridge file system
40 file-system MSDOSFS # MS-DOS file system
41 #file-system FDESC # /dev/fd
42 file-system KERNFS # /kern
43 #file-system NULLFS # loopback file system
44 #file-system OVERLAY # overlay filesystem
45 #file-system PORTAL # portal filesystem (still experimental)
46 #file-system PROCFS # /proc
47 #file-system UMAPFS # NULLFS + uid and gid remapping
48 #file-system UNION # union file system
49 #file-system CODA # Coda File System; also needs vcode (below)
50 file-system PTYFS # /dev/pts/N support
51
52 # File system options
53 #options QUOTA # UFS quotas
54 #options FFS_EI # FFS Endian Independant support
55 #options NFSSERVER
56 #options SOFTDEP # FFS soft updates support
57 options VNODE_OP_NOINLINE # Not inlining vnode op calls saves mem
58 options FFS_NO_SNAPSHOT # ffs snapshots
59
60 # Networking options
61
62 #options GATEWAY # packet forwarding
63 options 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_NAT_T # IPsec NAT traversal (NAT-T)
68 #options IPSEC_DEBUG # debug for IP security
69 #options MROUTING # IP multicast routing
70 #options PIM # Protocol Independent Multicast
71 #options NS # XNS
72 #options NSIP # XNS tunneling over IP
73 #options ISO,TPIP # OSI
74 #options EON # OSI tunneling over IP
75 #options CCITT,LLC,HDLC # X.25
76 #options NETATALK # AppleTalk networking
77 #options PFIL_HOOKS # pfil(9) packet filter hooks
78 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
79 #options PPP_DEFLATE # Deflate compression support for PPP
80 #options PPP_FILTER # Active filter support for PPP (requires bpf)
81 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
82
83 options NFS_BOOT_BOOTP
84 options NFS_BOOT_DHCP
85 #options NFS_BOOT_BOOTPARAM
86
87 # Compatibility options
88
89 #options COMPAT_43 # 4.3BSD compatibility.
90 options COMPAT_30 # NetBSD 3.0 compatibility.
91 options COMPAT_20 # NetBSD 2.0 compatibility.
92 options COMPAT_16 # NetBSD 1.6 compatibility.
93 options COMPAT_14 # NetBSD 1.4 compatibility.
94 options COMPAT_13 # NetBSD 1.3 compatibility.
95 #options COMPAT_12 # NetBSD 1.2 compatibility.
96 #options COMPAT_11 # NetBSD 1.1 compatibility.
97 #options COMPAT_10 # NetBSD 1.0 compatibility.
98 #options COMPAT_09 # NetBSD 0.9 compatibility.
99 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
100 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
101
102 # Shared memory options
103
104 #options SYSVMSG # System V-like message queues
105 #options SYSVSEM # System V-like semaphores
106 #options SYSVSHM # System V-like memory sharing
107 #options SHMMAXPGS=1024 # 1024 pages is the default
108
109 # Device options
110
111 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
112 options MEMORY_DISK_ROOT_SIZE=4200 # Size in blocks
113 options MEMORY_DISK_IS_ROOT # use memory disk as root
114 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
115
116 # Miscellaneous kernel options
117 #options KTRACE # system call tracing, a la ktrace(1)
118 #options IRQSTATS # manage IRQ statistics
119 #options LKM # loadable kernel modules
120 #options KMEMSTATS # kernel memory statistics
121 #options SCSIVERBOSE # Verbose SCSI errors
122 #options PCIVERBOSE # Verbose PCI descriptions
123 #options MIIVERBOSE # verbose PHY autoconfig messages
124 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
125 #options USBVERBOSE # verbose USB device autoconfig messages
126 #options DDB_KEYCODE=0x40
127 options USERCONF # userconf(4) support
128 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
129 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
130 options MALLOC_NOINLINE # Not inlining MALLOC saves memory
131
132 # wscons options
133 #options WSEMUL_SUN # sun terminal emulation
134 options WSEMUL_VT100 # VT100 / VT220 emulation
135 # different kernel output - see dev/wscons/wsdisplayvar.h
136 options WS_KERNEL_FG=WSCOL_GREEN
137 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
138 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
139 options WSDISPLAY_COMPAT_USL # VT handling
140 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
141 # see dev/wscons/wskbdmap_mfii.h for implemented layouts
142 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
143
144 # Development and Debugging options
145
146 #options ARM700BUGTRACK # track the ARM700 swi bug
147 #options PORTMASTER # Enable PortMaster only options
148 #options DIAGNOSTIC # internally consistency checks
149 #options PMAP_DEBUG # Enable pmap_debug_level code
150 #options IPKDB # remote kernel debugging
151 options DDB # in-kernel debugger
152 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
153 #makeoptions DEBUG="-g" # compile full symbol table
154
155 config netbsd root on ? type ?
156
157 # The main bus device
158 mainbus0 at root
159
160 # The boot CPU
161 cpu0 at mainbus?
162
163 # Core logic
164 footbridge0 at mainbus?
165
166 # footbridge uart
167 fcom0 at footbridge?
168
169 # system clock via footbridge
170 #clock* at footbridge?
171
172 # time-of-day device via footbridge or RTC
173 todclock0 at todservice?
174
175 # PCI bus support
176 # PCI bus via footbridge
177 pci0 at footbridge? # PCI bus
178
179 pci* at ppb? bus ?
180
181 # PCI bridges
182 ppb* at pci? dev ? function ? # PCI-PCI bridges
183 # XXX 'puc's aren't really bridges, but there's no better place for them here
184 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
185
186 # PCI serial interfaces
187 #com* at puc? port ? # 16x50s on "universal" comm boards
188 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
189
190 # PCI parallel printer interfaces
191 #lpt* at puc? port ? # || ports on "universal" comm boards
192
193 # PCI SCSI Controllers and Buses
194 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI
195 scsibus* at adv?
196 #adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
197 #scsibus* at adw?
198 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
199 scsibus* at ahc?
200 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
201 #scsibus* at bha?
202 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
203 scsibus* at iha?
204 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
205 scsibus* at isp?
206 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
207 scsibus* at pcscp?
208 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
209 scsibus* at siop?
210
211 # SCSI devices
212 sd* at scsibus? target ? lun ? # SCSI disk drives
213 st* at scsibus? target ? lun ? # SCSI tape drives
214 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
215 #ch* at scsibus? target ? lun ? # SCSI auto-changers
216 #uk* at scsibus? target ? lun ? # SCSI unknown device
217 #ss* at scsibus? target ? lun ? # SCSI scanner
218
219 # PCI IDE Controllers and Devices
220 # PCI IDE controllers - see pciide(4) for supported hardware.
221 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
222 # how to set up DMA modes for this chip. This may work, or may cause
223 # a machine hang with some controllers.
224 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
225 acardide* at pci? dev ? function ? # Acard IDE controllers
226 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
227 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
228 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
229 cypide* at pci? dev ? function ? # Cypress IDE controllers
230 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
231 optiide* at pci? dev ? function ? # Opti IDE controllers
232 pdcide* at pci? dev ? function ? # Promise IDE controllers
233 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
234 satalink* at pci? dev ? function ? # SiI SATALink controllers
235 siside* at pci? dev ? function ? # SiS IDE controllers
236 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
237 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
238
239 # ATA (IDE) bus support
240 atabus* at ata?
241
242 # IDE drives
243 # Flags are used only with controllers that support DMA operations
244 # and mode settings (e.g. some pciide controllers)
245 # The lowest order four bits (rightmost digit) of the flags define the PIO
246 # mode to use, the next set of four bits the DMA mode and the third set the
247 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
248 # to use, and the last bit must be 1 for this setting to be used.
249 # For DMA and UDMA, 0xf (1111) means 'disable'.
250 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
251 # (0xc=1100, 0xa=1010, 0xf=1111)
252 # 0x0000 means "use whatever the drive claims to support".
253 wd* at atabus? drive ? flags 0x0000 # the drives themselves
254
255 # ATAPI bus support
256 atapibus* at atapi?
257
258 # ATAPI devices
259 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
260 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
261 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
262
263 # PCI network interfaces
264 #en* at pci? dev ? function ? # ENI/Adaptec ATM
265 ep* at pci? dev ? function ? # 3C590 ethernet cards
266 ex* at pci? dev ? function ? # 3Com 90x[B]
267 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
268 #esh* at pci? dev ? function ? # Essential HIPPI card
269 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
270 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
271 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
272 ne* at pci? dev ? function ? # NE2000 compat ethernet
273 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
274 sip* at pci? dev ? function ? # SiS 900 Ethernet
275 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
276 #de* at pci? dev ? function ? # DECchip 21x4x and clones
277 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
278 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
279 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
280 rtk* at pci? dev ? function ? # Realtek 8129/8139
281
282 # MII/PHY support
283 exphy* at mii? phy ? # 3Com internal PHYs
284 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
285 inphy* at mii? phy ? # Intel 82555 PHYs
286 #iophy* at mii? phy ? # Intel 82553 PHYs
287 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
288 nsphy* at mii? phy ? # NS83840 PHYs
289 #nsphyter* at mii? phy ? # NS83843 PHYs
290 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
291 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
292 #tlphy* at mii? phy ? # ThunderLAN PHYs
293 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
294 ukphy* at mii? phy ? # generic unknown PHYs
295
296 # USB Controller and Devices
297
298 # PCI USB controllers
299 #uhci* at pci? # Universal Host Controller (Intel)
300 #ohci* at pci? # Open Host Controller
301
302 # USB bus support
303 #usb* at uhci?
304 #usb* at ohci?
305
306 # USB Hubs
307 #uhub* at usb?
308 #uhub* at uhub? port ? configuration ? interface ?
309
310 # USB HID device
311 #uhidev* at uhub? port ? configuration ? interface ?
312
313 # USB Mice
314 #ums* at uhidev? reportid ?
315 #wsmouse* at ums?
316
317 # USB Keyboards
318 #ukbd* at uhidev? reportid ?
319 #wskbd* at ukbd? console ?
320
321 # USB serial adpater
322 #ucycom* at uhidev? reportid ?
323
324 # USB Generic HID devices
325 #uhid* at uhidev? reportid ?
326
327 # USB Printer
328 #ulpt* at uhub? port ? configuration ? interface ?
329
330 # USB Modem
331 #umodem* at uhub? port ? configuration ?
332 #ucom* at umodem?
333
334 # USB Mass Storage
335 #umass* at uhub? port ? configuration ? interface ?
336 #atapibus* at umass?
337 #scsibus* at umass? channel ?
338
339 # USB audio
340 #uaudio* at uhub? port ? configuration ?
341 #audio* at uaudio?
342
343 # USB Ethernet adapters
344 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
345 #axe* at uhub? port ? # ASIX AX88172 based adapters
346 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
347 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
348 #url* at uhub? port ? # Realtek RTL8150L based adapters
349
350 # USB Generic driver
351 #ugen* at uhub? port ?
352
353 # Audio Devices
354
355 # PCI audio devices
356 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
357 #sv* at pci? dev ? function ? # S3 SonicVibes
358
359 # Audio support
360 #audio* at eap?
361 #audio* at sv?
362
363 vga* at pci?
364 wsdisplay* at vga? console ?
365
366 # ISA bus bridging
367
368 pcib* at pci? dev ? function ? # PCI-ISA bridge
369 isa* at pcib? # ISA bus
370
371 # ISA Plug-and-Play bus support
372 isapnp0 at isa?
373
374 # wscons
375 pckbc0 at isa? # pc keyboard controller
376 pckbd* at pckbc? # PC keyboard
377 pms* at pckbc? # PS/2 mouse for wsmouse
378 wskbd* at pckbd? console ?
379 wsmouse* at pms?
380
381 attimer0 at isa?
382 pcppi0 at isa?
383 sysbeep0 at pcppi?
384
385 # ISA Plug-and-Play serial interfaces
386 com* at isapnp? # Modems and serial boards
387
388 # ISA Plug-and-Play network interfaces
389 ep* at isapnp? # 3Com 3c509 Ethernet
390 fmv* at isapnp? # Fujitsu FMV-183
391 ne* at isapnp? # NE2000 compat
392
393 # ISA serial interfaces
394 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
395 com1 at isa? port 0x2f8 irq 3
396 #com2 at isa? port 0x3e8 irq 9
397 #com3 at isa? port 0x2e8 irq 10
398
399 # ISA parallel printer interfaces
400 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
401 lpt1 at isa? port 0x278 irq 5
402 #lpt2 at isa? port 0x3bc
403
404 # ISA floppy
405 #fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
406 #fdc1 at isa? port 0x370 irq ? drq ?
407 #fd* at fdc? drive ? # the drives themselves
408
409 # ISA network interface
410 #ne0 at isa? port 0x280 irq 9
411 #ne1 at isa? port 0x300 irq 10
412 #ep* at isa? port ? irq ?
413
414 # The spkr driver provides a simple tone interface to the built in speaker.
415 #spkr0 at pcppi? # PC speaker
416
417 ds1687rtc0 at isa? port 0x72 # Dallas RTC
418
419 # ISA Plug-and-Play audio devices
420 #ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
421 #sb* at isapnp? # SoundBlaster-compatible audio
422 #wss* at isapnp? # Windows Sound System
423
424 # OPL[23] FM syntheziers
425 #opl* at ess?
426 #opl* at sb?
427
428 # Audio support
429 #audio* at ess?
430 #audio* at sb?
431 #audio* at wss?
432
433 # MPU 401 UARTs
434 #mpu* at sb?
435
436 # MIDI support
437 #midi* at pcppi? # MIDI interface to the PC speaker
438 #midi* at sb? # SB MPU401 port
439 #midi* at opl? # OPL FM synth
440 #midi* at mpu? # MPU 401
441
442 # Joysticks
443
444 # ISA Plug-and-Play joysticks
445 #joy* at isapnp? # Game ports (usually on audio cards)
446
447 # ISA joysticks. Probe is a little strange; add only if you have one.
448 #joy0 at isa? port 0x201
449
450 # Pseudo-Devices
451
452 # disk/mass storage pseudo-devices
453 pseudo-device ccd 2 # concatenated/striped disk devices
454 #pseudo-device fss 4 # file system snapshot device
455 pseudo-device md 1 # memory disk device (ramdisk)
456 #pseudo-device vnd 4 # disk-like interface to files
457
458 # network pseudo-devices
459 pseudo-device bpfilter 4 # Berkeley packet filter
460 #pseudo-device ipfilter # IP filter (firewall) and NAT
461 pseudo-device loop # network loopback
462 #pseudo-device ppp 2 # Point-to-Point Protocol
463 #pseudo-device sl 2 # Serial Line IP
464 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
465 #pseudo-device tun 2 # network tunneling over tty
466
467 # miscellaneous pseudo-devices
468 pseudo-device pty # pseudo-terminals
469 #pseudo-device tb 1 # tablet line discipline
470 #pseudo-device sequencer 1 # MIDI sequencer
471 pseudo-device rnd # /dev/random and in-kernel generator
472 #options RND_COM # use "com" randomness as well (BROKEN)
473 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
474
475 # mouse & keyboard multiplexor pseudo-devices
476 pseudo-device wsmux
477 pseudo-device wsfont
478
479 # for IPv6
480 #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
481 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
482