INSTALL revision 1.52
11.52Sbouyer# 	$NetBSD: INSTALL,v 1.52 2011/03/06 17:08:28 bouyer 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.46Sheoptions 	MEMORY_DISK_ROOT_SIZE=3000	# 1.50 Megabytes
221.49Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
231.1Stsutsui
241.1Stsutsui# Standard system options
251.1Stsutsui#options 	KTRACE			# system call tracing support
261.1Stsutsui#options 	SYSVMSG			# System V message queues
271.1Stsutsui#options 	SYSVSEM			# System V semaphores
281.1Stsutsui#options 	SYSVSHM			# System V shared memory
291.21Slukemoptions 	USERCONF		# userconf(4) support
301.28Stsutsuioptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
311.25Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
321.1Stsutsui
331.1Stsutsui# Debugging options
341.1Stsutsui#options 	DDB			# kernel dynamic debugger
351.1Stsutsui#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
361.1Stsutsui#options 	DEBUG			# extra kernel debugging support
371.1Stsutsui#options 	DIAGNOSTIC		# extra kernel sanity checking
381.1Stsutsui#options 	SCSIVERBOSE		# Verbose SCSI errors
391.1Stsutsui
401.1Stsutsui# Compatibility options
411.5Stsutsui#options 	COMPAT_43		# compatibility with 4.3BSD binaries
421.5Stsutsui#options 	COMPAT_13		# NetBSD 1.3 binary compatibility
431.5Stsutsui#options 	COMPAT_14		# NetBSD 1.4 binary compatibility
441.24Scl#options 	COMPAT_15		# NetBSD 1.5 binary compatibility
451.24Scl#options 	COMPAT_16		# NetBSD 1.6 binary compatibility
461.26Stsutsui#options 	COMPAT_20		# NetBSD 2.0 binary compatibility
471.42Stsutsui#options 	COMPAT_30		# NetBSD 3.0 binary compatibility.
481.42Stsutsui#options 	COMPAT_40		# NetBSD 4.0 binary compatibility.
491.48Stsutsui#options 	COMPAT_50		# NetBSD 5.0 binary compatibility.
501.28Stsutsuioptions 	COMPAT_BSDPTY		# /dev/[pt]ty?? ptys.
511.13Sabs
521.13Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
531.1Stsutsui
541.8Sabs# File systems
551.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
561.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
571.1Stsutsuifile-system	MFS		# memory-based filesystem
581.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
591.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
601.6Stsutsui#file-system	KERNFS		# /kern
611.1Stsutsui#file-system	PROCFS		# /proc
621.1Stsutsui#file-system	FDESC		# /dev/fd/*
631.1Stsutsui#file-system	NULLFS		# loopback file system
641.14Slukem#file-system	UNION		# union file system
651.33Schristos#file-system	PTYFS		# /dev/pts/N support
661.1Stsutsui
671.8Sabs# Filesystem options
681.1Stsutsui#options 	NFSSERVER	# nfs server support
691.52Sbouyer#options 	QUOTA		# legacy UFS quotas
701.52Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
711.39Swiz#options 	FFS_EI		# ffs endian independent support
721.40Syamtoptions 	NFS_V2_ONLY	# Exclude NFS3 code to save space
731.34Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
741.45Ssimonboptions 	WAPBL		# File system journaling support - Experimental
751.1Stsutsui
761.1Stsutsui# Networking options
771.1Stsutsuioptions 	INET		# Internet protocols
781.1Stsutsui#options 	GATEWAY		# IP packet forwarding
791.1Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
801.1Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
811.37Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
821.13Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
831.1Stsutsui#options 	NFS_BOOT_BOOTPARAM
841.1Stsutsui
851.2Stsutsuiconfig	netbsd root on ? type ? dumps on none
861.1Stsutsui
871.1Stsutsui#
881.1Stsutsui# device declarations
891.1Stsutsui#
901.1Stsutsui
911.1Stsutsuimainbus0 at root
921.1Stsutsui
931.1Stsutsui# NEWS HYPER-BUS
941.3Stsutsuihb0	at mainbus0 systype NEWS1700
951.3Stsutsuihb1	at mainbus0 systype NEWS1200
961.1Stsutsui
971.12Stsutsui# interval timer
981.12Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
991.12Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
1001.12Stsutsui
1011.12Stsutsui# MK48T02 TOD clock
1021.12Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
1031.12Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
1041.1Stsutsui
1051.1Stsutsui# onboard LANCE ethernet
1061.3Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
1071.3Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
1081.1Stsutsui
1091.1Stsutsui# keyboard/mouse; not yet
1101.3Stsutsui#kb0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1111.3Stsutsui#ms0	at hb0 addr 0xe0d00005 ipl 5			# news1700
1121.3Stsutsui#kb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1131.3Stsutsui#ms0	at hb1 addr 0xe1280000 ipl 5			# news1200
1141.1Stsutsui
1151.1Stsutsui# onboard z8530 SCC
1161.3Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1171.3Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1181.1Stsutsuizstty0	at zsc0 channel 0
1191.1Stsutsuizstty1	at zsc0 channel 1
1201.1Stsutsui
1211.1Stsutsui# Frame buffer devices; not yet
1221.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1231.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1241.1Stsutsui
1251.1Stsutsui# onboard uPD72067 FDC; not yet
1261.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1271.1Stsutsui#fd*	at fdc0
1281.1Stsutsui
1291.1Stsutsui# onboard CXD1180 SCSI controller
1301.1Stsutsui#
1311.1Stsutsui# This driver has several flags which may be enabled using
1321.1Stsutsui# the "flags" directive.  Valid flags are:
1331.1Stsutsui#
1341.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1351.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1361.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
1371.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
1381.1Stsutsui#
1391.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
1401.1Stsutsui# and disable disconnect/reselect for targets 0-3
1411.1Stsutsui#
1421.41Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0x0
1431.14Slukemscsibus* at si0
1441.1Stsutsui
1451.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
1461.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
1471.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
1481.1Stsutsui
1491.1Stsutsui# Misc.
1501.1Stsutsuipseudo-device	loop			# loopback interface; required
1511.9Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1521.51Shannkenpseudo-device	md			# memory disk device
1531.50Spooka#pseudo-device	fss			# file system snapshot device
1541.36Scubepseudo-device	sl			# SLIP interfaces
1551.23Sitojun
1561.23Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
157