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