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