INSTALL revision 1.65
1765b7306Smrg#	$NetBSD: INSTALL,v 1.65 2020/04/18 11:00:42 skrll Exp $
2765b7306Smrg#
3765b7306Smrg#	Shark installation kernel
4765b7306Smrg#
5765b7306Smrg
6765b7306Smrginclude	"arch/shark/conf/std.shark"
7765b7306Smrg
8765b7306Smrg#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9765b7306Smrg
10765b7306Smrg# estimated number of users
11765b7306Smrg
12765b7306Smrgmaxusers	32
13765b7306Smrg
14765b7306Smrg# Standard system options
15765b7306Smrg
16765b7306Smrgoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17765b7306Smrgoptions 	HZ=64
18765b7306Smrg#options 	NTP		# NTP phase/frequency locked loop
19765b7306Smrg#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
20765b7306Smrg
21765b7306Smrg# CPU options
22765b7306Smrg
23765b7306Smrgoptions 	CPU_SA110	# Support the SA110 core
24765b7306Smrgmakeoptions	COPTS="-Os"
25765b7306Smrg
26765b7306Smrg# Architecture options
27765b7306Smrg
28765b7306Smrgoptions 	SHARK		# We are a Shark
29765b7306Smrgoptions 	NSIO		# We are using the National Semi SuperIO
30765b7306Smrg
31765b7306Smrg# compatibility with old version of OFW, which may have incorrect
32765b7306Smrg# properties and/or may set up devices incorrectly.
33765b7306Smrgoptions 	COMPAT_OLD_OFW
34765b7306Smrg
35765b7306Smrg# File systems
36765b7306Smrg
37765b7306Smrgfile-system	FFS		# UFS
38765b7306Smrg#file-system	LFS		# log-structured file system
39765b7306Smrgfile-system	MFS		# memory file system
40765b7306Smrgfile-system	NFS
41765b7306Smrg#file-system 	ADOSFS		# AmigaDOS-compatible file system
42765b7306Smrg#file-system 	EXT2FS		# second extended file system (linux)
43765b7306Smrg#file-system	CD9660		# ISO 9660 + Rock Ridge file system
44765b7306Smrgfile-system	MSDOSFS		# MS-DOS file system
45765b7306Smrg#file-system	FDESC		# /dev/fd
46765b7306Smrg#file-system	FILECORE	# Acorn filecore file system
47765b7306Smrgfile-system	KERNFS		# /kern
48765b7306Smrg#file-system	NULLFS		# loopback file system
49765b7306Smrg#file-system	PROCFS		# /proc
50765b7306Smrg#file-system	UMAPFS		# NULLFS + uid and gid remapping
51765b7306Smrg#file-system	UNION		# union file system
52765b7306Smrg#file-system	PTYFS		# /dev/pts/N support
53765b7306Smrg
54765b7306Smrg# File system options
55765b7306Smrg#options 	QUOTA		# legacy UFS quotas
56765b7306Smrg#options 	QUOTA2		# new, in-filesystem UFS quotas
57765b7306Smrg#options 	FFS_EI		# FFS Endian Independent support
58765b7306Smrg#options 	NFSSERVER
59765b7306Smrg#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
60765b7306Smrgoptions 	WAPBL		# File system journaling support
61765b7306Smrg
62765b7306Smrg# Networking options
63765b7306Smrg
64765b7306Smrg#options 	GATEWAY		# packet forwarding
65765b7306Smrgoptions 	INET		# IP + ICMP + TCP + UDP
66765b7306Smrg#options 	MROUTING	# IP multicast routing
67765b7306Smrg#options 	PIM		# Protocol Independent Multicast
68765b7306Smrg#options 	NETATALK	# AppleTalk networking
69765b7306Smrg				# if you enable the pseudo-device ipl).
70765b7306Smrg
71765b7306Smrg#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
72765b7306Smrg#options 	PPP_DEFLATE	# Deflate compression support for PPP
73765b7306Smrg#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
74765b7306Smrgoptions 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
75765b7306Smrg#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
76765b7306Smrg
77765b7306Smrg# Compatibility options
78765b7306Smrg
79765b7306Smrg#include 	"conf/compat_netbsd09.config"
80765b7306Smrgoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
81765b7306Smrg
82765b7306Smrg# Shared memory options
83765b7306Smrg
84765b7306Smrg#options 	SYSVMSG		# System V-like message queues
85765b7306Smrg#options 	SYSVSEM		# System V-like semaphores
86765b7306Smrg#options 	SYSVSHM		# System V-like memory sharing
87765b7306Smrg
88765b7306Smrg# Device options
89765b7306Smrg
90765b7306Smrgoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
91765b7306Smrgoptions 	MEMORY_DISK_IS_ROOT	# use memory disk as root
92765b7306Smrgoptions 	MEMORY_DISK_ROOT_SIZE=7000	# Size in blocks (3.5MB)
93765b7306Smrgoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
94765b7306Smrg
95765b7306Smrgoptions 	INSECURE		# disable kernel securelevel
96765b7306Smrg
97765b7306Smrg# Use the following to force the serial to always be the console
98765b7306Smrg# device.  19200 is what the serial gets set up as by the firmware
99765b7306Smrg# when it hasn't fallen back from PC.  If it has fallen back then
100765b7306Smrg# the speed will be set at 9600.
101765b7306Smrg#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
102765b7306Smrg
103765b7306Smrg# Miscellaneous kernel options
104765b7306Smrg#options 	KTRACE		# system call tracing, a la ktrace(1)
105765b7306Smrg#options 	IRQSTATS	# manage IRQ statistics, XXX temp required
106765b7306Smrgoptions 	USERCONF	# userconf(4) support
107765b7306Smrgoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
108765b7306Smrg#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
109765b7306Smrg
110765b7306Smrg# Development and Debugging options
111765b7306Smrg
112765b7306Smrg#options 	ARM700BUGTRACK	# track the ARM700 swi bug
113765b7306Smrg#options 	PORTMASTER	# Enable PortMaster only options
114765b7306Smrg#options 	DIAGNOSTIC	# internal consistency checks
115765b7306Smrg#options 	UVMHIST		# kernhist for uvm/pmap subsystems
116765b7306Smrgoptions 	DDB		# in-kernel debugger
117765b7306Smrgpseudo-device	ksyms
118765b7306Smrg#options 	DDB_ONPANIC=0	# don't run DDB at panictime
119765b7306Smrg#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
120765b7306Smrg#options 	KERNEL_DEBUG	# compile in kernel debugging capability
121765b7306Smrg#makeoptions	DEBUG="-g"	# compile full symbol table
122765b7306Smrg
123765b7306Smrg#
124765b7306Smrg# wscons options
125765b7306Smrg#
126765b7306Smrg# builtin terminal emulations
127765b7306Smrg#options 	WSEMUL_SUN		# sun terminal emulation
128765b7306Smrgoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1290d22642bSmrg# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1300d22642bSmrg#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1310d22642bSmrg#options 	WS_DEFAULT_FG=WSCOL_WHITE
1320d22642bSmrg#options 	WS_DEFAULT_BG=WSCOL_BLACK
1330d22642bSmrg#options 	WS_DEFAULT_COLATTR="(0)"
1340d22642bSmrg#options 	WS_DEFAULT_MONOATTR="(0)"
1350d22642bSmrg#options 	WS_KERNEL_FG=WSCOL_GREEN
1360d22642bSmrg#options 	WS_KERNEL_BG=WSCOL_BLACK
1370d22642bSmrg#options 	WS_KERNEL_COLATTR=""
1380d22642bSmrg#options 	WS_KERNEL_MONOATTR=""
1390d22642bSmrg# customization of console border color
1400d22642bSmrg#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
1410d22642bSmrg#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
1420d22642bSmrg# compatibility to other console drivers
1430d22642bSmrg#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1440d22642bSmrg#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1450d22642bSmrg#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1460d22642bSmrg#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1470d22642bSmrg# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1480d22642bSmrg#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1490d22642bSmrg#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
1500d22642bSmrg# allocate a number of virtual screens at autoconfiguration time
1510d22642bSmrg#options 	WSDISPLAY_DEFAULTSCREENS=4
1520d22642bSmrg# use a large software cursor that doesn't blink
1530d22642bSmrg#options 	PCDISPLAY_SOFTCURSOR
1540d22642bSmrg# modify the screen type of the console; defaults to "80x25"
1550d22642bSmrg#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
1560d22642bSmrg# console scrolling support.
1570d22642bSmrg#options 	WSDISPLAY_SCROLLSUPPORT
1580d22642bSmrg# enable VGA raster mode capable of displaying multilingual text on console
1590d22642bSmrg#options 	VGA_RASTERCONSOLE
1600d22642bSmrg
1610d22642bSmrgconfig		netbsd		root on ? type ffs	# root on miniroot
1620d22642bSmrg
1630d22642bSmrg# The main bus device
1640d22642bSmrgmainbus0 at root
1650d22642bSmrg
1660d22642bSmrg# The boot CPU
1670d22642bSmrgcpu0 at mainbus?
1680d22642bSmrg
1690d22642bSmrg# Open Firmware devices
1700d22642bSmrgofbus*		at root
1710d22642bSmrgofbus*		at ofbus?
1720d22642bSmrg#ofdisk* 	at ofbus?
1730d22642bSmrg#ofnet*		at ofbus?	# don't use with cs0
1740d22642bSmrg#ofcons* 	at ofbus?	# don't use with pc0
1750d22642bSmrgofrtc*		at ofisa?
1760d22642bSmrgofrom*		at ofbus?
1770d22642bSmrg
1780d22642bSmrgofisa*		at ofbus?
1790d22642bSmrgofbus*		at ofisa?
1800d22642bSmrg
1810d22642bSmrg# IDE/ATA disk
1820d22642bSmrgwdc*		at ofisa?
1830d22642bSmrgatabus* 	at wdc? channel ?
1840d22642bSmrgwd*		at atabus? drive ?
1850d22642bSmrg
1860d22642bSmrgatapibus*	at atabus?
1870d22642bSmrgcd*		at atapibus? drive?
1880d22642bSmrgsd*		at atapibus? drive?
1890d22642bSmrg
1900d22642bSmrg# PCCONS@OFW
1910d22642bSmrg#ofisapc*	at ofbus?
1920d22642bSmrg#pc*		at ofisapc?
1930d22642bSmrg
1940d22642bSmrg# PS/2 Mouse
1950d22642bSmrg#opms0		at spckbd? irq 12
1960d22642bSmrg
1970d22642bSmrg# wscons
1980d22642bSmrgpckbc*		at ofisa?
1990d22642bSmrgpckbd*		at pckbc?
2000d22642bSmrg#pms*		at pckbc?
2010d22642bSmrgvga*		at ofbus?
2020d22642bSmrg#igsfb*		at ofbus?
2030d22642bSmrgwsdisplay*	at wsemuldisplaydev?
2040d22642bSmrgwskbd*		at pckbd? console ?
2050d22642bSmrg#wsmouse*	at pms? mux 0
2060d22642bSmrg
2070d22642bSmrg# CS8900 Ethernet@OFW
2080d22642bSmrgcs*		at ofisa?
2090d22642bSmrg
2100d22642bSmrg# Serial @OFW
2110d22642bSmrgcom*		at ofisa?
2120d22642bSmrg
2130d22642bSmrg# Parallel @OFW
2140d22642bSmrglpt*		at ofisa?
2150d22642bSmrg
2160d22642bSmrg# Smart Card
2170d22642bSmrgofisascr*	at ofisa?
2180d22642bSmrgscr*		at ofisascr?
2190d22642bSmrg
2200d22642bSmrg# ESS Sound@OFW
2210d22642bSmrg#ess*		at ofisa?
2220d22642bSmrg#audio*		at ess?
2230d22642bSmrg#opl*		at ess?
2240d22642bSmrg#midi*		at opl?
2250d22642bSmrg
2260d22642bSmrg#spkr*		at audio?		# PC speaker (synthesized)
2270d22642bSmrg
2280d22642bSmrg# Joystick @OFW
2290d22642bSmrg#joy*		at ofisa?
2300d22642bSmrg
2310d22642bSmrgpseudo-device	loop			# network loopback
2320d22642bSmrgpseudo-device	bpfilter		# packet filter
2330d22642bSmrg#pseudo-device	sl			# CSLIP
2340d22642bSmrg#pseudo-device	ppp			# PPP
2350d22642bSmrg#pseudo-device	tun			# network tunneling over tty
2360d22642bSmrg#pseudo-device	npf			# NPF packet filter
2370d22642bSmrg
2380d22642bSmrgpseudo-device	pty			# pseudo-terminals
2390d22642bSmrg#pseudo-device	vnd			# disk-like interface to files
2400d22642bSmrg#pseudo-device	ccd			# concatenated disk devices
2410d22642bSmrg#pseudo-device	fss			# file system snapshot device
2420d22642bSmrg
2430d22642bSmrgpseudo-device	md			# Ramdisk driver
2440d22642bSmrg#pseudo-device	profiler 1		# fiq based profiling device
2450d22642bSmrg#pseudo-device	sequencer		# MIDI sequencer
2460d22642bSmrgpseudo-device	wsmux			# mouse & keyboard multiplexor
2470d22642bSmrg#pseudo-device	wsfont
2480d22642bSmrg