1# $NetBSD: INSTALL,v 1.73 2009/03/06 20:31:47 joerg 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) 50file-system PTYFS # /dev/pts/N support 51 52# File system options 53#options QUOTA # UFS quotas 54#options FFS_EI # FFS Endian Independant support 55#options NFSSERVER 56options WAPBL # File system journaling support - Experimental 57options FFS_NO_SNAPSHOT # No FFS snapshot support 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 ISO,TPIP # OSI 71#options EON # OSI tunneling over IP 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_40 # NetBSD 4.0 compatibility. 87options COMPAT_30 # NetBSD 3.0 compatibility. 88options COMPAT_20 # NetBSD 2.0 compatibility. 89options COMPAT_16 # NetBSD 1.6 compatibility. 90options COMPAT_15 # NetBSD 1.5 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 106# Device options 107 108options MEMORY_DISK_HOOKS # boottime setup of ramdisk 109options MEMORY_DISK_ROOT_SIZE=4200 # Size in blocks 110options MEMORY_DISK_IS_ROOT # use memory disk as root 111options MEMORY_DISK_SERVER=0 # no userspace memory disk support 112options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 113 114# Miscellaneous kernel options 115#options KTRACE # system call tracing, a la ktrace(1) 116#options IRQSTATS # manage IRQ statistics 117#options KMEMSTATS # kernel memory statistics 118#options SCSIVERBOSE # Verbose SCSI errors 119#options PCIVERBOSE # Verbose PCI descriptions 120#options MIIVERBOSE # verbose PHY autoconfig messages 121#options PCI_CONFIG_DUMP # verbosely dump PCI config space 122#options USBVERBOSE # verbose USB device autoconfig messages 123#options DDB_KEYCODE=0x40 124options USERCONF # userconf(4) support 125options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 126#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 127 128# wscons options 129#options WSEMUL_SUN # sun terminal emulation 130options WSEMUL_VT100 # VT100 / VT220 emulation 131# different kernel output - see dev/wscons/wsdisplayvar.h 132options WS_KERNEL_FG=WSCOL_GREEN 133options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 134options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 135options WSDISPLAY_COMPAT_USL # VT handling 136options 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 146options DDB # in-kernel debugger 147options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 148#makeoptions DEBUG="-g" # compile full symbol table 149 150config netbsd root on ? type ? 151 152# The main bus device 153mainbus0 at root 154 155# The boot CPU 156cpu0 at mainbus? 157 158# Core logic 159footbridge0 at mainbus? 160 161# footbridge uart 162fcom0 at footbridge? 163 164# system clock via footbridge 165#clock* at footbridge? 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? 196#isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers 197#scsibus* 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 # GENERIC pciide driver 217acardide* at pci? dev ? function ? # Acard IDE controllers 218aceride* at pci? dev ? function ? # Acer Lab IDE controllers 219artsata* at pci? dev ? function ? # Intel i31244 SATA controller 220cmdide* at pci? dev ? function ? # CMD tech IDE controllers 221cypide* at pci? dev ? function ? # Cypress IDE controllers 222hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 223optiide* at pci? dev ? function ? # Opti IDE controllers 224pdcide* at pci? dev ? function ? # Promise IDE controllers 225pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 226satalink* at pci? dev ? function ? # SiI SATALink controllers 227siside* at pci? dev ? function ? # SiS IDE controllers 228slide* at pci? dev ? function ? # Symphony Labs IDE controllers 229viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 230 231# ATA (IDE) bus support 232atabus* at ata? 233 234# IDE drives 235# Flags are used only with controllers that support DMA operations 236# and mode settings (e.g. some pciide controllers) 237# The lowest order four bits (rightmost digit) of the flags define the PIO 238# mode to use, the next set of four bits the DMA mode and the third set the 239# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 240# to use, and the last bit must be 1 for this setting to be used. 241# For DMA and UDMA, 0xf (1111) means 'disable'. 242# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 243# (0xc=1100, 0xa=1010, 0xf=1111) 244# 0x0000 means "use whatever the drive claims to support". 245wd* at atabus? drive ? flags 0x0000 # the drives themselves 246 247# ATAPI bus support 248atapibus* at atapi? 249 250# ATAPI devices 251cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 252sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 253#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 254 255# PCI network interfaces 256#en* at pci? dev ? function ? # ENI/Adaptec ATM 257ep* at pci? dev ? function ? # 3C590 ethernet cards 258ex* at pci? dev ? function ? # 3Com 90x[B] 259epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 260#esh* at pci? dev ? function ? # Essential HIPPI card 261#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 262fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 263#le* at pci? dev ? function ? # PCnet-PCI Ethernet 264ne* at pci? dev ? function ? # NE2000 compat ethernet 265#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 266sip* at pci? dev ? function ? # SiS 900 Ethernet 267#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 268#de* at pci? dev ? function ? # DECchip 21x4x and clones 269tlp* at pci? dev ? function ? # DECchip 21x4x and clones 270vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 271#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 272rtk* at pci? dev ? function ? # Realtek 8129/8139 273 274# MII/PHY support 275exphy* at mii? phy ? # 3Com internal PHYs 276#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 277inphy* at mii? phy ? # Intel 82555 PHYs 278#iophy* at mii? phy ? # Intel 82553 PHYs 279#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 280nsphy* at mii? phy ? # NS83840 PHYs 281#nsphyter* at mii? phy ? # NS83843 PHYs 282qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 283#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 284#tlphy* at mii? phy ? # ThunderLAN PHYs 285#tqphy* at mii? phy ? # TDK Semiconductor PHYs 286ukphy* at mii? phy ? # generic unknown PHYs 287 288# USB Controller and Devices 289 290# PCI USB controllers 291#uhci* at pci? # Universal Host Controller (Intel) 292#ohci* at pci? # Open Host Controller 293 294# USB bus support 295#usb* at uhci? 296#usb* at ohci? 297 298# USB Hubs 299#uhub* at usb? 300#uhub* at uhub? port ? 301 302# USB HID device 303#uhidev* at uhub? port ? configuration ? interface ? 304 305# USB Mice 306#ums* at uhidev? reportid ? 307#wsmouse* at ums? 308 309# USB Keyboards 310#ukbd* at uhidev? reportid ? 311#wskbd* at ukbd? console ? 312 313# USB serial adapter 314#ucycom* at uhidev? reportid ? 315 316# USB Generic HID devices 317#uhid* at uhidev? reportid ? 318 319# USB Printer 320#ulpt* at uhub? port ? configuration ? interface ? 321 322# USB Modem 323#umodem* at uhub? port ? configuration ? 324#ucom* at umodem? 325 326# USB Mass Storage 327#umass* at uhub? port ? configuration ? interface ? 328#atapibus* at umass? 329#scsibus* at umass? channel ? 330 331# USB audio 332#uaudio* at uhub? port ? configuration ? 333#audio* at uaudio? 334 335# USB Ethernet adapters 336#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 337#axe* at uhub? port ? # ASIX AX88172 based adapters 338#cue* at uhub? port ? # CATC USB-EL1201A based adapters 339#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 340#url* at uhub? port ? # Realtek RTL8150L based adapters 341 342# USB Generic driver 343#ugen* at uhub? port ? 344 345# Audio Devices 346 347# PCI audio devices 348#eap* at pci? dev ? function ? # Ensoniq AudioPCI 349#sv* at pci? dev ? function ? # S3 SonicVibes 350 351# Audio support 352#audio* at eap? 353#audio* at sv? 354 355vga* at pci? 356wsdisplay* at vga? console ? 357 358# ISA bus bridging 359 360pcib* at pci? dev ? function ? # PCI-ISA bridge 361isa* at pcib? # ISA bus 362 363# ISA Plug-and-Play bus support 364isapnp0 at isa? 365 366# wscons 367pckbc0 at isa? # pc keyboard controller 368pckbd* at pckbc? # PC keyboard 369pms* at pckbc? # PS/2 mouse for wsmouse 370wskbd* at pckbd? console ? 371wsmouse* at pms? 372 373attimer0 at isa? 374pcppi0 at isa? 375sysbeep0 at pcppi? 376 377# ISA Plug-and-Play serial interfaces 378com* at isapnp? # Modems and serial boards 379 380# ISA Plug-and-Play network interfaces 381ep* at isapnp? # 3Com 3c509 Ethernet 382fmv* at isapnp? # Fujitsu FMV-183 383ne* at isapnp? # NE2000 compat 384 385# ISA serial interfaces 386com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 387com1 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 392lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 393lpt1 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 409ds1687rtc0 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 445pseudo-device ccd 2 # concatenated/striped disk devices 446#pseudo-device fss 4 # file system snapshot device 447pseudo-device md 1 # memory disk device (ramdisk) 448#pseudo-device vnd # disk-like interface to files 449 450# network pseudo-devices 451pseudo-device bpfilter # Berkeley packet filter 452#pseudo-device ipfilter # IP filter (firewall) and NAT 453pseudo-device loop # network loopback 454#pseudo-device ppp # Point-to-Point Protocol 455#pseudo-device sl # Serial Line IP 456#pseudo-device strip # Starmode Radio IP (Metricom) 457#pseudo-device tun # network tunneling over tty 458 459# miscellaneous pseudo-devices 460pseudo-device pty # pseudo-terminals 461#pseudo-device sequencer 1 # MIDI sequencer 462pseudo-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 467pseudo-device wsmux 468pseudo-device wsfont 469 470# for IPv6 471#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 472#pseudo-device faith # IPv[46] tcp relay translation i/f 473