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