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