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