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