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