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