INSTALL revision 1.62
1# $NetBSD: INSTALL,v 1.62 2017/02/19 07:47:01 rin Exp $ 2# 3# INSTALL -- Installation kernel 4# 5 6include "arch/prep/conf/std.prep" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10makeoptions COPTS="-Os" # Reduce size. 11 12# Enable the hooks used for initializing the ram-disk. 13options MEMORY_DISK_HOOKS 14options MEMORY_DISK_IS_ROOT # Force root on ram-disk 15options MEMORY_DISK_ROOT_SIZE=4096 # 2mb 16options MEMORY_DISK_SERVER=0 # don't need for install 17options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 18 19maxusers 8 20 21# Platform support 22options PIC_OPENPIC # OpenPIC support (7043-140) 23options PIC_PREPIVR 24options PIC_I8259 25 26# Compatibility options 27#options COMPAT_43 # 4.3BSD binary compatibility. 28#options COMPAT_13 # NetBSD 1.3, 29#options COMPAT_14 # NetBSD 1.4, 30#options COMPAT_15 # NetBSD 1.5, and 31#options COMPAT_16 # NetBSD 1.6 binary compatibility. 32options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 33 34# File systems 35file-system FFS # UFS 36#file-system EXT2FS # second extended file system (linux) 37file-system MFS # memory file system 38file-system NFS # Network File System client 39file-system CD9660 # ISO 9660 + Rock Ridge file system 40file-system MSDOSFS # MS-DOS file system 41#file-system PTYFS # /dev/pts/N support 42 43# File system options 44#options DISKLABEL_EI # disklabel Endian Independent support 45#options FFS_EI # FFS Endian Independent support 46options FFS_NO_SNAPSHOT # No FFS snapshot support 47#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 48 # immutable) behave as system flags. 49options WAPBL # File system journaling support 50 51#options USERCONF # userconf(4) support 52options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 53#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 54options NFS_V2_ONLY # Exclude NFS3 code to save space 55 56# Networking options 57options INET # IP + ICMP + TCP + UDP 58#options NFS_BOOT_BOOTPARAM 59#options NFS_BOOT_DHCP 60 61# 62# wscons options 63# 64# builtin terminal emulations 65options WSEMUL_VT100 # VT100 / VT220 emulation 66options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 67# different kernel output - see dev/wscons/wsdisplayvar.h 68options WS_KERNEL_FG=WSCOL_GREEN 69#options WS_KERNEL_BG=WSCOL_BLACK 70# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 71#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 72# allocate a number of virtual screens at autoconfiguration time 73#options WSDISPLAY_DEFAULTSCREENS=4 74# use a large software cursor that doesn't blink 75options PCDISPLAY_SOFTCURSOR 76 77# Kernel root file system and dump configuration. 78config netbsd root on ? type ? 79 80# 81# Device configuration 82# 83 84mainbus0 at root 85cpu0 at mainbus0 86 87# Basic Bus Support 88 89# PCI bus support 90pci0 at mainbus0 bus ? 91pci* at pchb? bus ? 92pci* at ppb? bus ? 93 94# PCI bridges 95pchb* at pci? dev ? function ? # PCI-Host bridges 96pcib* at pci? dev ? function ? # PCI-ISA bridges 97ppb* at pci? dev ? function ? # PCI-PCI bridges 98pceb* at pci? dev ? function ? # PCI-EISA bridges 99 100# EISA bus support 101eisa* at pceb? 102 103# ISA bus support 104isa* at pcib? # ISA on PCI-ISA bridge 105isa* at pceb? 106 107# PCMCIA bus support 108pcmcia* at pcic? controller ? socket ? 109 110# ISA PCMCIA controllers 111pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 112 113#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14 114#options PCIC_ISA_ALLOC_IOBASE=0x0400 115#options PCIC_ISA_ALLOC_IOSIZE=0x0100 116 117# ISA Plug-and-Play bus support 118#isapnp0 at isa? 119 120# PNP bus device for attaching objects descibed in the residual 121pnpbus0 at mainbus0 122 123# Console Devices 124 125# wscons 126pckbc0 at isa? # pc keyboard controller 127pckbd* at pckbc? # PC keyboard 128#pms* at pckbc? # PS/2 mouse for wsmouse 129vga* at pci? 130wsdisplay* at vga? console ? 131wskbd* at pckbd? console ? 132#wsmouse* at pms? mux 0 133 134mcclock* at pnpbus? # mc146818 and compatible 135mkclock* at pnpbus? # mk48t18 and compatible 136nvram* at pnpbus? 137 138# Serial Devices 139 140# ISA serial interfaces 141com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 142com1 at isa? port 0x2f8 irq 3 143 144# Parallel Printer Interfaces 145 146# ISA parallel printer interfaces 147#lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 148 149 150# SCSI Controllers and Devices 151 152# PCI SCSI controllers 153#adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 154#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 155#esiop* at pci? dev ? function ? # Symbios 53c825/875 and newer chips 156#iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 157#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 158siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 159 160# PCMCIA SCSI controllers 161#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 162 163# SCSI bus support 164#scsibus* at adw? 165#scsibus* at ahc? 166#scsibus* at aic? 167#scsibus* at esiop? 168#scsibus* at iha? 169#scsibus* at pcscp? 170scsibus* at siop? 171 172# SCSI devices 173sd* at scsibus? target ? lun ? # SCSI disk drives 174st* at scsibus? target ? lun ? # SCSI tape drives 175cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 176 177 178# IDE and related devices 179 180# IDE controller found on most Power Personal machines 181wdc* at pnpbus? 182 183# PCI IDE controllers 184pciide* at pci? dev ? function ? flags 0x0000 185hptide* at pci? dev ? function ? 186slide* at pci? dev ? function ? 187 188# PCMCIA IDE controllers 189#wdc* at pcmcia? function ? 190 191# ATA (IDE) bus support 192atabus* at ata? 193 194# IDE drives 195# Flags are used only with controllers that support DMA operations 196# and mode settings (e.g. some pciide controllers) 197# The lowest order four bits (rightmost digit) of the flags define the PIO 198# mode to use, the next set of four bits the DMA mode and the third set the 199# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 200# to use, and the last bit must be 1 for this setting to be used. 201# For DMA and UDMA, 0xf (1111) means 'disable'. 202# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 203# (0xc=1100, 0xa=1010, 0xf=1111) 204# 0x0000 means "use whatever the drive claims to support". 205wd* at atabus? drive ? flags 0x0000 206 207# ATAPI bus support 208atapibus* at atapi? 209 210# ATAPI devices 211# flags have the same meaning as for IDE drives. 212cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 213sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 214 215# Miscellaneous mass storage devices 216 217# ISA floppy 218#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 219#fd* at fdc? drive ? 220 221# Network Interfaces 222 223# PCI network interfaces 224ep* at pci? dev ? function ? # 3Com 3c59x 225ex* at pci? dev ? function ? # 3Com 3c90x[BC] 226fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 227ne* at pci? dev ? function ? # NE2000-compatible Ethernet 228pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 229rtk* at pci? dev ? function ? # Realtek 8129/8139 230sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 231tlp* at pci? dev ? function ? # DECchip 21x4x and clones 232vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 233 234# ISA network interfaces 235#ep* at isa? port ? irq ? # 3Com 3c509 Ethernet 236we1 at isa? port 0x300 iomem 0xe4000 irq 11 # WD/SMC Ethernet 237 238# ISA Plug-and-Play network intefaces 239#ep* at isapnp? # 3Com 3c509 Ethernet 240#ne* at isapnp? # NE2000-compatible Ethernet 241 242# PCMCIA network interfaces 243ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 244ne* at pcmcia? function ? # NE2000-compatible Ethernet 245 246# MII/PHY support 247dmphy* at mii? phy ? # Davicom DM9101 PHYs 248exphy* at mii? phy ? # 3Com internal PHYs 249icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 250inphy* at mii? phy ? # Intel 82555 PHYs 251iophy* at mii? phy ? # Intel 82553 PHYs 252lxtphy* at mii? phy ? # Level One LXT-970 PHYs 253nsphy* at mii? phy ? # NS83840 PHYs 254nsphyter* at mii? phy ? # NS83843 PHYs 255qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 256sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 257tlphy* at mii? phy ? # ThunderLAN PHYs 258tqphy* at mii? phy ? # TDK Semiconductor PHYs 259ukphy* at mii? phy ? # generic unknown PHYs 260 261# Pull in optional local configuration 262include "arch/prep/conf/INSTALL.local" 263 264# Pseudo-Devices 265 266# disk/mass storage pseudo-devices 267pseudo-device md # memory disk device (ramdisk) 268#pseudo-device fss # file system snapshot device 269pseudo-device raid # RAIDframe disk driver 270options RAID_AUTOCONFIG # auto-configuration of RAID components 271 272# network pseudo-devices 273pseudo-device loop # network loopback 274 275# miscellaneous pseudo-devices 276pseudo-device pty # pseudo-terminals 277#options RND_COM # use "com" randomness as well 278