INSTALL revision 1.21
11.21Slukem# 	$NetBSD: INSTALL,v 1.21 2002/09/18 02:44:04 lukem 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.1Stsutsui#options 	UCONSOLE		# users can redirect console (unsafe)
311.21Slukemoptions 	USERCONF		# userconf(4) support
321.15Sjdolecekoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
331.20Sabsoptions 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
341.1Stsutsui
351.1Stsutsui# Debugging options
361.1Stsutsui#options 	DDB			# kernel dynamic debugger
371.1Stsutsui#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
381.1Stsutsui#options 	DEBUG			# extra kernel debugging support
391.1Stsutsui#options 	DIAGNOSTIC		# extra kernel sanity checking
401.1Stsutsui#options 	SCSIVERBOSE		# Verbose SCSI errors
411.1Stsutsui
421.1Stsutsui# Compatibility options
431.5Stsutsui#options 	COMPAT_43		# compatibility with 4.3BSD binaries
441.5Stsutsui#options 	COMPAT_13		# NetBSD 1.3 binary compatibility
451.5Stsutsui#options 	COMPAT_14		# NetBSD 1.4 binary compatibility
461.13Sabs
471.13Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
481.1Stsutsui
491.8Sabs# File systems
501.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
511.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
521.1Stsutsuifile-system	MFS		# memory-based filesystem
531.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
541.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
551.6Stsutsui#file-system	KERNFS		# /kern
561.1Stsutsui#file-system	PROCFS		# /proc
571.1Stsutsui#file-system	FDESC		# /dev/fd/*
581.1Stsutsui#file-system	NULLFS		# loopback file system
591.14Slukem#file-system	UNION		# union file system
601.1Stsutsui
611.8Sabs# Filesystem options
621.1Stsutsui#options 	NFSSERVER	# nfs server support
631.1Stsutsui#options 	QUOTA		# ffs quotas
641.1Stsutsui#options 	FFS_EI		# ffs endian independant support
651.11Stsutsuioptions 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
661.20Sabsoptions 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
671.1Stsutsui
681.1Stsutsui# Networking options
691.1Stsutsuioptions 	INET		# Internet protocols
701.1Stsutsui#options 	GATEWAY		# IP packet forwarding
711.1Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
721.1Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
731.13Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
741.1Stsutsui#options 	NFS_BOOT_BOOTPARAM
751.1Stsutsui
761.2Stsutsuiconfig	netbsd root on ? type ? dumps on none
771.1Stsutsui
781.1Stsutsui#
791.1Stsutsui# device declarations
801.1Stsutsui#
811.1Stsutsui
821.1Stsutsuimainbus0 at root
831.1Stsutsui
841.1Stsutsui# NEWS HYPER-BUS
851.3Stsutsuihb0	at mainbus0 systype NEWS1700
861.3Stsutsuihb1	at mainbus0 systype NEWS1200
871.1Stsutsui
881.12Stsutsui# interval timer
891.12Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
901.12Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
911.12Stsutsui
921.12Stsutsui# MK48T02 TOD clock
931.12Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
941.12Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
951.1Stsutsui
961.1Stsutsui# onboard LANCE ethernet
971.3Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
981.3Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
991.1Stsutsui
1001.1Stsutsui# keyboard/mouse; not yet
1011.3Stsutsui#kb0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1021.3Stsutsui#ms0	at hb0 addr 0xe0d00005 ipl 5			# news1700
1031.3Stsutsui#kb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1041.3Stsutsui#ms0	at hb1 addr 0xe1280000 ipl 5			# news1200
1051.1Stsutsui
1061.1Stsutsui# onboard z8530 SCC
1071.3Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1081.3Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1091.1Stsutsuizstty0	at zsc0 channel 0
1101.1Stsutsuizstty1	at zsc0 channel 1
1111.1Stsutsui
1121.1Stsutsui# Frame buffer devices; not yet
1131.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1141.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1151.1Stsutsui
1161.1Stsutsui# onboard uPD72067 FDC; not yet
1171.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1181.1Stsutsui#fd*	at fdc0
1191.1Stsutsui
1201.1Stsutsui# onboard CXD1180 SCSI controller
1211.1Stsutsui#
1221.1Stsutsui# This driver has several flags which may be enabled using
1231.1Stsutsui# the "flags" directive.  Valid flags are:
1241.1Stsutsui#
1251.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1261.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1271.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
1281.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
1291.1Stsutsui#
1301.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
1311.1Stsutsui# and disable disconnect/reselect for targets 0-3
1321.1Stsutsui#
1331.1Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0xf
1341.14Slukemscsibus* at si0
1351.1Stsutsui
1361.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
1371.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
1381.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
1391.1Stsutsui
1401.1Stsutsui# Misc.
1411.1Stsutsuipseudo-device	loop			# loopback interface; required
1421.9Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1431.1Stsutsuipseudo-device	md		1	# memory disk device
1441.5Stsutsuipseudo-device	sl		1	# SLIP interfaces
145