INSTALL revision 1.7 1 1.7 tsutsui # $NetBSD: INSTALL,v 1.7 2001/09/05 11:54:43 tsutsui 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.1 nonaka
8 1.1 nonaka makeoptions COPTS="-Os -mmultiple" # -Os -mmultiple to reduce size.
9 1.1 nonaka
10 1.1 nonaka # Enable the hooks used for initializing the ram-disk.
11 1.1 nonaka options MEMORY_DISK_HOOKS
12 1.1 nonaka options MEMORY_DISK_IS_ROOT # Force root on ram-disk
13 1.1 nonaka options MINIROOTSIZE=4096 # 2 Megabytes
14 1.1 nonaka
15 1.1 nonaka maxusers 8
16 1.1 nonaka
17 1.1 nonaka # Compatibility options
18 1.1 nonaka #options COMPAT_13 # NetBSD 1.3,
19 1.3 nonaka options COMPAT_14 # NetBSD 1.4,
20 1.3 nonaka options COMPAT_43 # and 4.3BSD
21 1.1 nonaka
22 1.1 nonaka # File systems
23 1.1 nonaka file-system FFS # UFS
24 1.1 nonaka file-system EXT2FS # second extended file system (linux)
25 1.1 nonaka file-system MFS # memory file system
26 1.1 nonaka file-system NFS # Network File System client
27 1.1 nonaka file-system CD9660 # ISO 9660 + Rock Ridge file system
28 1.1 nonaka file-system MSDOSFS # MS-DOS file system
29 1.1 nonaka
30 1.1 nonaka # File system options
31 1.1 nonaka options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
32 1.3 nonaka #options FFS_EI # FFS Endian Independant support
33 1.1 nonaka #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
34 1.1 nonaka # immutable) behave as system flags.
35 1.1 nonaka
36 1.1 nonaka # Networking options
37 1.1 nonaka options INET # IP + ICMP + TCP + UDP
38 1.1 nonaka options NFS_BOOT_BOOTPARAM
39 1.1 nonaka options NFS_BOOT_DHCP
40 1.1 nonaka
41 1.1 nonaka # Kernel root file system and dump configuration.
42 1.1 nonaka config netbsd root on ? type ?
43 1.1 nonaka
44 1.1 nonaka
45 1.1 nonaka #
46 1.1 nonaka # Device configuration
47 1.1 nonaka #
48 1.1 nonaka
49 1.1 nonaka mainbus0 at root
50 1.1 nonaka cpu0 at mainbus0
51 1.1 nonaka
52 1.1 nonaka
53 1.1 nonaka # Basic Bus Support
54 1.1 nonaka
55 1.1 nonaka # PCI bus support
56 1.1 nonaka pci0 at mainbus0 bus ?
57 1.1 nonaka pci* at pchb? bus ?
58 1.1 nonaka
59 1.3 nonaka options PCI_NETBSD_CONFIGURE
60 1.3 nonaka
61 1.1 nonaka # PCI bridges
62 1.1 nonaka pchb* at pci? dev ? function ? # PCI-Host bridges
63 1.1 nonaka pcib* at pci? dev ? function ? # PCI-ISA bridges
64 1.1 nonaka
65 1.1 nonaka # ISA bus support
66 1.1 nonaka isa* at pcib? # ISA on PCI-ISA bridge
67 1.1 nonaka
68 1.1 nonaka # PCMCIA bus support
69 1.1 nonaka pcmcia* at pcic? controller ? socket ?
70 1.1 nonaka
71 1.1 nonaka # ISA PCMCIA controllers
72 1.1 nonaka pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
73 1.1 nonaka
74 1.1 nonaka #options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
75 1.1 nonaka #options PCIC_ISA_ALLOC_IOBASE=0x0400
76 1.1 nonaka #options PCIC_ISA_ALLOC_IOSIZE=0x0100
77 1.1 nonaka
78 1.1 nonaka # ISA Plug-and-Play bus support
79 1.1 nonaka isapnp0 at isa?
80 1.1 nonaka
81 1.1 nonaka # Console Devices
82 1.1 nonaka
83 1.1 nonaka # ISA console.
84 1.1 nonaka pc0 at isa? port 0x60 irq 1 # generic PC console device
85 1.1 nonaka
86 1.1 nonaka # Keyboard layout configuration for pccons
87 1.1 nonaka #options FRENCH_KBD
88 1.1 nonaka #options FINNISH_KBD
89 1.1 nonaka #options GERMAN_KBD
90 1.1 nonaka #options NORWEGIAN_KBD
91 1.1 nonaka
92 1.1 nonaka mcclock0 at isa? port 0x70 # mc146818 and compatible
93 1.1 nonaka
94 1.1 nonaka
95 1.1 nonaka # Serial Devices
96 1.1 nonaka
97 1.1 nonaka # ISA serial interfaces
98 1.1 nonaka com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
99 1.1 nonaka com1 at isa? port 0x2f8 irq 3
100 1.1 nonaka
101 1.1 nonaka # Parallel Printer Interfaces
102 1.1 nonaka
103 1.1 nonaka # ISA parallel printer interfaces
104 1.1 nonaka lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
105 1.1 nonaka
106 1.1 nonaka
107 1.1 nonaka # SCSI Controllers and Devices
108 1.1 nonaka
109 1.1 nonaka # PCI SCSI controllers
110 1.6 briggs adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
111 1.5 nonaka ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
112 1.4 tsutsui iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
113 1.1 nonaka pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
114 1.3 nonaka siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
115 1.1 nonaka
116 1.1 nonaka # PCMCIA SCSI controllers
117 1.1 nonaka aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
118 1.1 nonaka
119 1.1 nonaka # SCSI bus support
120 1.6 briggs scsibus* at adw?
121 1.5 nonaka scsibus* at ahc?
122 1.1 nonaka scsibus* at aic?
123 1.4 tsutsui scsibus* at iha?
124 1.1 nonaka scsibus* at pcscp?
125 1.3 nonaka scsibus* at siop?
126 1.1 nonaka
127 1.1 nonaka # SCSI devices
128 1.1 nonaka sd* at scsibus? target ? lun ? # SCSI disk drives
129 1.1 nonaka st* at scsibus? target ? lun ? # SCSI tape drives
130 1.1 nonaka cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
131 1.1 nonaka
132 1.1 nonaka
133 1.1 nonaka # IDE and related devices
134 1.1 nonaka
135 1.1 nonaka # PCMCIA IDE controllers
136 1.1 nonaka wdc* at pcmcia? function ?
137 1.1 nonaka
138 1.1 nonaka # IDE drives
139 1.1 nonaka # Flags are used only with controllers that support DMA operations
140 1.1 nonaka # and mode settings (e.g. some pciide controllers)
141 1.1 nonaka # The lowest order four bits (rightmost digit) of the flags define the PIO
142 1.1 nonaka # mode to use, the next set of four bits the DMA mode and the third set the
143 1.1 nonaka # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
144 1.1 nonaka # to use, and the last bit must be 1 for this setting to be used.
145 1.1 nonaka # For DMA and UDMA, 0xf (1111) means 'disable'.
146 1.1 nonaka # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
147 1.1 nonaka # (0xc=1100, 0xa=1010, 0xf=1111)
148 1.1 nonaka # 0x0000 means "use whatever the drive claims to support".
149 1.1 nonaka wd* at wdc? channel ? drive ? flags 0x0000
150 1.1 nonaka
151 1.1 nonaka # ATAPI bus support
152 1.1 nonaka atapibus* at wdc? channel ?
153 1.1 nonaka
154 1.1 nonaka # ATAPI devices
155 1.1 nonaka # flags have the same meaning as for IDE drives.
156 1.1 nonaka cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
157 1.1 nonaka sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
158 1.1 nonaka
159 1.1 nonaka # Miscellaneous mass storage devices
160 1.1 nonaka
161 1.1 nonaka # ISA floppy
162 1.1 nonaka fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
163 1.1 nonaka fd* at fdc? drive ?
164 1.1 nonaka
165 1.1 nonaka # Network Interfaces
166 1.1 nonaka
167 1.1 nonaka # PCI network interfaces
168 1.1 nonaka de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
169 1.1 nonaka ep* at pci? dev ? function ? # 3Com 3c59x
170 1.5 nonaka fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
171 1.1 nonaka ne* at pci? dev ? function ? # NE2000-compatible Ethernet
172 1.7 tsutsui pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
173 1.5 nonaka rtk* at pci? dev ? function ? # Realtek 8129/8139
174 1.7 tsutsui sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
175 1.7 tsutsui tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
176 1.7 tsutsui #options TLP_MATCH_21040
177 1.7 tsutsui #options TLP_MATCH_21041
178 1.7 tsutsui #options TLP_MATCH_21140
179 1.7 tsutsui #options TLP_MATCH_21142
180 1.1 nonaka vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
181 1.1 nonaka
182 1.5 nonaka # ISA network interfaces
183 1.5 nonaka ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
184 1.5 nonaka
185 1.1 nonaka # ISA Plug-and-Play network intefaces
186 1.1 nonaka ep* at isapnp? # 3Com 3c509 Ethernet
187 1.5 nonaka ne* at isapnp? # NE2000-compatible Ethernet
188 1.1 nonaka
189 1.1 nonaka # PCMCIA network interfaces
190 1.1 nonaka ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
191 1.1 nonaka ne* at pcmcia? function ? # NE2000-compatible Ethernet
192 1.1 nonaka
193 1.1 nonaka # MII/PHY support
194 1.5 nonaka inphy* at mii? phy ? # Intel 82555 PHYs
195 1.5 nonaka nsphy* at mii? phy ? # NS83840 PHYs
196 1.7 tsutsui qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
197 1.7 tsutsui sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
198 1.1 nonaka ukphy* at mii? phy ? # generic unknown PHYs
199 1.1 nonaka
200 1.1 nonaka
201 1.1 nonaka # Pseudo-Devices
202 1.1 nonaka
203 1.1 nonaka # disk/mass storage pseudo-devices
204 1.1 nonaka pseudo-device md 1 # memory disk device (ramdisk)
205 1.1 nonaka
206 1.1 nonaka # network pseudo-devices
207 1.1 nonaka pseudo-device loop # network loopback
208 1.1 nonaka
209 1.1 nonaka # miscellaneous pseudo-devices
210 1.1 nonaka pseudo-device pty # pseudo-terminals
211 1.1 nonaka pseudo-device rnd # /dev/random and in-kernel generator
212 1.1 nonaka #options RND_COM # use "com" randomness as well
213