INSTALL revision 1.21
11.21Schristos#	$NetBSD: INSTALL,v 1.21 2005/08/19 02:03:53 christos 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.1Sthorpejoptions 	NMBCLUSTERS=1024 # XXX, temporarily required
201.1Sthorpej#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
211.1Sthorpej
221.1Sthorpej# CPU options
231.1Sthorpej
241.1Sthorpejoptions 	CPU_SA110	# Support the SA110 core
251.2Sthorpejmakeoptions	COPTS="-Os"
261.1Sthorpej
271.1Sthorpej# Architecture options
281.1Sthorpej
291.1Sthorpejoptions 	SHARK		# We are a Shark
301.1Sthorpejoptions 	NSIO		# We are using the National Semi SuperIO
311.1Sthorpej
321.1Sthorpej# compatibility with old version of OFW, which may have incorrect
331.1Sthorpej# properties and/or may set up devices incorrectly.
341.1Sthorpejoptions 	COMPAT_OLD_OFW
351.1Sthorpej
361.1Sthorpej# FPA options
371.1Sthorpej
381.1Sthorpej#options 	ARMFPE		# ARM Ltd FPE
391.1Sthorpej
401.1Sthorpej# File systems
411.1Sthorpej
421.1Sthorpejfile-system	FFS		# UFS
431.1Sthorpej#file-system	LFS		# log-structured file system
441.1Sthorpejfile-system	MFS		# memory file system
451.1Sthorpejfile-system	NFS
461.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
471.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
481.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
491.1Sthorpejfile-system	MSDOSFS		# MS-DOS file system
501.1Sthorpej#file-system	FDESC		# /dev/fd
511.1Sthorpej#file-system	FILECORE	# Acorn filecore file system
521.1Sthorpejfile-system	KERNFS		# /kern
531.1Sthorpej#file-system	NULLFS		# loopback file system
541.1Sthorpej#file-system	PORTAL		# portal filesystem (still experimental)
551.1Sthorpej#file-system	PROCFS		# /proc
561.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
571.1Sthorpej#file-system	UNION		# union file system
581.1Sthorpej
591.1Sthorpej# File system options
601.1Sthorpej#options 	QUOTA		# UFS quotas
611.1Sthorpej#options 	FFS_EI		# FFS Endian Independant support
621.1Sthorpej#options 	NFSSERVER
631.19Sdsl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
641.1Sthorpej
651.7Sabsoptions 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
661.7Sabs
671.1Sthorpej# Networking options
681.1Sthorpej
691.1Sthorpej#options 	GATEWAY		# packet forwarding
701.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
711.1Sthorpej#options 	MROUTING	# IP multicast routing
721.15Smanu#options 	PIM		# Protocol Independent Multicast
731.1Sthorpej#options 	NS		# XNS
741.1Sthorpej#options 	NSIP		# XNS tunneling over IP
751.1Sthorpej#options 	ISO,TPIP	# OSI
761.1Sthorpej#options 	EON		# OSI tunneling over IP
771.1Sthorpej#options 	CCITT,LLC,HDLC	# X.25
781.1Sthorpej#options 	NETATALK	# AppleTalk networking
791.1Sthorpej#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
801.1Sthorpej				# if you enable the pseudo-device ipl).
811.1Sthorpej
821.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
831.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
841.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
851.1Sthorpejoptions 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
861.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
871.1Sthorpej
881.1Sthorpej# Compatibility options
891.1Sthorpej
901.2Sthorpej#options 	COMPAT_43	# 4.3BSD compatibility.
911.21Schristos#options 	COMPAT_30	# NetBSD 3.0 compatibility.
921.20Ssimonb#options 	COMPAT_20	# NetBSD 2.0 compatibility.
931.20Ssimonb#options 	COMPAT_16	# NetBSD 1.6 compatibility.
941.2Sthorpej#options 	COMPAT_14	# NetBSD 1.4 compatibility.
951.2Sthorpej#options 	COMPAT_13	# NetBSD 1.3 compatibility.
961.2Sthorpej#options 	COMPAT_12	# NetBSD 1.2 compatibility.
971.1Sthorpej#options 	COMPAT_11	# NetBSD 1.1 compatibility.
981.1Sthorpej#options 	COMPAT_10	# NetBSD 1.0 compatibility.
991.1Sthorpej#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1001.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1011.16Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1021.1Sthorpej
1031.1Sthorpej# Shared memory options
1041.1Sthorpej
1051.2Sthorpej#options 	SYSVMSG		# System V-like message queues
1061.2Sthorpej#options 	SYSVSEM		# System V-like semaphores
1071.2Sthorpej#options 	SYSVSHM		# System V-like memory sharing
1081.1Sthorpej#options 	SHMMAXPGS=1024	# 1024 pages is the default
1091.1Sthorpej
1101.1Sthorpej# Device options
1111.1Sthorpej
1121.1Sthorpejoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1131.1Sthorpejoptions 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1141.4Slukemoptions 	MEMORY_DISK_ROOT_SIZE=7000	# Size in blocks (3.5MB)
1151.1Sthorpej
1161.1Sthorpejoptions 	XSERVER			# also need INSECURE for now
1171.1Sthorpejoptions 	INSECURE		# disable kernel securelevel
1181.1Sthorpej
1191.1Sthorpej# Use the following to force the serial to always be the console
1201.1Sthorpej# device.  19200 is what the serial gets set up as by the firmware
1211.1Sthorpej# when it hasn't fallen back from PC.  If it has fallen back then
1221.1Sthorpej# the speed will be set at 9600.
1231.1Sthorpej#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
1241.1Sthorpej
1251.1Sthorpej# Miscellaneous kernel options
1261.2Sthorpej#options 	KTRACE		# system call tracing, a la ktrace(1)
1271.2Sthorpej#options 	IRQSTATS	# manage IRQ statistics, XXX temp required
1281.1Sthorpej#options 	LKM		# loadable kernel modules
1291.2Sthorpej#options 	KMEMSTATS	# kernel memory statistics, XXX temp required
1301.8Slukemoptions 	USERCONF	# userconf(4) support
1311.7Sabsoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
1321.14Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1331.7Sabsoptions 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
1341.1Sthorpej
1351.1Sthorpej# Development and Debugging options
1361.1Sthorpej
1371.1Sthorpej#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1381.1Sthorpej#options 	PORTMASTER	# Enable PortMaster only options
1391.2Sthorpej#options 	DIAGNOSTIC	# internal consistency checks
1401.1Sthorpej#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1411.1Sthorpej#options 	IPKDB		# remote kernel debugging
1421.1Sthorpejoptions 	DDB		# in-kernel debugger
1431.1Sthorpej#options 	DDB_ONPANIC=0	# don't run DDB at panictime
1441.1Sthorpej#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1451.9Swiz#options 	KERNEL_DEBUG	# compile in kernel debugging capability
1461.1Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
1471.1Sthorpej
1481.1Sthorpejconfig		netbsd		root on ? type ffs	# root on miniroot
1491.1Sthorpej
1501.1Sthorpej# The main bus device
1511.1Sthorpejmainbus0 at root
1521.1Sthorpej
1531.13Swiz# The boot CPU
1541.1Sthorpejcpu0 at mainbus?
1551.1Sthorpej
1561.1Sthorpej# Open Firmware devices
1571.1Sthorpejofbus*		at root
1581.1Sthorpejofbus*		at ofbus?
1591.1Sthorpej#ofdisk* 	at ofbus?
1601.1Sthorpej#ofnet*		at ofbus?	# don't use with cs0
1611.1Sthorpej#ofcons* 	at ofbus?	# don't use with pc0
1621.1Sthorpejofrtc*		at ofisa?
1631.1Sthorpejofrom*		at ofbus?
1641.1Sthorpej
1651.1Sthorpejofisa*		at ofbus?
1661.1Sthorpejofbus*		at ofisa?
1671.1Sthorpej
1681.1Sthorpej# IDE/ATA disk
1691.1Sthorpejwdc*		at ofisa?
1701.12Sbouyeratabus* 	at wdc? channel ?
1711.12Sbouyerwd*		at atabus? drive ?
1721.1Sthorpej
1731.12Sbouyeratapibus*	at atabus?
1741.1Sthorpejcd*		at atapibus? drive?
1751.1Sthorpejsd*		at atapibus? drive?
1761.1Sthorpej
1771.1Sthorpej# PCCONS@OFW
1781.1Sthorpejofisapc*	at ofbus?
1791.1Sthorpejpc*		at ofisapc?
1801.1Sthorpej
1811.1Sthorpej# PS/2 Mouse
1821.1Sthorpejopms0		at spckbd? irq 12
1831.1Sthorpej
1841.1Sthorpej# CS8900 Ethernet@OFW
1851.1Sthorpejcs*		at ofisa?
1861.1Sthorpej
1871.1Sthorpej# Serial @OFW
1881.1Sthorpejcom*		at ofisa?
1891.1Sthorpej
1901.1Sthorpej# Parallel @OFW
1911.1Sthorpejlpt*		at ofisa?
1921.1Sthorpej
1931.1Sthorpej# Smart Card
1941.1Sthorpejofisascr*	at ofisa?
1951.1Sthorpejscr*		at ofisascr?
1961.1Sthorpej
1971.1Sthorpej# ESS Sound@OFW
1981.2Sthorpej#ess*		at ofisa?
1991.2Sthorpej#audio*		at ess?
2001.2Sthorpej#opl*		at ess?
2011.2Sthorpej#midi*		at opl?
2021.1Sthorpej
2031.1Sthorpej# Joystick @OFW
2041.2Sthorpej#joy*		at ofisa?
2051.1Sthorpej
2061.1Sthorpejpseudo-device	loop	1		# network loopback
2071.1Sthorpejpseudo-device	bpfilter 8		# packet filter
2081.1Sthorpej#pseudo-device	sl	2		# CSLIP
2091.1Sthorpej#pseudo-device	ppp	2		# PPP
2101.1Sthorpej#pseudo-device	tun	2		# network tunneling over tty
2111.1Sthorpej#pseudo-device	ipfilter 1		# ip filter
2121.1Sthorpej
2131.1Sthorpejpseudo-device	pty			# pseudo-terminals
2141.1Sthorpej#pseudo-device	tb	1		# tablet line discipline
2151.2Sthorpej#pseudo-device	vnd	4		# disk-like interface to files
2161.1Sthorpej#pseudo-device	ccd	2		# concatenated disk devices
2171.17Shannken#pseudo-device	fss	4		# file system snapshot device
2181.1Sthorpejpseudo-device	rnd			# /dev/random and /dev/urandom
2191.1Sthorpej
2201.1Sthorpejpseudo-device	md	1		# Ramdisk driver
2211.1Sthorpej#pseudo-device	profiler 1		# fiq based profiling device
2221.2Sthorpej#pseudo-device	sequencer 1		# MIDI sequencer
223