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