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