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