INSTALL revision 1.68
1#	$NetBSD: INSTALL,v 1.68 2008/11/12 12:35:57 ad Exp $
2#
3#	CATSINST -- CHALTECH CATS Install kernel
4#
5
6include	"arch/cats/conf/std.cats"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	8
13
14# Standard system options
15
16options 	INSECURE	# disable kernel securelevel
17
18options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
19#options 	NTP		# NTP phase/frequency locked loop
20
21# CPU options
22
23# For StrongARM systems
24options 	CPU_SA110	# Support the SA110 core
25makeoptions	COPTS="-Os -march=armv4 -mtune=strongarm" # optimise for space
26
27# FPA options
28
29#options 	ARMFPE		# ARM Ltd FPE
30
31# File systems
32
33file-system	FFS		# UFS
34#file-system	LFS		# log-structured file system
35file-system	MFS		# memory file system
36file-system	NFS		# Network file system
37#file-system 	ADOSFS		# AmigaDOS-compatible file system
38#file-system 	EXT2FS		# second extended file system (linux)
39file-system	CD9660		# ISO 9660 + Rock Ridge file system
40file-system	MSDOSFS		# MS-DOS file system
41#file-system	FDESC		# /dev/fd
42file-system	KERNFS		# /kern
43#file-system	NULLFS		# loopback file system
44#file-system 	OVERLAY		# overlay filesystem
45#file-system	PORTAL		# portal filesystem (still experimental)
46#file-system	PROCFS		# /proc
47#file-system	UMAPFS		# NULLFS + uid and gid remapping
48#file-system	UNION		# union file system
49#file-system	CODA		# Coda File System; also needs vcode (below)
50file-system	PTYFS		# /dev/pts/N support
51
52# File system options
53#options 	QUOTA		# UFS quotas
54#options 	FFS_EI		# FFS Endian Independant support
55#options 	NFSSERVER
56#options 	SOFTDEP		# FFS soft updates support
57options 	WAPBL		# File system journaling support - Experimental
58options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
59
60# Networking options
61
62#options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64#options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
67#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
68#options 	IPSEC_DEBUG	# debug for IP security
69#options 	MROUTING	# IP multicast routing
70#options 	PIM		# Protocol Independent Multicast
71#options 	ISO,TPIP	# OSI
72#options 	EON		# OSI tunneling over IP
73#options 	NETATALK	# AppleTalk networking
74#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
75#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
76#options 	PPP_DEFLATE	# Deflate compression support for PPP
77#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
78#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
79
80options 	NFS_BOOT_BOOTP
81options 	NFS_BOOT_DHCP
82#options 	NFS_BOOT_BOOTPARAM
83
84# Compatibility options
85
86#options 	COMPAT_43	# 4.3BSD compatibility.
87options 	COMPAT_40	# NetBSD 4.0 compatibility.
88options 	COMPAT_30	# NetBSD 3.0 compatibility.
89options 	COMPAT_20	# NetBSD 2.0 compatibility.
90options 	COMPAT_16	# NetBSD 1.6 compatibility.
91options 	COMPAT_15	# NetBSD 1.5 compatibility.
92options 	COMPAT_14	# NetBSD 1.4 compatibility.
93options 	COMPAT_13	# NetBSD 1.3 compatibility.
94#options 	COMPAT_12	# NetBSD 1.2 compatibility.
95#options 	COMPAT_11	# NetBSD 1.1 compatibility.
96#options 	COMPAT_10	# NetBSD 1.0 compatibility.
97#options 	COMPAT_09	# NetBSD 0.9 compatibility.
98#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
99options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
100
101# Shared memory options
102
103#options 	SYSVMSG		# System V-like message queues
104#options 	SYSVSEM		# System V-like semaphores
105#options 	SYSVSHM		# System V-like memory sharing
106#options 	SHMMAXPGS=1024	# 1024 pages is the default
107
108# Device options
109
110options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
111options 	MEMORY_DISK_ROOT_SIZE=4200	# Size in blocks
112options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
113options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
114
115# Miscellaneous kernel options
116#options 	KTRACE		# system call tracing, a la ktrace(1)
117#options 	IRQSTATS	# manage IRQ statistics
118#options 	KMEMSTATS	# kernel memory statistics
119#options 	SCSIVERBOSE	# Verbose SCSI errors
120#options 	PCIVERBOSE	# Verbose PCI descriptions
121#options 	MIIVERBOSE	# verbose PHY autoconfig messages
122#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
123#options 	USBVERBOSE	# verbose USB device autoconfig messages
124#options 	DDB_KEYCODE=0x40
125options 	USERCONF	# userconf(4) support
126options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
127#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
128
129# wscons options
130#options 	WSEMUL_SUN		# sun terminal emulation
131options 	WSEMUL_VT100		# VT100 / VT220 emulation
132# different kernel output - see dev/wscons/wsdisplayvar.h
133options 	WS_KERNEL_FG=WSCOL_GREEN
134options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
135options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
136options 	WSDISPLAY_COMPAT_USL		# VT handling
137options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
138# see dev/wscons/wskbdmap_mfii.h for implemented layouts
139#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
140
141# Development and Debugging options
142
143#options 	ARM700BUGTRACK	# track the ARM700 swi bug
144#options 	PORTMASTER	# Enable PortMaster only options
145#options 	DIAGNOSTIC	# internally consistency checks
146#options 	PMAP_DEBUG	# Enable pmap_debug_level code
147options 	DDB		# in-kernel debugger
148options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
149#makeoptions	DEBUG="-g"	# compile full symbol table
150
151config		netbsd	root on ? type ?
152
153# The main bus device
154mainbus0 at root
155
156# The boot CPU
157cpu0 at mainbus?
158
159# Core logic
160footbridge0	at mainbus?
161
162# footbridge uart
163fcom0	at footbridge?
164
165# system clock via footbridge
166#clock*	at footbridge?
167
168# PCI bus support
169# PCI bus via footbridge
170pci0	at footbridge?			# PCI bus
171
172pci*	at ppb? bus ?
173
174# PCI bridges
175ppb*	at pci? dev ? function ?	# PCI-PCI bridges
176# XXX 'puc's aren't really bridges, but there's no better place for them here
177#puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
178
179# PCI serial interfaces
180#com*	at puc? port ?			# 16x50s on "universal" comm boards
181#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
182
183# PCI parallel printer interfaces
184#lpt*	at puc? port ?			# || ports on "universal" comm boards
185
186# PCI SCSI Controllers and Buses
187adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], ULTRA SCSI
188scsibus* at adv?
189#adw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
190#scsibus* at adw?
191ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI controllers
192scsibus* at ahc?
193#bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
194#scsibus* at bha?
195iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
196scsibus* at iha?
197isp*	at pci? dev ? function ?	# Qlogic ISP 10x0 SCSI controllers
198scsibus* at isp?
199pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
200scsibus* at pcscp?
201siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
202scsibus* at siop?
203
204# SCSI devices
205sd*	at scsibus? target ? lun ?	# SCSI disk drives
206st*	at scsibus? target ? lun ?	# SCSI tape drives
207cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
208#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
209#uk*	at scsibus? target ? lun ?	# SCSI unknown device
210#ss*	at scsibus? target ? lun ?	# SCSI scanner
211
212# PCI IDE Controllers and Devices
213# PCI IDE controllers - see pciide(4) for supported hardware.
214# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
215# how to set up DMA modes for this chip. This may work, or may cause
216# a machine hang with some controllers.
217pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
218acardide*	at pci? dev ? function ?	# Acard IDE controllers
219aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
220artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
221cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
222cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
223hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
224optiide* 	at pci? dev ? function ?	# Opti IDE controllers
225pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
226pdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
227satalink*	at pci? dev ? function ?	# SiI SATALink controllers
228siside* 	at pci? dev ? function ?	# SiS IDE controllers
229slide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
230viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
231
232# ATA (IDE) bus support
233atabus* at ata?
234
235# IDE drives
236# Flags are used only with controllers that support DMA operations
237# and mode settings (e.g. some pciide controllers)
238# The lowest order four bits (rightmost digit) of the flags define the PIO
239# mode to use, the next set of four bits the DMA mode and the third set the
240# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
241# to use, and the last bit must be 1 for this setting to be used.
242# For DMA and UDMA, 0xf (1111) means 'disable'.
243# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
244# (0xc=1100, 0xa=1010, 0xf=1111)
245# 0x0000 means "use whatever the drive claims to support".
246wd*	at atabus? drive ? flags 0x0000	# the drives themselves
247
248# ATAPI bus support
249atapibus* at atapi?
250
251# ATAPI devices
252cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
253sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
254#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
255
256# PCI network interfaces
257#en*	at pci? dev ? function ?	# ENI/Adaptec ATM
258ep*	at pci? dev ? function ?	# 3C590 ethernet cards
259ex*	at pci? dev ? function ?	# 3Com 90x[B]
260epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
261#esh*	at pci? dev ? function ?	# Essential HIPPI card
262#fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
263fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
264#le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
265ne*	at pci? dev ? function ?	# NE2000 compat ethernet
266#ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
267sip*	at pci? dev ? function ?	# SiS 900 Ethernet
268#tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
269#de*	at pci? dev ? function ?	# DECchip 21x4x and clones
270tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
271vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
272#lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
273rtk*	at pci? dev ? function ?	# Realtek 8129/8139
274
275# MII/PHY support
276exphy*	at mii? phy ?			# 3Com internal PHYs
277#icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
278inphy*	at mii? phy ?			# Intel 82555 PHYs
279#iophy*	at mii? phy ?			# Intel 82553 PHYs
280#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
281nsphy*	at mii? phy ?			# NS83840 PHYs
282#nsphyter* at mii? phy ?		# NS83843 PHYs
283qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
284#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
285#tlphy*	at mii? phy ?			# ThunderLAN PHYs
286#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
287ukphy*	at mii? phy ?			# generic unknown PHYs
288
289# USB Controller and Devices
290
291# PCI USB controllers
292#uhci*	at pci?				# Universal Host Controller (Intel)
293#ohci*	at pci?				# Open Host Controller
294
295# USB bus support
296#usb*	at uhci?
297#usb*	at ohci?
298
299# USB Hubs
300#uhub*	at usb?
301#uhub*	at uhub? port ?
302
303# USB HID device
304#uhidev*	at uhub? port ? configuration ? interface ?
305
306# USB Mice
307#ums*	at uhidev? reportid ?
308#wsmouse*	at ums?
309
310# USB Keyboards
311#ukbd*	at uhidev? reportid ?
312#wskbd*	at ukbd? console ?
313
314# USB serial adapter
315#ucycom*	at uhidev? reportid ?
316
317# USB Generic HID devices
318#uhid*	at uhidev? reportid ?
319
320# USB Printer
321#ulpt*	at uhub? port ? configuration ? interface ?
322
323# USB Modem
324#umodem*	at uhub? port ? configuration ?
325#ucom*	at umodem?
326
327# USB Mass Storage
328#umass*	at uhub? port ? configuration ? interface ?
329#atapibus* at umass?
330#scsibus* at umass? channel ?
331
332# USB audio
333#uaudio*	at uhub? port ? configuration ?
334#audio*	at uaudio?
335
336# USB Ethernet adapters
337#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
338#axe*	at uhub? port ?		# ASIX AX88172 based adapters
339#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
340#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
341#url*	at uhub? port ?		# Realtek RTL8150L based adapters
342
343# USB Generic driver
344#ugen* at uhub? port ?
345
346# Audio Devices
347
348# PCI audio devices
349#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
350#sv*	at pci? dev ? function ?	# S3 SonicVibes
351
352# Audio support
353#audio*	at eap?
354#audio*	at sv?
355
356vga*		at pci?
357wsdisplay*	at vga? console ?
358
359# ISA bus bridging
360
361pcib*	at pci? dev ? function ?	# PCI-ISA bridge
362isa*	at pcib?			# ISA bus
363
364# ISA Plug-and-Play bus support
365isapnp0	at isa?
366
367# wscons
368pckbc0	at isa?			# pc keyboard controller
369pckbd*	at pckbc?		# PC keyboard
370pms*		at pckbc?		# PS/2 mouse for wsmouse
371wskbd*		at pckbd? console ?
372wsmouse*	at pms?
373
374attimer0	at isa?
375pcppi0	at isa?
376sysbeep0	at pcppi?
377
378# ISA Plug-and-Play serial interfaces
379com*	at isapnp?			# Modems and serial boards
380
381# ISA Plug-and-Play network interfaces
382ep*	at isapnp?			# 3Com 3c509 Ethernet
383fmv*	at isapnp?			# Fujitsu FMV-183
384ne*	at isapnp?			# NE2000 compat
385
386# ISA serial interfaces
387com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
388com1	at isa? port 0x2f8 irq 3
389#com2	at isa? port 0x3e8 irq 9
390#com3	at isa? port 0x2e8 irq 10
391
392# ISA parallel printer interfaces
393lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
394lpt1	at isa? port 0x278 irq 5
395#lpt2	at isa? port 0x3bc
396
397# ISA floppy
398#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
399#fdc1	at isa? port 0x370 irq ? drq ?
400#fd*	at fdc? drive ?			# the drives themselves
401
402# ISA network interface
403#ne0	at isa? port 0x280 irq 9
404#ne1	at isa? port 0x300 irq 10
405#ep*	at isa? port ? irq ?
406
407# The spkr driver provides a simple tone interface to the built in speaker.
408#spkr0	at pcppi?			# PC speaker
409
410ds1687rtc0	at isa? port 0x72	# Dallas RTC
411
412# ISA Plug-and-Play audio devices
413#ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
414#sb*	at isapnp?			# SoundBlaster-compatible audio
415#wss*	at isapnp?			# Windows Sound System
416
417# OPL[23] FM syntheziers
418#opl*	at ess?
419#opl*	at sb?
420
421# Audio support
422#audio*	at ess?
423#audio*	at sb?
424#audio*	at wss?
425
426# MPU 401 UARTs
427#mpu*	at sb?
428
429# MIDI support
430#midi*	at pcppi?		# MIDI interface to the PC speaker
431#midi*	at sb?			# SB MPU401 port
432#midi*	at opl?			# OPL FM synth
433#midi*	at mpu?			# MPU 401
434
435# Joysticks
436
437# ISA Plug-and-Play joysticks
438#joy*	at isapnp?			# Game ports (usually on audio cards)
439
440# ISA joysticks. Probe is a little strange; add only if you have one.
441#joy0	at isa? port 0x201
442
443# Pseudo-Devices
444
445# disk/mass storage pseudo-devices
446pseudo-device	ccd		2	# concatenated/striped disk devices
447#pseudo-device	fss		4	# file system snapshot device
448pseudo-device	md		1	# memory disk device (ramdisk)
449#pseudo-device	vnd			# disk-like interface to files
450
451# network pseudo-devices
452pseudo-device	bpfilter		# Berkeley packet filter
453#pseudo-device	ipfilter		# IP filter (firewall) and NAT
454pseudo-device	loop			# network loopback
455#pseudo-device	ppp			# Point-to-Point Protocol
456#pseudo-device	sl			# Serial Line IP
457#pseudo-device	strip			# Starmode Radio IP (Metricom)
458#pseudo-device	tun			# network tunneling over tty
459
460# miscellaneous pseudo-devices
461pseudo-device	pty			# pseudo-terminals
462#pseudo-device	sequencer	1	# MIDI sequencer
463pseudo-device	rnd			# /dev/random and in-kernel generator
464#options 	RND_COM			# use "com" randomness as well (BROKEN)
465#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
466
467# mouse & keyboard multiplexor pseudo-devices
468pseudo-device	wsmux
469pseudo-device	wsfont
470
471# for IPv6
472#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
473#pseudo-device	faith			# IPv[46] tcp relay translation i/f
474