INSTALL revision 1.49
11.49Skiyohara#	$NetBSD: INSTALL,v 1.49 2010/10/16 05:39:34 kiyohara Exp $
21.1Ssakamoto#
31.1Ssakamoto# 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.1Ssakamotooptions 	COMPAT_10
421.1Ssakamotooptions 	COMPAT_12
431.1Ssakamotooptions 	COMPAT_13
441.4Saugustssoptions 	COMPAT_14
451.39Smanuoptions 	COMPAT_15
461.31Ssimonboptions 	COMPAT_16
471.31Ssimonboptions 	COMPAT_20
481.32Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
491.43Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
501.49Skiyohara#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
511.49Skiyohara#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.49Skiyoharafile-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.1Ssakamotoconfig		netbsd	root on ? type ffs
831.1Ssakamoto
841.1Ssakamoto#
851.1Ssakamoto# device
861.1Ssakamoto#
871.1Ssakamotooptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
881.1Ssakamoto
891.49Skiyohara#options 	PCIVERBOSE	# verbose PCI device messages
901.5Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
911.1Ssakamoto
921.1Ssakamotomainbus0 at root
931.1Ssakamoto
941.13Smattcpu*	at mainbus0
951.1Ssakamotopci0	at mainbus0 bus ?
961.1Ssakamoto
971.49Skiyohara#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
981.49Skiyohara#pci*	at ppb? bus ?
991.1Ssakamotopchb*	at pci? dev ? function ?	# PCI-Host bridges
1001.1Ssakamotopcib*	at pci? dev ? function ?	# PCI-ISA bridges
1011.1Ssakamoto
1021.1Ssakamotoisa*	at pcib?			# ISA on PCI-ISA bridge
1031.1Ssakamoto
1041.38Sgdamoremcclock0 at isa? port 0x70		# generic time-of-day clock
1051.38Sgdamore
1061.49Skiyohara# Console Devices
1071.49Skiyohara
1081.49Skiyohara# wscons
1091.49Skiyoharapckbc0		at isa?			# pc keyboard controller
1101.49Skiyoharapckbd*		at pckbc?		# PC keyboard
1111.49Skiyohara#pms*		at pckbc?		# PS/2 mouse for wsmouse
1121.49Skiyohara#options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
1131.49Skiyohara#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
1141.49Skiyoharagenfb*		at pci? dev ? function ?
1151.49Skiyoharaoptions 	WSFB_FAKE_VGA_FB
1161.49Skiyoharavga*		at pci? dev ? function ?
1171.49Skiyoharawsdisplay*	at vga? console ?
1181.49Skiyoharawskbd*		at pckbd? console ?
1191.49Skiyohara#wsmouse*	at pms? mux 0
1201.49Skiyohara
1211.49Skiyohara# make sure the console display is always wsdisplay0
1221.49Skiyoharawsdisplay0	at wsemuldisplaydev? console 1
1231.49Skiyoharawsdisplay*	at wsemuldisplaydev?
1241.49Skiyohara
1251.1Ssakamotocom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
1261.1Ssakamotocom1	at isa? port 0x2f8 irq 3
1271.1Ssakamoto#com2	at isa? port 0x380 irq 16
1281.1Ssakamoto#com3	at isa? port 0x388 irq 17
1291.14Slukem
1301.49Skiyohara#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
1311.1Ssakamoto
1321.49Skiyoharasiop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
1331.49Skiyoharascsibus* at siop?
1341.1Ssakamoto
1351.49Skiyoharasd*	at scsibus? target ? lun ?	# SCSI disk drives
1361.1Ssakamoto#st*	at scsibus? target ? lun ?	# SCSI tape drives
1371.49Skiyoharacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1381.1Ssakamoto#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1391.1Ssakamoto#ss*	at scsibus? target ? lun ?	# SCSI scanners
1401.1Ssakamoto#uk*	at scsibus? target ? lun ?	# SCSI unknown
1411.1Ssakamoto
1421.1Ssakamotofdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
1431.1Ssakamoto#fdc1	at isa? port 0x370 irq ? drq ?
1441.1Ssakamotofd0	at fdc? drive 1
1451.1Ssakamoto#fd*	at fdc? drive ?
1461.1Ssakamoto
1471.1Ssakamotowdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
1481.26Slukematabus* at ata?
1491.25Sbouyerwd*	at atabus? drive ?
1501.1Ssakamoto
1511.49Skiyohara# Network devices
1521.49Skiyoharaec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
1531.1Ssakamotone0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
1541.49Skiyoharafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
1551.49Skiyoharane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
1561.49Skiyoharatlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
1571.1Ssakamoto
1581.1Ssakamoto#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
1591.1Ssakamoto#spkr0	at pckbd? port 0x61
1601.1Ssakamoto
1611.1Ssakamoto# Joystick driver. Probe is a little strange; add only if you have one.
1621.1Ssakamoto#joy0	at isa? port 0x201
1631.24Sitojun
1641.49Skiyohara#pseudo-device	vnd		
1651.49Skiyohara#pseudo-device	fss			# file system snapshot device
1661.49Skiyoharapseudo-device	md		1
1671.49Skiyoharapseudo-device	loop
1681.49Skiyohara#pseudo-device	bpfilter		# packet filter
1691.49Skiyoharapseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1701.24Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
171