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