11.67Sthorpej#	$NetBSD: INSTALL,v 1.67 2021/04/27 23:37:01 thorpej Exp $
21.1Sthorpej#
31.1Sthorpej#	Shark installation kernel
41.1Sthorpej#
51.1Sthorpej
61.1Sthorpejinclude	"arch/shark/conf/std.shark"
71.6Satatat
81.6Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sthorpej
101.1Sthorpej# estimated number of users
111.1Sthorpej
121.1Sthorpejmaxusers	32
131.1Sthorpej
141.1Sthorpej# Standard system options
151.1Sthorpej
161.1Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.1Sthorpejoptions 	HZ=64
181.1Sthorpej#options 	NTP		# NTP phase/frequency locked loop
191.1Sthorpej#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
201.1Sthorpej
211.1Sthorpej# CPU options
221.1Sthorpej
231.1Sthorpejoptions 	CPU_SA110	# Support the SA110 core
241.2Sthorpejmakeoptions	COPTS="-Os"
251.1Sthorpej
261.1Sthorpej# Architecture options
271.1Sthorpej
281.1Sthorpejoptions 	SHARK		# We are a Shark
291.1Sthorpejoptions 	NSIO		# We are using the National Semi SuperIO
301.1Sthorpej
311.1Sthorpej# compatibility with old version of OFW, which may have incorrect
321.1Sthorpej# properties and/or may set up devices incorrectly.
331.1Sthorpejoptions 	COMPAT_OLD_OFW
341.1Sthorpej
351.1Sthorpej# File systems
361.1Sthorpej
371.1Sthorpejfile-system	FFS		# UFS
381.1Sthorpej#file-system	LFS		# log-structured file system
391.1Sthorpejfile-system	MFS		# memory file system
401.1Sthorpejfile-system	NFS
411.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
421.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
431.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
441.1Sthorpejfile-system	MSDOSFS		# MS-DOS file system
451.1Sthorpej#file-system	FDESC		# /dev/fd
461.1Sthorpej#file-system	FILECORE	# Acorn filecore file system
471.1Sthorpejfile-system	KERNFS		# /kern
481.1Sthorpej#file-system	NULLFS		# loopback file system
491.1Sthorpej#file-system	PROCFS		# /proc
501.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
511.1Sthorpej#file-system	UNION		# union file system
521.22Schristos#file-system	PTYFS		# /dev/pts/N support
531.1Sthorpej
541.1Sthorpej# File system options
551.46Sbouyer#options 	QUOTA		# legacy UFS quotas
561.46Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
571.47Swiz#options 	FFS_EI		# FFS Endian Independent support
581.1Sthorpej#options 	NFSSERVER
591.23Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
601.49Sdhollandoptions 	WAPBL		# File system journaling support
611.1Sthorpej
621.1Sthorpej# Networking options
631.1Sthorpej
641.1Sthorpej#options 	GATEWAY		# packet forwarding
651.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
661.1Sthorpej#options 	MROUTING	# IP multicast routing
671.15Smanu#options 	PIM		# Protocol Independent Multicast
681.1Sthorpej#options 	NETATALK	# AppleTalk networking
691.1Sthorpej				# if you enable the pseudo-device ipl).
701.1Sthorpej
711.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
721.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
731.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
741.1Sthorpejoptions 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
751.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
761.1Sthorpej
771.1Sthorpej# Compatibility options
781.1Sthorpej
791.63Smrg#include 	"conf/compat_netbsd09.config"
801.16Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
811.1Sthorpej
821.1Sthorpej# Shared memory options
831.1Sthorpej
841.2Sthorpej#options 	SYSVMSG		# System V-like message queues
851.2Sthorpej#options 	SYSVSEM		# System V-like semaphores
861.2Sthorpej#options 	SYSVSHM		# System V-like memory sharing
871.1Sthorpej
881.1Sthorpej# Device options
891.1Sthorpej
901.1Sthorpejoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
911.1Sthorpejoptions 	MEMORY_DISK_IS_ROOT	# use memory disk as root
921.4Slukemoptions 	MEMORY_DISK_ROOT_SIZE=7000	# Size in blocks (3.5MB)
931.40Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
941.1Sthorpej
951.1Sthorpejoptions 	INSECURE		# disable kernel securelevel
961.1Sthorpej
971.1Sthorpej# Use the following to force the serial to always be the console
981.1Sthorpej# device.  19200 is what the serial gets set up as by the firmware
991.1Sthorpej# when it hasn't fallen back from PC.  If it has fallen back then
1001.1Sthorpej# the speed will be set at 9600.
1011.1Sthorpej#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
1021.1Sthorpej
1031.1Sthorpej# Miscellaneous kernel options
1041.2Sthorpej#options 	KTRACE		# system call tracing, a la ktrace(1)
1051.2Sthorpej#options 	IRQSTATS	# manage IRQ statistics, XXX temp required
1061.8Slukemoptions 	USERCONF	# userconf(4) support
1071.7Sabsoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
1081.14Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1091.1Sthorpej
1101.1Sthorpej# Development and Debugging options
1111.1Sthorpej
1121.1Sthorpej#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1131.1Sthorpej#options 	PORTMASTER	# Enable PortMaster only options
1141.2Sthorpej#options 	DIAGNOSTIC	# internal consistency checks
1151.65Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1161.1Sthorpejoptions 	DDB		# in-kernel debugger
1171.58Suebayasipseudo-device	ksyms
1181.1Sthorpej#options 	DDB_ONPANIC=0	# don't run DDB at panictime
1191.1Sthorpej#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1201.9Swiz#options 	KERNEL_DEBUG	# compile in kernel debugging capability
1211.1Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
1221.1Sthorpej
1231.32Sjmmv#
1241.32Sjmmv# wscons options
1251.32Sjmmv#
1261.32Sjmmv# builtin terminal emulations
1271.32Sjmmv#options 	WSEMUL_SUN		# sun terminal emulation
1281.32Sjmmvoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1291.32Sjmmv# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1301.32Sjmmv#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1311.32Sjmmv#options 	WS_DEFAULT_FG=WSCOL_WHITE
1321.32Sjmmv#options 	WS_DEFAULT_BG=WSCOL_BLACK
1331.32Sjmmv#options 	WS_DEFAULT_COLATTR="(0)"
1341.32Sjmmv#options 	WS_DEFAULT_MONOATTR="(0)"
1351.32Sjmmv#options 	WS_KERNEL_FG=WSCOL_GREEN
1361.32Sjmmv#options 	WS_KERNEL_BG=WSCOL_BLACK
1371.32Sjmmv#options 	WS_KERNEL_COLATTR=""
1381.32Sjmmv#options 	WS_KERNEL_MONOATTR=""
1391.32Sjmmv# customization of console border color
1401.32Sjmmv#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
1411.32Sjmmv#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
1421.32Sjmmv# compatibility to other console drivers
1431.32Sjmmv#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1441.32Sjmmv#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1451.50Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1461.32Sjmmv#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1471.32Sjmmv# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1481.32Sjmmv#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1491.32Sjmmv#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
1501.32Sjmmv# allocate a number of virtual screens at autoconfiguration time
1511.32Sjmmv#options 	WSDISPLAY_DEFAULTSCREENS=4
1521.32Sjmmv# use a large software cursor that doesn't blink
1531.32Sjmmv#options 	PCDISPLAY_SOFTCURSOR
1541.32Sjmmv# modify the screen type of the console; defaults to "80x25"
1551.32Sjmmv#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
1561.32Sjmmv# console scrolling support.
1571.32Sjmmv#options 	WSDISPLAY_SCROLLSUPPORT
1581.32Sjmmv# enable VGA raster mode capable of displaying multilingual text on console
1591.32Sjmmv#options 	VGA_RASTERCONSOLE
1601.32Sjmmv
1611.1Sthorpejconfig		netbsd		root on ? type ffs	# root on miniroot
1621.1Sthorpej
1631.1Sthorpej# The main bus device
1641.1Sthorpejmainbus0 at root
1651.1Sthorpej
1661.13Swiz# The boot CPU
1671.1Sthorpejcpu0 at mainbus?
1681.1Sthorpej
1691.1Sthorpej# Open Firmware devices
1701.1Sthorpejofbus*		at root
1711.1Sthorpejofbus*		at ofbus?
1721.1Sthorpej#ofdisk* 	at ofbus?
1731.1Sthorpej#ofnet*		at ofbus?	# don't use with cs0
1741.1Sthorpej#ofcons* 	at ofbus?	# don't use with pc0
1751.1Sthorpejofrom*		at ofbus?
1761.1Sthorpej
1771.1Sthorpejofisa*		at ofbus?
1781.1Sthorpej
1791.1Sthorpej# IDE/ATA disk
1801.1Sthorpejwdc*		at ofisa?
1811.12Sbouyeratabus* 	at wdc? channel ?
1821.12Sbouyerwd*		at atabus? drive ?
1831.1Sthorpej
1841.12Sbouyeratapibus*	at atabus?
1851.1Sthorpejcd*		at atapibus? drive?
1861.1Sthorpejsd*		at atapibus? drive?
1871.1Sthorpej
1881.32Sjmmv# wscons
1891.32Sjmmvpckbc*		at ofisa?
1901.32Sjmmvpckbd*		at pckbc?
1911.32Sjmmv#pms*		at pckbc?
1921.32Sjmmvvga*		at ofbus?
1931.32Sjmmv#igsfb*		at ofbus?
1941.32Sjmmvwsdisplay*	at wsemuldisplaydev?
1951.32Sjmmvwskbd*		at pckbd? console ?
1961.32Sjmmv#wsmouse*	at pms? mux 0
1971.32Sjmmv
1981.66Sthorpej# mc146818 real time clock
1991.66Sthorpejmcclock*	at ofisa?
2001.66Sthorpej
2011.1Sthorpej# CS8900 Ethernet@OFW
2021.1Sthorpejcs*		at ofisa?
2031.1Sthorpej
2041.1Sthorpej# Serial @OFW
2051.1Sthorpejcom*		at ofisa?
2061.1Sthorpej
2071.1Sthorpej# Parallel @OFW
2081.1Sthorpejlpt*		at ofisa?
2091.1Sthorpej
2101.1Sthorpej# Smart Card
2111.1Sthorpejofisascr*	at ofisa?
2121.1Sthorpejscr*		at ofisascr?
2131.1Sthorpej
2141.1Sthorpej# ESS Sound@OFW
2151.2Sthorpej#ess*		at ofisa?
2161.2Sthorpej#audio*		at ess?
2171.2Sthorpej#opl*		at ess?
2181.2Sthorpej#midi*		at opl?
2191.1Sthorpej
2201.61Schristos#spkr*		at audio?		# PC speaker (synthesized)
2211.59Snat
2221.1Sthorpej# Joystick @OFW
2231.2Sthorpej#joy*		at ofisa?
2241.1Sthorpej
2251.53Schristospseudo-device	loop			# network loopback
2261.26Srpaulopseudo-device	bpfilter		# packet filter
2271.27Scube#pseudo-device	sl			# CSLIP
2281.27Scube#pseudo-device	ppp			# PPP
2291.27Scube#pseudo-device	tun			# network tunneling over tty
2301.64Smaxv#pseudo-device	npf			# NPF packet filter
2311.1Sthorpej
2321.1Sthorpejpseudo-device	pty			# pseudo-terminals
2331.27Scube#pseudo-device	vnd			# disk-like interface to files
2341.53Schristos#pseudo-device	ccd			# concatenated disk devices
2351.44Spooka#pseudo-device	fss			# file system snapshot device
2361.1Sthorpej
2371.45Shannkenpseudo-device	md			# Ramdisk driver
2381.1Sthorpej#pseudo-device	profiler 1		# fiq based profiling device
2391.54Schristos#pseudo-device	sequencer		# MIDI sequencer
2401.32Sjmmvpseudo-device	wsmux			# mouse & keyboard multiplexor
2411.32Sjmmv#pseudo-device	wsfont
242