INSTALL revision 1.1
11.1Snonaka# $NetBSD: INSTALL,v 1.1 2001/01/16 16:53:57 nonaka Exp $ 21.1Snonaka# 31.1Snonaka# INSTALL -- Installation kernel 41.1Snonaka# 51.1Snonaka 61.1Snonakainclude "arch/prep/conf/std.prep" 71.1Snonaka 81.1Snonakamakeoptions COPTS="-Os -mmultiple" # -Os -mmultiple to reduce size. 91.1Snonaka 101.1Snonaka# Enable the hooks used for initializing the ram-disk. 111.1Snonakaoptions MEMORY_DISK_HOOKS 121.1Snonakaoptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 131.1Snonakaoptions MINIROOTSIZE=4096 # 2 Megabytes 141.1Snonaka 151.1Snonakamaxusers 8 161.1Snonaka 171.1Snonaka# Compatibility options 181.1Snonaka#options COMPAT_13 # NetBSD 1.3, 191.1Snonaka#options COMPAT_14 # NetBSD 1.4, 201.1Snonaka#options COMPAT_43 # and 4.3BSD 211.1Snonaka 221.1Snonaka# File systems 231.1Snonakafile-system FFS # UFS 241.1Snonakafile-system EXT2FS # second extended file system (linux) 251.1Snonakafile-system MFS # memory file system 261.1Snonakafile-system NFS # Network File System client 271.1Snonakafile-system CD9660 # ISO 9660 + Rock Ridge file system 281.1Snonakafile-system MSDOSFS # MS-DOS file system 291.1Snonaka 301.1Snonaka# File system options 311.1Snonakaoptions VNODE_OP_NOINLINE # Save space by not inlining vnode op calls 321.1Snonakaoptions FFS_EI # FFS Endian Independant support 331.1Snonaka#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 341.1Snonaka # immutable) behave as system flags. 351.1Snonaka 361.1Snonaka# Networking options 371.1Snonakaoptions INET # IP + ICMP + TCP + UDP 381.1Snonakaoptions NMBCLUSTERS=1024 391.1Snonakaoptions NFS_BOOT_BOOTPARAM 401.1Snonakaoptions NFS_BOOT_DHCP 411.1Snonaka 421.1Snonaka# Kernel root file system and dump configuration. 431.1Snonakaconfig netbsd root on ? type ? 441.1Snonaka 451.1Snonaka 461.1Snonaka# 471.1Snonaka# Device configuration 481.1Snonaka# 491.1Snonaka 501.1Snonakamainbus0 at root 511.1Snonakacpu0 at mainbus0 521.1Snonaka 531.1Snonaka 541.1Snonaka# Basic Bus Support 551.1Snonaka 561.1Snonaka# PCI bus support 571.1Snonakapci0 at mainbus0 bus ? 581.1Snonakapci* at pchb? bus ? 591.1Snonaka 601.1Snonaka# PCI bridges 611.1Snonakapchb* at pci? dev ? function ? # PCI-Host bridges 621.1Snonakapcib* at pci? dev ? function ? # PCI-ISA bridges 631.1Snonaka 641.1Snonaka# ISA bus support 651.1Snonakaisa* at pcib? # ISA on PCI-ISA bridge 661.1Snonaka 671.1Snonaka# PCMCIA bus support 681.1Snonakapcmcia* at pcic? controller ? socket ? 691.1Snonaka 701.1Snonaka# ISA PCMCIA controllers 711.1Snonakapcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 721.1Snonaka 731.1Snonaka#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14 741.1Snonaka#options PCIC_ISA_ALLOC_IOBASE=0x0400 751.1Snonaka#options PCIC_ISA_ALLOC_IOSIZE=0x0100 761.1Snonaka 771.1Snonaka# ISA Plug-and-Play bus support 781.1Snonakaisapnp0 at isa? 791.1Snonaka 801.1Snonaka# Console Devices 811.1Snonaka 821.1Snonaka# ISA console. 831.1Snonakapc0 at isa? port 0x60 irq 1 # generic PC console device 841.1Snonaka 851.1Snonaka# Keyboard layout configuration for pccons 861.1Snonaka#options FRENCH_KBD 871.1Snonaka#options FINNISH_KBD 881.1Snonaka#options GERMAN_KBD 891.1Snonaka#options NORWEGIAN_KBD 901.1Snonaka 911.1Snonakamcclock0 at isa? port 0x70 # mc146818 and compatible 921.1Snonaka 931.1Snonaka 941.1Snonaka# Serial Devices 951.1Snonaka 961.1Snonaka# ISA serial interfaces 971.1Snonakacom0 at isa? port 0x3f8 irq 4 # standard PC serial ports 981.1Snonakacom1 at isa? port 0x2f8 irq 3 991.1Snonaka 1001.1Snonaka# Parallel Printer Interfaces 1011.1Snonaka 1021.1Snonaka# ISA parallel printer interfaces 1031.1Snonakalpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 1041.1Snonaka 1051.1Snonaka 1061.1Snonaka# SCSI Controllers and Devices 1071.1Snonaka 1081.1Snonaka# PCI SCSI controllers 1091.1Snonakapcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 1101.1Snonaka 1111.1Snonaka# PCMCIA SCSI controllers 1121.1Snonakaaic* at pcmcia? function ? # Adaptec APA-1460 SCSI 1131.1Snonaka 1141.1Snonaka# SCSI bus support 1151.1Snonakascsibus* at aic? 1161.1Snonakascsibus* at pcscp? 1171.1Snonaka 1181.1Snonaka# SCSI devices 1191.1Snonakasd* at scsibus? target ? lun ? # SCSI disk drives 1201.1Snonakast* at scsibus? target ? lun ? # SCSI tape drives 1211.1Snonakacd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1221.1Snonaka 1231.1Snonaka 1241.1Snonaka# IDE and related devices 1251.1Snonaka 1261.1Snonaka# PCMCIA IDE controllers 1271.1Snonakawdc* at pcmcia? function ? 1281.1Snonaka 1291.1Snonaka# IDE drives 1301.1Snonaka# Flags are used only with controllers that support DMA operations 1311.1Snonaka# and mode settings (e.g. some pciide controllers) 1321.1Snonaka# The lowest order four bits (rightmost digit) of the flags define the PIO 1331.1Snonaka# mode to use, the next set of four bits the DMA mode and the third set the 1341.1Snonaka# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1351.1Snonaka# to use, and the last bit must be 1 for this setting to be used. 1361.1Snonaka# For DMA and UDMA, 0xf (1111) means 'disable'. 1371.1Snonaka# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1381.1Snonaka# (0xc=1100, 0xa=1010, 0xf=1111) 1391.1Snonaka# 0x0000 means "use whatever the drive claims to support". 1401.1Snonakawd* at wdc? channel ? drive ? flags 0x0000 1411.1Snonaka 1421.1Snonaka# ATAPI bus support 1431.1Snonakaatapibus* at wdc? channel ? 1441.1Snonaka 1451.1Snonaka# ATAPI devices 1461.1Snonaka# flags have the same meaning as for IDE drives. 1471.1Snonakacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 1481.1Snonakasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 1491.1Snonaka 1501.1Snonaka# Miscellaneous mass storage devices 1511.1Snonaka 1521.1Snonaka# ISA floppy 1531.1Snonakafdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 1541.1Snonakafd* at fdc? drive ? 1551.1Snonaka 1561.1Snonaka# Network Interfaces 1571.1Snonaka 1581.1Snonaka# PCI network interfaces 1591.1Snonakade* at pci? dev ? function ? # DEC 21x4x-based Ethernet 1601.1Snonakaep* at pci? dev ? function ? # 3Com 3c59x 1611.1Snonakale* at pci? dev ? function ? # PCnet-PCI Ethernet 1621.1Snonakane* at pci? dev ? function ? # NE2000-compatible Ethernet 1631.1Snonakavr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 1641.1Snonaka 1651.1Snonaka# ISA Plug-and-Play network intefaces 1661.1Snonakaep* at isapnp? # 3Com 3c509 Ethernet 1671.1Snonaka 1681.1Snonaka# PCMCIA network interfaces 1691.1Snonakaep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 1701.1Snonakane* at pcmcia? function ? # NE2000-compatible Ethernet 1711.1Snonaka 1721.1Snonaka# MII/PHY support 1731.1Snonakadmphy* at mii? phy ? # Davicom DM9101 PHYs 1741.1Snonakaexphy* at mii? phy ? # 3Com internal PHYs 1751.1Snonakaicsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 1761.1Snonakainphy* at mii? phy ? # Intel 82555 PHYs 1771.1Snonakaiophy* at mii? phy ? # Intel 82553 PHYs 1781.1Snonakalxtphy* at mii? phy ? # Level One LXT-970 PHYs 1791.1Snonakansphy* at mii? phy ? # NS83840 PHYs 1801.1Snonakansphyter* at mii? phy ? # NS83843 PHYs 1811.1Snonakaqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1821.1Snonakasqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1831.1Snonakatlphy* at mii? phy ? # ThunderLAN PHYs 1841.1Snonakatqphy* at mii? phy ? # TDK Semiconductor PHYs 1851.1Snonakaukphy* at mii? phy ? # generic unknown PHYs 1861.1Snonaka 1871.1Snonaka 1881.1Snonaka# Pseudo-Devices 1891.1Snonaka 1901.1Snonaka# disk/mass storage pseudo-devices 1911.1Snonakapseudo-device md 1 # memory disk device (ramdisk) 1921.1Snonaka 1931.1Snonaka# network pseudo-devices 1941.1Snonakapseudo-device loop # network loopback 1951.1Snonaka 1961.1Snonaka# miscellaneous pseudo-devices 1971.1Snonakapseudo-device pty # pseudo-terminals 1981.1Snonakapseudo-device rnd # /dev/random and in-kernel generator 1991.1Snonaka#options RND_COM # use "com" randomness as well 200