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