INSTALL revision 1.109
1#	$NetBSD: INSTALL,v 1.109 2019/02/07 23:11:10 mrg 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=5000	# 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
248rtk*	at pci? dev ? function ?	# Realtek 8129/8139
249
250# MII/PHY support
251exphy*	at mii? phy ?			# 3Com internal PHYs
252#icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
253inphy*	at mii? phy ?			# Intel 82555 PHYs
254#iophy*	at mii? phy ?			# Intel 82553 PHYs
255#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
256nsphy*	at mii? phy ?			# NS83840 PHYs
257#nsphyter* at mii? phy ?		# NS83843 PHYs
258qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
259#rgephy*	at mii? phy ?		# Realtek 8169S/8110S/8211 PHYs
260#rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
261#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
262#tlphy*	at mii? phy ?			# ThunderLAN PHYs
263#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
264ukphy*	at mii? phy ?			# generic unknown PHYs
265
266# USB Controller and Devices
267
268# PCI USB controllers
269#uhci*	at pci?				# Universal Host Controller (Intel)
270#ohci*	at pci?				# Open Host Controller
271
272# USB bus support
273#usb*	at uhci?
274#usb*	at ohci?
275
276# USB Hubs
277#uhub*	at usb?
278#uhub*	at uhub? port ?
279
280# USB HID device
281#uhidev*	at uhub? port ? configuration ? interface ?
282
283# USB Mice
284#ums*	at uhidev? reportid ?
285#wsmouse*	at ums?
286
287# USB Keyboards
288#ukbd*	at uhidev? reportid ?
289#wskbd*	at ukbd? console ?
290
291# USB serial adapter
292#ucycom*	at uhidev? reportid ?
293
294# USB Generic HID devices
295#uhid*	at uhidev? reportid ?
296
297# USB Printer
298#ulpt*	at uhub? port ? configuration ? interface ?
299
300# USB Modem
301#umodem*	at uhub? port ? configuration ?
302#ucom*	at umodem?
303
304# Option N.V. Wireless WAN modems
305#uhso*	at uhub? port ? configuration ?
306
307# USB Mass Storage
308#umass*	at uhub? port ? configuration ? interface ?
309#atapibus* at umass?
310#scsibus* at umass? channel ?
311
312# USB audio
313#uaudio*	at uhub? port ? configuration ?
314#audio*	at uaudio?
315
316# USB Ethernet adapters
317#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
318#axe*	at uhub? port ?		# ASIX AX88172 based adapters
319#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
320#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
321#mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
322#ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
323#url*	at uhub? port ?		# Realtek RTL8150L based adapters
324
325# USB Generic driver
326#ugen* at uhub? port ?
327
328# Audio Devices
329
330# PCI audio devices
331#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
332#sv*	at pci? dev ? function ?	# S3 SonicVibes
333
334# Audio support
335#audio*	at eap?
336#audio*	at sv?
337
338vga*		at pci?
339wsdisplay*	at vga? console ?
340
341# ISA bus bridging
342
343pcib*	at pci? dev ? function ?	# PCI-ISA bridge
344isa*	at pcib?			# ISA bus
345
346# ISA Plug-and-Play bus support
347isapnp0	at isa?
348
349# wscons
350pckbc0	at isa?			# pc keyboard controller
351pckbd*	at pckbc?		# PC keyboard
352pms*		at pckbc?		# PS/2 mouse for wsmouse
353wskbd*		at pckbd? console ?
354wsmouse*	at pms?
355
356attimer0	at isa?
357pcppi0	at isa?
358sysbeep0	at pcppi?
359
360# ISA Plug-and-Play serial interfaces
361com*	at isapnp?			# Modems and serial boards
362
363# ISA Plug-and-Play network interfaces
364ep*	at isapnp?			# 3Com 3c509 Ethernet
365fmv*	at isapnp?			# Fujitsu FMV-183
366ne*	at isapnp?			# NE2000 compat
367
368# ISA serial interfaces
369com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
370com1	at isa? port 0x2f8 irq 3
371#com2	at isa? port 0x3e8 irq 9
372#com3	at isa? port 0x2e8 irq 10
373
374# ISA parallel printer interfaces
375lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
376lpt1	at isa? port 0x278 irq 5
377#lpt2	at isa? port 0x3bc
378
379# ISA floppy
380#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
381#fdc1	at isa? port 0x370 irq ? drq ?
382#fd*	at fdc? drive ?			# the drives themselves
383
384# ISA network interface
385#ne0	at isa? port 0x280 irq 9
386#ne1	at isa? port 0x300 irq 10
387#ep*	at isa? port ? irq ?
388
389# The spkr driver provides a simple tone interface to the built in speaker.
390#spkr*	at pcppi?			# PC speaker
391#spkr*	at audio?			# PC speaker (synthesized)
392
393ds1687rtc0	at isa? port 0x72	# Dallas RTC
394
395# ISA Plug-and-Play audio devices
396#ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
397#sb*	at isapnp?			# SoundBlaster-compatible audio
398#wss*	at isapnp?			# Windows Sound System
399
400# OPL[23] FM syntheziers
401#opl*	at ess?
402#opl*	at sb?
403
404# Audio support
405#audio*	at ess?
406#audio*	at sb?
407#audio*	at wss?
408
409# MPU 401 UARTs
410#mpu*	at sb?
411
412# MIDI support
413#midi*	at pcppi?		# MIDI interface to the PC speaker
414#midi*	at sb?			# SB MPU401 port
415#midi*	at opl?			# OPL FM synth
416#midi*	at mpu?			# MPU 401
417
418# Joysticks
419
420# ISA Plug-and-Play joysticks
421#joy*	at isapnp?			# Game ports (usually on audio cards)
422
423# ISA joysticks. Probe is a little strange; add only if you have one.
424#joy0	at isa? port 0x201
425
426# Pseudo-Devices
427
428# disk/mass storage pseudo-devices
429pseudo-device	ccd			# concatenated/striped disk devices
430#pseudo-device	fss			# file system snapshot device
431pseudo-device	md			# memory disk device (ramdisk)
432#pseudo-device	vnd			# disk-like interface to files
433
434# network pseudo-devices
435pseudo-device	bpfilter		# Berkeley packet filter
436#pseudo-device	npf			# NPF packet filter
437pseudo-device	loop			# network loopback
438#pseudo-device	ppp			# Point-to-Point Protocol
439#pseudo-device	sl			# Serial Line IP
440#pseudo-device	strip			# Starmode Radio IP (Metricom)
441#pseudo-device	tun			# network tunneling over tty
442
443# miscellaneous pseudo-devices
444pseudo-device	pty			# pseudo-terminals
445#pseudo-device	sequencer		# MIDI sequencer
446#options 	RND_COM			# use "com" randomness as well (BROKEN)
447#pseudo-device	vcoda			# coda minicache <-> venus comm.
448
449# mouse & keyboard multiplexor pseudo-devices
450pseudo-device	wsmux
451pseudo-device	wsfont
452
453# for IPv6
454#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
455#pseudo-device	faith			# IPv[46] tcp relay translation i/f
456