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