INSTALL revision 1.62
11.62Srin# $NetBSD: INSTALL,v 1.62 2017/02/19 07:47:01 rin Exp $ 21.1Snonaka# 31.1Snonaka# INSTALL -- Installation kernel 41.1Snonaka# 51.1Snonaka 61.1Snonakainclude "arch/prep/conf/std.prep" 71.17Satatat 81.17Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Snonaka 101.60Sjoergmakeoptions COPTS="-Os" # Reduce size. 111.1Snonaka 121.1Snonaka# Enable the hooks used for initializing the ram-disk. 131.1Snonakaoptions MEMORY_DISK_HOOKS 141.1Snonakaoptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 151.44Sgarbledoptions MEMORY_DISK_ROOT_SIZE=4096 # 2mb 161.50Stsutsuioptions MEMORY_DISK_SERVER=0 # don't need for install 171.52Sjymoptions MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 181.1Snonaka 191.1Snonakamaxusers 8 201.18Snonaka 211.18Snonaka# Platform support 221.49Sgarbledoptions PIC_OPENPIC # OpenPIC support (7043-140) 231.50Stsutsuioptions PIC_PREPIVR 241.50Stsutsuioptions PIC_I8259 251.20Snonaka 261.1Snonaka# Compatibility options 271.61Sdholland#options COMPAT_43 # 4.3BSD binary compatibility. 281.27Snonaka#options COMPAT_13 # NetBSD 1.3, 291.27Snonaka#options COMPAT_14 # NetBSD 1.4, 301.61Sdholland#options COMPAT_15 # NetBSD 1.5, and 311.61Sdholland#options COMPAT_16 # NetBSD 1.6 binary compatibility. 321.50Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 331.1Snonaka 341.1Snonaka# File systems 351.1Snonakafile-system FFS # UFS 361.38Sgarbled#file-system EXT2FS # second extended file system (linux) 371.1Snonakafile-system MFS # memory file system 381.1Snonakafile-system NFS # Network File System client 391.1Snonakafile-system CD9660 # ISO 9660 + Rock Ridge file system 401.1Snonakafile-system MSDOSFS # MS-DOS file system 411.34Schristos#file-system PTYFS # /dev/pts/N support 421.1Snonaka 431.1Snonaka# File system options 441.62Srin#options DISKLABEL_EI # disklabel Endian Independent support 451.55Swiz#options FFS_EI # FFS Endian Independent support 461.41Sgarbledoptions FFS_NO_SNAPSHOT # No FFS snapshot support 471.1Snonaka#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 481.1Snonaka # immutable) behave as system flags. 491.57Sdhollandoptions WAPBL # File system journaling support 501.10Sjdolecek 511.27Snonaka#options USERCONF # userconf(4) support 521.21Sabsoptions PIPE_SOCKETPAIR # smaller, but slower pipe(2) 531.28Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 541.50Stsutsuioptions NFS_V2_ONLY # Exclude NFS3 code to save space 551.1Snonaka 561.1Snonaka# Networking options 571.1Snonakaoptions INET # IP + ICMP + TCP + UDP 581.38Sgarbled#options NFS_BOOT_BOOTPARAM 591.38Sgarbled#options NFS_BOOT_DHCP 601.1Snonaka 611.9Ssoren# 621.9Ssoren# wscons options 631.9Ssoren# 641.9Ssoren# builtin terminal emulations 651.9Ssorenoptions WSEMUL_VT100 # VT100 / VT220 emulation 661.58Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 671.9Ssoren# different kernel output - see dev/wscons/wsdisplayvar.h 681.9Ssorenoptions WS_KERNEL_FG=WSCOL_GREEN 691.9Ssoren#options WS_KERNEL_BG=WSCOL_BLACK 701.39Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 711.9Ssoren#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 721.9Ssoren# allocate a number of virtual screens at autoconfiguration time 731.9Ssoren#options WSDISPLAY_DEFAULTSCREENS=4 741.9Ssoren# use a large software cursor that doesn't blink 751.9Ssorenoptions PCDISPLAY_SOFTCURSOR 761.9Ssoren 771.1Snonaka# Kernel root file system and dump configuration. 781.1Snonakaconfig netbsd root on ? type ? 791.1Snonaka 801.1Snonaka# 811.1Snonaka# Device configuration 821.1Snonaka# 831.1Snonaka 841.1Snonakamainbus0 at root 851.1Snonakacpu0 at mainbus0 861.1Snonaka 871.1Snonaka# Basic Bus Support 881.1Snonaka 891.1Snonaka# PCI bus support 901.1Snonakapci0 at mainbus0 bus ? 911.1Snonakapci* at pchb? bus ? 921.20Snonakapci* at ppb? bus ? 931.1Snonaka 941.1Snonaka# PCI bridges 951.1Snonakapchb* at pci? dev ? function ? # PCI-Host bridges 961.1Snonakapcib* at pci? dev ? function ? # PCI-ISA bridges 971.20Snonakappb* at pci? dev ? function ? # PCI-PCI bridges 981.37Sgarbledpceb* at pci? dev ? function ? # PCI-EISA bridges 991.37Sgarbled 1001.37Sgarbled# EISA bus support 1011.37Sgarbledeisa* at pceb? 1021.1Snonaka 1031.1Snonaka# ISA bus support 1041.1Snonakaisa* at pcib? # ISA on PCI-ISA bridge 1051.37Sgarbledisa* at pceb? 1061.1Snonaka 1071.1Snonaka# PCMCIA bus support 1081.44Sgarbledpcmcia* at pcic? controller ? socket ? 1091.1Snonaka 1101.1Snonaka# ISA PCMCIA controllers 1111.44Sgarbledpcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 1121.1Snonaka 1131.1Snonaka#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14 1141.1Snonaka#options PCIC_ISA_ALLOC_IOBASE=0x0400 1151.1Snonaka#options PCIC_ISA_ALLOC_IOSIZE=0x0100 1161.1Snonaka 1171.1Snonaka# ISA Plug-and-Play bus support 1181.27Snonaka#isapnp0 at isa? 1191.1Snonaka 1201.37Sgarbled# PNP bus device for attaching objects descibed in the residual 1211.37Sgarbledpnpbus0 at mainbus0 1221.19Snonaka 1231.1Snonaka# Console Devices 1241.1Snonaka 1251.9Ssoren# wscons 1261.9Ssorenpckbc0 at isa? # pc keyboard controller 1271.9Ssorenpckbd* at pckbc? # PC keyboard 1281.27Snonaka#pms* at pckbc? # PS/2 mouse for wsmouse 1291.9Ssorenvga* at pci? 1301.9Ssorenwsdisplay* at vga? console ? 1311.9Ssorenwskbd* at pckbd? console ? 1321.27Snonaka#wsmouse* at pms? mux 0 1331.1Snonaka 1341.44Sgarbledmcclock* at pnpbus? # mc146818 and compatible 1351.44Sgarbledmkclock* at pnpbus? # mk48t18 and compatible 1361.44Sgarblednvram* at pnpbus? 1371.1Snonaka 1381.1Snonaka# Serial Devices 1391.1Snonaka 1401.1Snonaka# ISA serial interfaces 1411.1Snonakacom0 at isa? port 0x3f8 irq 4 # standard PC serial ports 1421.1Snonakacom1 at isa? port 0x2f8 irq 3 1431.1Snonaka 1441.1Snonaka# Parallel Printer Interfaces 1451.1Snonaka 1461.1Snonaka# ISA parallel printer interfaces 1471.27Snonaka#lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 1481.1Snonaka 1491.1Snonaka 1501.1Snonaka# SCSI Controllers and Devices 1511.1Snonaka 1521.1Snonaka# PCI SCSI controllers 1531.27Snonaka#adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 1541.27Snonaka#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 1551.27Snonaka#esiop* at pci? dev ? function ? # Symbios 53c825/875 and newer chips 1561.27Snonaka#iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 1571.27Snonaka#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 1581.3Snonakasiop* at pci? dev ? function ? # Symbios 53c8xx SCSI 1591.1Snonaka 1601.1Snonaka# PCMCIA SCSI controllers 1611.27Snonaka#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 1621.1Snonaka 1631.1Snonaka# SCSI bus support 1641.27Snonaka#scsibus* at adw? 1651.27Snonaka#scsibus* at ahc? 1661.27Snonaka#scsibus* at aic? 1671.27Snonaka#scsibus* at esiop? 1681.27Snonaka#scsibus* at iha? 1691.27Snonaka#scsibus* at pcscp? 1701.3Snonakascsibus* at siop? 1711.1Snonaka 1721.1Snonaka# SCSI devices 1731.1Snonakasd* at scsibus? target ? lun ? # SCSI disk drives 1741.1Snonakast* at scsibus? target ? lun ? # SCSI tape drives 1751.1Snonakacd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1761.1Snonaka 1771.1Snonaka 1781.1Snonaka# IDE and related devices 1791.19Snonaka 1801.37Sgarbled# IDE controller found on most Power Personal machines 1811.37Sgarbledwdc* at pnpbus? 1821.19Snonaka 1831.45Sgarbled# PCI IDE controllers 1841.45Sgarbledpciide* at pci? dev ? function ? flags 0x0000 1851.45Sgarbledhptide* at pci? dev ? function ? 1861.48Sgarbledslide* at pci? dev ? function ? 1871.45Sgarbled 1881.1Snonaka# PCMCIA IDE controllers 1891.27Snonaka#wdc* at pcmcia? function ? 1901.1Snonaka 1911.25Slukem# ATA (IDE) bus support 1921.25Slukematabus* at ata? 1931.24Sbouyer 1941.1Snonaka# IDE drives 1951.1Snonaka# Flags are used only with controllers that support DMA operations 1961.1Snonaka# and mode settings (e.g. some pciide controllers) 1971.1Snonaka# The lowest order four bits (rightmost digit) of the flags define the PIO 1981.1Snonaka# mode to use, the next set of four bits the DMA mode and the third set the 1991.1Snonaka# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2001.1Snonaka# to use, and the last bit must be 1 for this setting to be used. 2011.1Snonaka# For DMA and UDMA, 0xf (1111) means 'disable'. 2021.1Snonaka# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2031.1Snonaka# (0xc=1100, 0xa=1010, 0xf=1111) 2041.1Snonaka# 0x0000 means "use whatever the drive claims to support". 2051.24Sbouyerwd* at atabus? drive ? flags 0x0000 2061.1Snonaka 2071.1Snonaka# ATAPI bus support 2081.25Slukematapibus* at atapi? 2091.1Snonaka 2101.1Snonaka# ATAPI devices 2111.1Snonaka# flags have the same meaning as for IDE drives. 2121.1Snonakacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2131.1Snonakasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2141.1Snonaka 2151.1Snonaka# Miscellaneous mass storage devices 2161.1Snonaka 2171.1Snonaka# ISA floppy 2181.27Snonaka#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 2191.27Snonaka#fd* at fdc? drive ? 2201.1Snonaka 2211.1Snonaka# Network Interfaces 2221.1Snonaka 2231.1Snonaka# PCI network interfaces 2241.44Sgarbledep* at pci? dev ? function ? # 3Com 3c59x 2251.44Sgarbledex* at pci? dev ? function ? # 3Com 3c90x[BC] 2261.44Sgarbledfxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 2271.44Sgarbledne* at pci? dev ? function ? # NE2000-compatible Ethernet 2281.7Stsutsuipcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 2291.44Sgarbledrtk* at pci? dev ? function ? # Realtek 8129/8139 2301.44Sgarbledsip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 2311.15Smycrofttlp* at pci? dev ? function ? # DECchip 21x4x and clones 2321.44Sgarbledvr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 2331.1Snonaka 2341.5Snonaka# ISA network interfaces 2351.27Snonaka#ep* at isa? port ? irq ? # 3Com 3c509 Ethernet 2361.37Sgarbledwe1 at isa? port 0x300 iomem 0xe4000 irq 11 # WD/SMC Ethernet 2371.5Snonaka 2381.1Snonaka# ISA Plug-and-Play network intefaces 2391.27Snonaka#ep* at isapnp? # 3Com 3c509 Ethernet 2401.27Snonaka#ne* at isapnp? # NE2000-compatible Ethernet 2411.1Snonaka 2421.1Snonaka# PCMCIA network interfaces 2431.44Sgarbledep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 2441.44Sgarbledne* at pcmcia? function ? # NE2000-compatible Ethernet 2451.1Snonaka 2461.1Snonaka# MII/PHY support 2471.44Sgarbleddmphy* at mii? phy ? # Davicom DM9101 PHYs 2481.44Sgarbledexphy* at mii? phy ? # 3Com internal PHYs 2491.44Sgarbledicsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 2501.44Sgarbledinphy* at mii? phy ? # Intel 82555 PHYs 2511.44Sgarblediophy* at mii? phy ? # Intel 82553 PHYs 2521.44Sgarbledlxtphy* at mii? phy ? # Level One LXT-970 PHYs 2531.5Snonakansphy* at mii? phy ? # NS83840 PHYs 2541.44Sgarblednsphyter* at mii? phy ? # NS83843 PHYs 2551.44Sgarbledqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 2561.44Sgarbledsqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 2571.44Sgarbledtlphy* at mii? phy ? # ThunderLAN PHYs 2581.44Sgarbledtqphy* at mii? phy ? # TDK Semiconductor PHYs 2591.1Snonakaukphy* at mii? phy ? # generic unknown PHYs 2601.1Snonaka 2611.40Sgarbled# Pull in optional local configuration 2621.40Sgarbledinclude "arch/prep/conf/INSTALL.local" 2631.1Snonaka 2641.1Snonaka# Pseudo-Devices 2651.1Snonaka 2661.1Snonaka# disk/mass storage pseudo-devices 2671.54Shannkenpseudo-device md # memory disk device (ramdisk) 2681.53Spooka#pseudo-device fss # file system snapshot device 2691.59Schristospseudo-device raid # RAIDframe disk driver 2701.50Stsutsuioptions RAID_AUTOCONFIG # auto-configuration of RAID components 2711.1Snonaka 2721.1Snonaka# network pseudo-devices 2731.1Snonakapseudo-device loop # network loopback 2741.1Snonaka 2751.1Snonaka# miscellaneous pseudo-devices 2761.1Snonakapseudo-device pty # pseudo-terminals 2771.8Slukem#options RND_COM # use "com" randomness as well 278