INSTALL revision 1.51
11.51Shannken#	$NetBSD: INSTALL,v 1.51 2010/11/23 11:13:55 hannken Exp $
21.1Ssakamoto#
31.50Skiyohara# First try for BeBox config file
41.1Ssakamoto#
51.1Ssakamoto
61.1Ssakamotoinclude "arch/bebox/conf/std.bebox"
71.21Satatat
81.21Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Ssakamoto
101.1Ssakamotomaxusers	32
111.7Sabs
121.14Slukemmakeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
131.1Ssakamoto
141.1Ssakamoto# Enable the hooks used for initializing the root memory-disk.
151.45Sjymoptions 	MEMORY_DISK_HOOKS
161.45Sjymoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
171.45Sjymoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
181.49Skiyoharaoptions 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
191.46Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
201.1Ssakamoto
211.1Ssakamoto#options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
221.1Ssakamoto#options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
231.1Ssakamoto# HMAC key to be used for debugging sessions
241.1Ssakamoto#options 	IPKDBKEY="\"HMAC pass phrase text\""
251.1Ssakamoto#options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
261.14Slukem#makeoptions	DEBUG="-g"
271.1Ssakamoto
281.1Ssakamoto#options 	DEBUG
291.1Ssakamoto#options 	DIAGNOSTIC
301.1Ssakamoto#options 	TRAP_PANICWAIT
311.1Ssakamoto#options 	DDB
321.1Ssakamoto#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
331.1Ssakamoto#options 	KTRACE
341.23Slukemoptions 	USERCONF		# userconf(4) support
351.19Sgmcgarryoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
361.27Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
371.1Ssakamoto
381.12Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
391.1Ssakamoto#options 	COMPAT_43
401.1Ssakamoto#options 	COMPAT_09
411.50Skiyohara#options 	COMPAT_10
421.50Skiyohara#options 	COMPAT_12
431.50Skiyohara#options 	COMPAT_13
441.50Skiyohara#options 	COMPAT_14
451.50Skiyohara#options 	COMPAT_15
461.50Skiyohara#options 	COMPAT_16
471.50Skiyohara#options 	COMPAT_20
481.50Skiyohara#options 	COMPAT_30	# NetBSD 3.0 compatibility.
491.50Skiyohara#options 	COMPAT_40	# NetBSD 4.0 compatibility.
501.49Skiyohara#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
511.50Skiyohara#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
521.1Ssakamoto
531.8Sabs# File systems
541.1Ssakamotofile-system 	FFS
551.49Skiyohara#file-system	EXT2FS
561.1Ssakamotofile-system 	MFS
571.1Ssakamotofile-system 	NFS
581.1Ssakamotofile-system 	CD9660
591.1Ssakamotofile-system 	MSDOSFS
601.1Ssakamoto#file-system 	FDESC
611.1Ssakamotofile-system 	KERNFS
621.1Ssakamoto#file-system 	NULLFS
631.1Ssakamoto#file-system 	PROCFS
641.1Ssakamoto#file-system 	UMAPFS
651.1Ssakamoto#file-system 	UNION
661.33Schristosfile-system	PTYFS		# /dev/pts/N support
671.50Skiyohara#file-system	TMPFS
681.1Ssakamoto
691.8Sabs# Filesystem options
701.49Skiyoharaoptions 	NFS_V2_ONLY	# Exclude NFS3 code to save space
711.49Skiyohara#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
721.49Skiyohara#options 	WAPBL		# File system journaling support - Experimental
731.8Sabs
741.1Ssakamoto#options 	NFSSERVER
751.1Ssakamoto
761.1Ssakamotooptions 	INET
771.1Ssakamoto
781.49Skiyoharaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
791.12Sabs
801.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
811.1Ssakamoto
821.50Skiyohara# wscons options
831.50Skiyohara# builtin terminal emulations
841.50Skiyohara#options 	WSEMUL_SUN		# sun terminal emulation
851.50Skiyoharaoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
861.50Skiyoharaoptions 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
871.50Skiyohara# compatibility to other console drivers
881.50Skiyoharaoptions 	WSDISPLAY_COMPAT_USL	# VT handling
891.50Skiyoharaoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
901.50Skiyohara
911.1Ssakamotoconfig		netbsd	root on ? type ffs
921.1Ssakamoto
931.1Ssakamoto#
941.1Ssakamoto# device
951.1Ssakamoto#
961.1Ssakamotooptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
971.1Ssakamoto
981.49Skiyohara#options 	PCIVERBOSE	# verbose PCI device messages
991.5Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1001.1Ssakamoto
1011.1Ssakamotomainbus0 at root
1021.1Ssakamoto
1031.13Smattcpu*	at mainbus0
1041.1Ssakamotopci0	at mainbus0 bus ?
1051.1Ssakamoto
1061.49Skiyohara#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
1071.49Skiyohara#pci*	at ppb? bus ?
1081.1Ssakamotopchb*	at pci? dev ? function ?	# PCI-Host bridges
1091.1Ssakamotopcib*	at pci? dev ? function ?	# PCI-ISA bridges
1101.1Ssakamoto
1111.1Ssakamotoisa*	at pcib?			# ISA on PCI-ISA bridge
1121.1Ssakamoto
1131.49Skiyohara# Console Devices
1141.49Skiyohara
1151.49Skiyohara# wscons
1161.49Skiyoharapckbc0		at isa?			# pc keyboard controller
1171.49Skiyoharapckbd*		at pckbc?		# PC keyboard
1181.49Skiyohara#pms*		at pckbc?		# PS/2 mouse for wsmouse
1191.49Skiyohara#options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
1201.49Skiyohara#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
1211.49Skiyoharagenfb*		at pci? dev ? function ?
1221.49Skiyoharaoptions 	WSFB_FAKE_VGA_FB
1231.49Skiyoharavga*		at pci? dev ? function ?
1241.49Skiyoharawsdisplay*	at vga? console ?
1251.49Skiyoharawskbd*		at pckbd? console ?
1261.49Skiyohara#wsmouse*	at pms? mux 0
1271.49Skiyohara
1281.49Skiyohara# make sure the console display is always wsdisplay0
1291.49Skiyoharawsdisplay0	at wsemuldisplaydev? console 1
1301.49Skiyoharawsdisplay*	at wsemuldisplaydev?
1311.49Skiyohara
1321.1Ssakamotocom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
1331.1Ssakamotocom1	at isa? port 0x2f8 irq 3
1341.1Ssakamoto#com2	at isa? port 0x380 irq 16
1351.1Ssakamoto#com3	at isa? port 0x388 irq 17
1361.14Slukem
1371.49Skiyohara#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
1381.1Ssakamoto
1391.50Skiyoharamcclock0 at isa? port 0x70		# time-of-day clock
1401.50Skiyoharaattimer0 at isa?
1411.50Skiyohara
1421.49Skiyoharasiop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
1431.49Skiyoharascsibus* at siop?
1441.1Ssakamoto
1451.49Skiyoharasd*	at scsibus? target ? lun ?	# SCSI disk drives
1461.1Ssakamoto#st*	at scsibus? target ? lun ?	# SCSI tape drives
1471.49Skiyoharacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1481.1Ssakamoto#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1491.1Ssakamoto#ss*	at scsibus? target ? lun ?	# SCSI scanners
1501.1Ssakamoto#uk*	at scsibus? target ? lun ?	# SCSI unknown
1511.1Ssakamoto
1521.1Ssakamotofdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
1531.1Ssakamoto#fdc1	at isa? port 0x370 irq ? drq ?
1541.1Ssakamotofd0	at fdc? drive 1
1551.1Ssakamoto#fd*	at fdc? drive ?
1561.1Ssakamoto
1571.1Ssakamotowdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
1581.26Slukematabus* at ata?
1591.25Sbouyerwd*	at atabus? drive ?
1601.1Ssakamoto
1611.50Skiyohara# ATAPI bus support
1621.50Skiyoharaatapibus* at atapi?
1631.50Skiyohara
1641.50Skiyohara# ATAPI devices
1651.50Skiyohara# flags have the same meaning as for IDE drives.
1661.50Skiyoharacd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1671.50Skiyohara#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1681.50Skiyohara#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
1691.50Skiyohara#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1701.50Skiyohara
1711.49Skiyohara# Network devices
1721.49Skiyoharaec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1731.1Ssakamotone0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
1741.49Skiyoharafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
1751.49Skiyoharane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
1761.49Skiyoharatlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
1771.1Ssakamoto
1781.50Skiyohara# MII/PHY support
1791.50Skiyoharaukphy*  at mii? phy ?                   # generic unknown PHYs
1801.50Skiyohara
1811.1Ssakamoto#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
1821.50Skiyohara#spkr0	at pcppi?
1831.1Ssakamoto
1841.1Ssakamoto# Joystick driver. Probe is a little strange; add only if you have one.
1851.1Ssakamoto#joy0	at isa? port 0x201
1861.24Sitojun
1871.49Skiyohara#pseudo-device	vnd		
1881.49Skiyohara#pseudo-device	fss			# file system snapshot device
1891.51Shannkenpseudo-device	md		
1901.49Skiyoharapseudo-device	loop
1911.49Skiyohara#pseudo-device	bpfilter		# packet filter
1921.49Skiyoharapseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1931.24Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
194