INSTALL revision 1.65 1 # $NetBSD: INSTALL,v 1.65 2018/01/23 14:47:54 sevan Exp $
2 #
3 # INSTALL -- installation and rescue kernel.
4 #
5 # This kernel should be derived from GENERIC with most features
6 # commented out to shoehorn into Cobalt kernel size limitations.
7 #
8
9 include "arch/cobalt/conf/std.cobalt"
10
11 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12
13 #ident "INSTALL-$Revision: 1.65 $"
14
15 makeoptions COPTS="-Os -mmemcpy"
16 makeoptions CPUFLAGS="-march=vr5000 -mabi=32"
17
18 maxusers 32
19
20 # Standard system options
21 #options KTRACE # system call tracing support
22 #options SYSVMSG # System V message queues
23 #options SYSVSEM # System V semaphores
24 #options SEMMNI=10 # number of semaphore identifiers
25 #options SEMMNS=60 # number of semaphores in system
26 #options SEMUME=10 # max number of undo entries per process
27 #options SEMMNU=30 # number of undo structures in system
28 #options SYSVSHM # System V shared memory
29 #options NTP # network time protocol
30 #options USERCONF # userconf(4) support
31 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
32 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
33
34 # Alternate buffer queue strategies for better responsiveness under high
35 # disk I/O load.
36 #options BUFQ_READPRIO
37 #options BUFQ_PRIOCSCAN
38
39 # Debugging options
40 #options DIAGNOSTIC # extra kernel sanity checking
41 #options DEBUG # extra kernel debugging support
42 options DDB # kernel dynamic debugger
43 pseudo-device ksyms
44 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
45 #makeoptions DEBUG="-g" # compile full symbol table
46
47 # Compatibility options
48 include "conf/compat_netbsd16.config"
49 #options EXEC_ECOFF # exec ECOFF binaries
50 #options COMPAT_ULTRIX # binary compatibility with Ultrix
51
52 # File systems
53 file-system FFS # Berkeley Fast Filesystem
54 file-system EXT2FS # second extended file system (linux)
55 file-system NFS # Sun NFS-compatible filesystem client
56 #file-system KERNFS # kernel data-structure filesystem
57 #file-system NULLFS # NULL layered filesystem
58 #file-system OVERLAY # overlay file system
59 file-system MFS # memory-based filesystem
60 #file-system FDESC # user file descriptor filesystem
61 #file-system UMAPFS # uid/gid remapping filesystem
62 #file-system LFS # Log-based filesystem (still experimental)
63 #file-system PROCFS # /proc
64 #file-system CD9660 # ISO 9660 + Rock Ridge file system
65 #file-system UNION # union file system
66 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
67 #file-system CODA # Coda File System; also needs vcoda (below)
68 #file-system PTYFS # /dev/pts/N support
69
70 # File system options
71 #options NFSSERVER # Sun NFS-compatible filesystem server
72 #options QUOTA # legacy UFS quotas
73 #options QUOTA2 # new, in-filesystem UFS quotas
74 #options FFS_EI # FFS Endian Independent support
75 options WAPBL # File system journaling support
76 options FFS_NO_SNAPSHOT # No FFS snapshot support
77 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
78 # immutable) behave as system flags.
79
80 # Networking options
81 #options GATEWAY # IP packet forwarding
82 options INET # Internet protocols
83 #options INET6 # IPV6
84 #options IPSEC # IP security
85 #options IPSEC_DEBUG # debug for IP security
86 #options MROUTING # packet forwarding of multicast packets
87 #options PIM # Protocol Independent Multicast
88 #options NETATALK # AppleTalk (over Ethernet) protocol
89 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
90 #options PPP_DEFLATE # Deflate compression support for PPP
91 #options PPP_FILTER # Active filter support for PPP (requires bpf)
92 #options IPFILTER_LOG # ipmon(8) log support
93 #options IPFILTER_LOOKUP # ippool(8) support
94 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
95 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
96
97 #options ALTQ # Manipulate network interfaces' output queues
98 #options ALTQ_BLUE # Stochastic Fair Blue
99 #options ALTQ_CBQ # Class-Based Queueing
100 #options ALTQ_CDNR # Diffserv Traffic Conditioner
101 #options ALTQ_FIFOQ # First-In First-Out Queue
102 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
103 #options ALTQ_HFSC # Hierarchical Fair Service Curve
104 #options ALTQ_LOCALQ # Local queueing discipline
105 #options ALTQ_PRIQ # Priority Queueing
106 #options ALTQ_RED # Random Early Detection
107 #options ALTQ_RIO # RED with IN/OUT
108 #options ALTQ_WFQ # Weighted Fair Queueing
109
110 # JIT compiler for bpfilter
111 #options SLJIT
112 #options BPFJIT
113
114 # These options enable verbose messages for several subsystems.
115 # Warning, these may compile large string tables into the kernel!
116 #options PCIVERBOSE # verbose PCI device autoconfig messages
117 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
118 #options SCSIVERBOSE # human readable SCSI error messages
119 #options MIIVERBOSE # verbose PHY autoconfig messages
120
121 options NFS_BOOT_DHCP
122
123 config netbsd root on ? type ?
124
125 mainbus0 at root
126
127 cpu0 at mainbus?
128
129 mcclock0 at mainbus? addr 0x10000070
130
131 com0 at mainbus? addr 0x1c800000 level 3
132 options COM_16650
133
134 zsc0 at mainbus? addr 0x1c800000 irq 4
135 zstty0 at zsc0 channel 0
136 #zstty1 at zsc0 channel 1
137
138 panel0 at mainbus? addr 0x1f000000
139
140 gt0 at mainbus? addr 0x14000000
141
142 pci* at gt0
143 pchb* at pci? dev ? function ?
144 pcib* at pci? dev ? function ?
145
146 options PCI_NETBSD_CONFIGURE
147
148 # Cryptographic Devices
149
150 # PCI cryptographic devices
151 #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
152 #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
153
154 # PCI serial/parallel interfaces
155 puc* at pci? dev ? function ? # PCI "universal" comm. cards
156 com* at puc? port ?
157 #lpt* at puc? port ?
158 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial cards
159
160 # PCI SCSI controllers
161 #adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA]
162 #adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
163 #ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
164 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
165 #dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
166 #isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FC
167 #siop* at pci? dev ? function ? # NCR 53c8xx SCSI
168 #esiop* at pci? dev ? function ? # NCR 53c82s75xx SCSI and newer
169 #pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
170
171 # SCSI bus support
172 #scsibus* at adv?
173 #scsibus* at adw?
174 #scsibus* at ahc?
175 #scsibus* at bha?
176 #scsibus* at dpt?
177 #scsibus* at isp?
178 #scsibus* at siop?
179 #scsibus* at esiop?
180 #scsibus* at pcscp?
181
182 # SCSI devices
183 #sd* at scsibus? target ? lun ? # SCSI disk drives
184 #st* at scsibus? target ? lun ? # SCSI tape drives
185 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
186 #ch* at scsibus? target ? lun ? # SCSI autochangers
187 #ss* at scsibus? target ? lun ? # SCSI scanners
188 #uk* at scsibus? target ? lun ? # SCSI unknown
189
190 # RAID controllers and devices
191 #cac* at pci? dev ? function ? # Compaq array controller
192 #ca* at cac? unit ? # Compaq array disk device
193
194 # IDE and related devices
195 # PCI IDE controllers - see pciide(4) for supported hardware.
196 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
197 # how to set up DMA modes for this chip. This may work, or may cause
198 # a machine hang with some controllers.
199 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
200 #acardide* at pci? dev ? function ? # Acard IDE controllers
201 #aceride* at pci? dev ? function ? # Acer Lab IDE controllers
202 #artsata* at pci? dev ? function ? # Intel i31244 SATA controller
203 #cmdide* at pci? dev ? function ? # CMD tech IDE controllers
204 #cypide* at pci? dev ? function ? # Cypress IDE controllers
205 #hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
206 #optiide* at pci? dev ? function ? # Opti IDE controllers
207 #pdcide* at pci? dev ? function ? # Promise IDE controllers
208 #pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
209 #satalink* at pci? dev ? function ? # SiI SATALink controllers
210 #siside* at pci? dev ? function ? # SiS IDE controllers
211 #slide* at pci? dev ? function ? # Symphony Labs IDE controllers
212 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
213
214 # ATA bus
215 atabus* at ata?
216
217 # IDE drives
218 # Flags are used only with controllers that support DMA operations
219 # and mode settings (e.g. some pciide controllers)
220 # The lowest order four bits (rightmost digit) of the flags define the PIO
221 # mode to use, the next set of four bits the DMA mode and the third set the
222 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
223 # to use, and the last bit must be 1 for this setting to be used.
224 # For DMA and UDMA, 0xf (1111) means 'disable'.
225 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
226 # (0xc=1100, 0xa=1010, 0xf=1111)
227 # 0x0000 means "use whatever the drive claims to support".
228 wd* at atabus? drive ? flags 0x0000
229
230 # PCI network interfaces
231 #en* at pci? dev ? function ? # ENI/Adaptec ATM
232 #ep* at pci? dev ? function ? # 3Com 3c59x
233 #ex* at pci? dev ? function ? # 3Com 90x[BC]
234 #epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
235 #esh* at pci? dev ? function ? # Essential HIPPI card
236 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
237 #fxp* at pci? dev ? function ? # Intel EtherExpress PRO10+/100B
238 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
239 #ne* at pci? dev ? function ? # NE2000-compatible Ethernet
240 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
241 #sip* at pci? dev ? function ? # SiS 900 Ethernet
242 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
243 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
244 #vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
245 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
246 #rtk* at pci? dev ? function ? # Realtek 8129/8139
247
248 # MII/PHY support
249 #exphy* at mii? phy ? # 3Com internal PHYs
250 #icsphy* at mii? phy ? # ICS189x PHYs
251 #inphy* at mii? phy ? # Intel 82555 PHYs
252 #iophy* at mii? phy ? # Intel 82553 PHYs
253 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
254 #nsphy* at mii? phy ? # NS83840 PHYs
255 #nsphyter* at mii? phy ? # NS83843 PHYs
256 #qsphy* at mii? phy ? # Quality Semiconductor QS6612
257 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
258 #tlphy* at mii? phy ? # ThunderLAN PHYs
259 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
260 #ukphy* at mii? phy ? # generic unknown PHYs
261
262 # PCI audio devices
263 #clcs* at pci? dev ? function ? # Cirrus Logic CS4280
264 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
265 #emuxki* at pci? dev ? function ? # SoundBlaster Live!
266 #eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
267 #fms* at pci? dev ? function ? # Forte Media FM801
268 #sv* at pci? dev ? function ? # S3 SonicVibes
269
270 # Audio support
271 #audio* at audiobus?
272
273 #spkr* at audio? # PC speaker (synthesized)
274
275 # Pseudo-devices
276
277 #pseudo-device crypto # /dev/crypto device
278 #pseudo-device swcrypto # software crypto implementation
279
280 # Disk/mass storage pseudo-devices
281 #pseudo-device ccd # concatenated disk devices
282 #pseudo-device cgd # cryptographic disk devices
283 #pseudo-device raid # RAIDframe disk driver
284 #options RAID_AUTOCONFIG # auto-configuration of RAID
285 # Options to enable various other RAIDframe RAID types.
286 # options RF_INCLUDE_EVENODD=1
287 # options RF_INCLUDE_RAID5_RS=1
288 # options RF_INCLUDE_PARITYLOGGING=1
289 # options RF_INCLUDE_CHAINDECLUSTER=1
290 # options RF_INCLUDE_INTERDECLUSTER=1
291 # options RF_INCLUDE_PARITY_DECLUSTERING=1
292 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
293 #pseudo-device md # memory disk device (ramdisk)
294 #pseudo-device vnd # disk-like interface to files
295
296 # Network pseudo-devices
297 pseudo-device bpfilter # Berkeley packet filter
298 #pseudo-device ipfilter # IP filter (firewall) and NAT
299 pseudo-device loop # network loopback
300 #pseudo-device ppp # Point-to-Point Protocol
301 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
302 #pseudo-device sl # Serial Line IP
303 #pseudo-device strip # Starmode Radio IP (Metricom)
304 #pseudo-device tun # network tunneling over tty
305 #pseudo-device tap # virtual Ethernet
306 #pseudo-device gre # generic L3 over IP tunnel
307 #pseudo-device gif # RFC1933 tunnel
308 #pseudo-device faith # IPv[46] tcp relay translation
309 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
310 #pseudo-device vlan # IEEE 802.1q encapsulation
311 #pseudo-device bridge # simple inter-network bridging
312 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
313
314 # Miscellaneous pseudo-devices
315 pseudo-device pty # pseudo-terminals
316 options NO_DEV_PTM
317 #pseudo-device sequencer # MIDI sequencer
318 #options RND_COM # use "com" randomness (BROKEN)
319 #pseudo-device clockctl # user control of clock subsystem
320 pseudo-device nullcons # no-op console
321
322 # A pseudo device needed for Coda # also needs CODA (above)
323 #pseudo-device vcoda # coda minicache <-> venus comm.
324 #pseudo-device ksyms # /dev/ksyms
325 #pseudo-device pf # PF packet filter
326 #pseudo-device pflog # PF log if
327