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