INSTALL revision 1.29
11.29Shannken# 	$NetBSD: INSTALL,v 1.29 2005/01/31 16:55:01 hannken 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.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.24Scl#options 	COMPAT_15		# NetBSD 1.5 binary compatibility
471.24Scl#options 	COMPAT_16		# NetBSD 1.6 binary compatibility
481.26Stsutsui#options 	COMPAT_20		# NetBSD 2.0 binary 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.1Stsutsui
651.8Sabs# Filesystem options
661.1Stsutsui#options 	NFSSERVER	# nfs server support
671.1Stsutsui#options 	QUOTA		# ffs quotas
681.1Stsutsui#options 	FFS_EI		# ffs endian independant support
691.11Stsutsuioptions 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
701.20Sabsoptions 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
711.1Stsutsui
721.1Stsutsui# Networking options
731.1Stsutsuioptions 	INET		# Internet protocols
741.1Stsutsui#options 	GATEWAY		# IP packet forwarding
751.1Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
761.1Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
771.13Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
781.1Stsutsui#options 	NFS_BOOT_BOOTPARAM
791.1Stsutsui
801.2Stsutsuiconfig	netbsd root on ? type ? dumps on none
811.1Stsutsui
821.1Stsutsui#
831.1Stsutsui# device declarations
841.1Stsutsui#
851.1Stsutsui
861.1Stsutsuimainbus0 at root
871.1Stsutsui
881.1Stsutsui# NEWS HYPER-BUS
891.3Stsutsuihb0	at mainbus0 systype NEWS1700
901.3Stsutsuihb1	at mainbus0 systype NEWS1200
911.1Stsutsui
921.12Stsutsui# interval timer
931.12Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
941.12Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
951.12Stsutsui
961.12Stsutsui# MK48T02 TOD clock
971.12Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
981.12Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
991.1Stsutsui
1001.1Stsutsui# onboard LANCE ethernet
1011.3Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
1021.3Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
1031.1Stsutsui
1041.1Stsutsui# keyboard/mouse; not yet
1051.3Stsutsui#kb0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1061.3Stsutsui#ms0	at hb0 addr 0xe0d00005 ipl 5			# news1700
1071.3Stsutsui#kb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1081.3Stsutsui#ms0	at hb1 addr 0xe1280000 ipl 5			# news1200
1091.1Stsutsui
1101.1Stsutsui# onboard z8530 SCC
1111.3Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1121.3Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1131.1Stsutsuizstty0	at zsc0 channel 0
1141.1Stsutsuizstty1	at zsc0 channel 1
1151.1Stsutsui
1161.1Stsutsui# Frame buffer devices; not yet
1171.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1181.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1191.1Stsutsui
1201.1Stsutsui# onboard uPD72067 FDC; not yet
1211.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1221.1Stsutsui#fd*	at fdc0
1231.1Stsutsui
1241.1Stsutsui# onboard CXD1180 SCSI controller
1251.1Stsutsui#
1261.1Stsutsui# This driver has several flags which may be enabled using
1271.1Stsutsui# the "flags" directive.  Valid flags are:
1281.1Stsutsui#
1291.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1301.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1311.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
1321.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
1331.1Stsutsui#
1341.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
1351.1Stsutsui# and disable disconnect/reselect for targets 0-3
1361.1Stsutsui#
1371.1Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0xf
1381.14Slukemscsibus* at si0
1391.1Stsutsui
1401.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
1411.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
1421.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
1431.1Stsutsui
1441.1Stsutsui# Misc.
1451.1Stsutsuipseudo-device	loop			# loopback interface; required
1461.9Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1471.1Stsutsuipseudo-device	md		1	# memory disk device
1481.29Shannken#pseudo-device	fss		4	# file system snapshot device
1491.5Stsutsuipseudo-device	sl		1	# SLIP interfaces
1501.23Sitojun
1511.23Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
152