INSTALL revision 1.23
11.23Sitojun# 	$NetBSD: INSTALL,v 1.23 2003/09/06 03:25:29 itojun 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.15Sjdolecekoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
321.20Sabsoptions 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
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.13Sabs
461.13Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
471.1Stsutsui
481.8Sabs# File systems
491.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
501.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
511.1Stsutsuifile-system	MFS		# memory-based filesystem
521.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
531.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
541.6Stsutsui#file-system	KERNFS		# /kern
551.1Stsutsui#file-system	PROCFS		# /proc
561.1Stsutsui#file-system	FDESC		# /dev/fd/*
571.1Stsutsui#file-system	NULLFS		# loopback file system
581.14Slukem#file-system	UNION		# union file system
591.1Stsutsui
601.8Sabs# Filesystem options
611.1Stsutsui#options 	NFSSERVER	# nfs server support
621.1Stsutsui#options 	QUOTA		# ffs quotas
631.1Stsutsui#options 	FFS_EI		# ffs endian independant support
641.11Stsutsuioptions 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
651.20Sabsoptions 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
661.1Stsutsui
671.1Stsutsui# Networking options
681.1Stsutsuioptions 	INET		# Internet protocols
691.1Stsutsui#options 	GATEWAY		# IP packet forwarding
701.1Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
711.1Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
721.13Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
731.1Stsutsui#options 	NFS_BOOT_BOOTPARAM
741.1Stsutsui
751.2Stsutsuiconfig	netbsd root on ? type ? dumps on none
761.1Stsutsui
771.1Stsutsui#
781.1Stsutsui# device declarations
791.1Stsutsui#
801.1Stsutsui
811.1Stsutsuimainbus0 at root
821.1Stsutsui
831.1Stsutsui# NEWS HYPER-BUS
841.3Stsutsuihb0	at mainbus0 systype NEWS1700
851.3Stsutsuihb1	at mainbus0 systype NEWS1200
861.1Stsutsui
871.12Stsutsui# interval timer
881.12Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
891.12Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
901.12Stsutsui
911.12Stsutsui# MK48T02 TOD clock
921.12Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
931.12Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
941.1Stsutsui
951.1Stsutsui# onboard LANCE ethernet
961.3Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
971.3Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
981.1Stsutsui
991.1Stsutsui# keyboard/mouse; not yet
1001.3Stsutsui#kb0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1011.3Stsutsui#ms0	at hb0 addr 0xe0d00005 ipl 5			# news1700
1021.3Stsutsui#kb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1031.3Stsutsui#ms0	at hb1 addr 0xe1280000 ipl 5			# news1200
1041.1Stsutsui
1051.1Stsutsui# onboard z8530 SCC
1061.3Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1071.3Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1081.1Stsutsuizstty0	at zsc0 channel 0
1091.1Stsutsuizstty1	at zsc0 channel 1
1101.1Stsutsui
1111.1Stsutsui# Frame buffer devices; not yet
1121.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1131.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1141.1Stsutsui
1151.1Stsutsui# onboard uPD72067 FDC; not yet
1161.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1171.1Stsutsui#fd*	at fdc0
1181.1Stsutsui
1191.1Stsutsui# onboard CXD1180 SCSI controller
1201.1Stsutsui#
1211.1Stsutsui# This driver has several flags which may be enabled using
1221.1Stsutsui# the "flags" directive.  Valid flags are:
1231.1Stsutsui#
1241.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1251.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1261.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
1271.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
1281.1Stsutsui#
1291.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
1301.1Stsutsui# and disable disconnect/reselect for targets 0-3
1311.1Stsutsui#
1321.1Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0xf
1331.14Slukemscsibus* at si0
1341.1Stsutsui
1351.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
1361.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
1371.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
1381.1Stsutsui
1391.1Stsutsui# Misc.
1401.1Stsutsuipseudo-device	loop			# loopback interface; required
1411.9Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1421.1Stsutsuipseudo-device	md		1	# memory disk device
1431.5Stsutsuipseudo-device	sl		1	# SLIP interfaces
1441.23Sitojun
1451.23Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
146