INSTALL revision 1.41
11.41Stsutsui# 	$NetBSD: INSTALL,v 1.41 2007/02/17 01:27:07 tsutsui Exp $
21.1Stsutsui
31.1Stsutsui#	config for bootable floppy kernel
41.1Stsutsui#
51.1Stsutsuiinclude		"arch/news68k/conf/std.news68k"
61.19Satatat
71.19Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.1Stsutsui
91.14Slukemmakeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
101.7Sabs
111.5Stsutsuimaxusers	4
121.1Stsutsui
131.3Stsutsuioptions 	news1200		# news1200 support
141.3Stsutsuioptions 	news1700		# news1[4567]00 support
151.1Stsutsuioptions 	CPU_SINGLE		# Will IOP be supported eventually?
161.1Stsutsui#options 	FPU_EMULATE
171.1Stsutsui
181.1Stsutsuioptions 	MEMORY_DISK_HOOKS
191.1Stsutsuioptions 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
201.1Stsutsuioptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
211.17Slukemoptions 	MEMORY_DISK_ROOT_SIZE=2880	# 1.44 Megabytes
221.1Stsutsui
231.1Stsutsui# Standard system options
241.1Stsutsui#options 	KTRACE			# system call tracing support
251.1Stsutsui#options 	SYSVMSG			# System V message queues
261.1Stsutsui#options 	SYSVSEM			# System V semaphores
271.1Stsutsui#options 	SYSVSHM			# System V shared memory
281.3Stsutsui#options 	SHMMAXPGS=1024		# 1024 pages is the default
291.1Stsutsui#options 	LKM			# loadable kernel modules
301.21Slukemoptions 	USERCONF		# userconf(4) support
311.28Stsutsuioptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
321.25Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
331.1Stsutsui
341.1Stsutsui# Debugging options
351.1Stsutsui#options 	DDB			# kernel dynamic debugger
361.1Stsutsui#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
371.1Stsutsui#options 	DEBUG			# extra kernel debugging support
381.1Stsutsui#options 	DIAGNOSTIC		# extra kernel sanity checking
391.1Stsutsui#options 	SCSIVERBOSE		# Verbose SCSI errors
401.1Stsutsui
411.1Stsutsui# Compatibility options
421.5Stsutsui#options 	COMPAT_43		# compatibility with 4.3BSD binaries
431.5Stsutsui#options 	COMPAT_13		# NetBSD 1.3 binary compatibility
441.5Stsutsui#options 	COMPAT_14		# NetBSD 1.4 binary compatibility
451.24Scl#options 	COMPAT_15		# NetBSD 1.5 binary compatibility
461.24Scl#options 	COMPAT_16		# NetBSD 1.6 binary compatibility
471.26Stsutsui#options 	COMPAT_20		# NetBSD 2.0 binary compatibility
481.32Schristos#options 	COMPAT_30		# NetBSD 3.0 compatibility.
491.28Stsutsuioptions 	COMPAT_BSDPTY		# /dev/[pt]ty?? ptys.
501.13Sabs
511.13Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
521.1Stsutsui
531.8Sabs# File systems
541.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
551.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
561.1Stsutsuifile-system	MFS		# memory-based filesystem
571.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
581.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
591.6Stsutsui#file-system	KERNFS		# /kern
601.1Stsutsui#file-system	PROCFS		# /proc
611.1Stsutsui#file-system	FDESC		# /dev/fd/*
621.1Stsutsui#file-system	NULLFS		# loopback file system
631.14Slukem#file-system	UNION		# union file system
641.33Schristos#file-system	PTYFS		# /dev/pts/N support
651.1Stsutsui
661.8Sabs# Filesystem options
671.1Stsutsui#options 	NFSSERVER	# nfs server support
681.1Stsutsui#options 	QUOTA		# ffs quotas
691.39Swiz#options 	FFS_EI		# ffs endian independent support
701.40Syamtoptions 	NFS_V2_ONLY	# Exclude NFS3 code to save space
711.34Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
721.1Stsutsui
731.1Stsutsui# Networking options
741.1Stsutsuioptions 	INET		# Internet protocols
751.1Stsutsui#options 	GATEWAY		# IP packet forwarding
761.1Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
771.1Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
781.37Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
791.13Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
801.1Stsutsui#options 	NFS_BOOT_BOOTPARAM
811.1Stsutsui
821.2Stsutsuiconfig	netbsd root on ? type ? dumps on none
831.1Stsutsui
841.1Stsutsui#
851.1Stsutsui# device declarations
861.1Stsutsui#
871.1Stsutsui
881.1Stsutsuimainbus0 at root
891.1Stsutsui
901.1Stsutsui# NEWS HYPER-BUS
911.3Stsutsuihb0	at mainbus0 systype NEWS1700
921.3Stsutsuihb1	at mainbus0 systype NEWS1200
931.1Stsutsui
941.12Stsutsui# interval timer
951.12Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
961.12Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
971.12Stsutsui
981.12Stsutsui# MK48T02 TOD clock
991.12Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
1001.12Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
1011.1Stsutsui
1021.1Stsutsui# onboard LANCE ethernet
1031.3Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
1041.3Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
1051.1Stsutsui
1061.1Stsutsui# keyboard/mouse; not yet
1071.3Stsutsui#kb0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1081.3Stsutsui#ms0	at hb0 addr 0xe0d00005 ipl 5			# news1700
1091.3Stsutsui#kb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1101.3Stsutsui#ms0	at hb1 addr 0xe1280000 ipl 5			# news1200
1111.1Stsutsui
1121.1Stsutsui# onboard z8530 SCC
1131.3Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1141.3Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1151.1Stsutsuizstty0	at zsc0 channel 0
1161.1Stsutsuizstty1	at zsc0 channel 1
1171.1Stsutsui
1181.1Stsutsui# Frame buffer devices; not yet
1191.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1201.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1211.1Stsutsui
1221.1Stsutsui# onboard uPD72067 FDC; not yet
1231.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1241.1Stsutsui#fd*	at fdc0
1251.1Stsutsui
1261.1Stsutsui# onboard CXD1180 SCSI controller
1271.1Stsutsui#
1281.1Stsutsui# This driver has several flags which may be enabled using
1291.1Stsutsui# the "flags" directive.  Valid flags are:
1301.1Stsutsui#
1311.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1321.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1331.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
1341.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
1351.1Stsutsui#
1361.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
1371.1Stsutsui# and disable disconnect/reselect for targets 0-3
1381.1Stsutsui#
1391.41Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0x0
1401.14Slukemscsibus* at si0
1411.1Stsutsui
1421.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
1431.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
1441.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
1451.1Stsutsui
1461.1Stsutsui# Misc.
1471.1Stsutsuipseudo-device	loop			# loopback interface; required
1481.9Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1491.1Stsutsuipseudo-device	md		1	# memory disk device
1501.29Shannken#pseudo-device	fss		4	# file system snapshot device
1511.36Scubepseudo-device	sl			# SLIP interfaces
1521.23Sitojun
1531.23Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
154