DISKLESS revision 1.25
11.25Sgwr# $NetBSD: DISKLESS,v 1.25 1998/02/05 04:56:24 gwr Exp $
21.3Sgwr
31.25Sgwr# DISKLESS Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
41.18Sgwr# Root and swap on NFS
51.10Sgwr# Includes devices needed to run as an X-terminal
61.1Sgwr
71.14Sjtcinclude "arch/sun3/conf/std.sun3"
81.1Sgwr
91.25Sgwr# Machines to be supported by this kernel.  Note:
101.25Sgwr# The SUN3 and SUN3X options are mutually exclusive!
111.25Sgwr# (Your kernel will only run on one or the other.)
121.25Sgwrmakeoptions	MACHTYPE=sun3
131.25Sgwroptions 	_SUN3_
141.25Sgwr
151.6Sgwroptions 	FPU_EMULATE
161.7Sgwroptions 	HAVECACHE		# Sun3/260 VAC
171.1Sgwr
181.1Sgwr# Needs to be set per system.  i.e change these as you see fit
191.20Sgwrmaxusers	2
201.9Sgwr
211.1Sgwr# Standard system options
221.20Sgwroptions 	KTRACE		# system call tracing
231.20Sgwroptions 	SYSVMSG		# System V message queues
241.20Sgwroptions 	SYSVSEM		# System V semaphores
251.20Sgwroptions 	SYSVSHM		# System V shared memory
261.20Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
271.20Sgwr#options 	LKM		# loadable kernel modules
281.20Sgwr#options 	INSECURE	# disable kernel security level
291.20Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
301.15Sthorpej
311.20Sgwr# Which kernel debugger?  Uncomment either this:
321.20Sgwroptions 	DDB
331.18Sgwr# ... or these for KGDB (gdb remote target)
341.20Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
351.20Sgwr#options 	KGDB
361.20Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
371.20Sgwr
381.20Sgwr# Other debugging options
391.21Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.20Sgwr#options 	DEBUG		# kernel debugging code
411.20Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
421.20Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
431.20Sgwr#options 	PMAP_DEBUG
441.20Sgwr
451.20Sgwr# Compatability options
461.20Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
471.20Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
481.20Sgwroptions 	COMPAT_10	# NetBSD 1.0
491.20Sgwroptions 	COMPAT_11	# NetBSD 1.1
501.20Sgwroptions 	COMPAT_12	# NetBSD 1.2
511.22Skleinkoptions 	COMPAT_13	# NetBSD 1.3
521.1Sgwr
531.1Sgwr# Filesystem options
541.20Sgwr#file-system	FFS		# Berkeley Fast Filesystem
551.20Sgwrfile-system	NFS		# Sun NFS client support
561.20Sgwr#file-system	CD9660		# ISO 9660 + Rock Ridge file system
571.19Slukemfile-system	FDESC		# /dev/fd/*
581.19Slukemfile-system	KERNFS		# /kern
591.19Slukemfile-system	NULLFS		# loopback file system
601.19Slukemfile-system	PROCFS		# /proc
611.20Sgwr#file-system	UNION		# union file system
621.20Sgwr#file-system	MFS		# memory-based filesystem
631.17Sthorpej
641.12Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
651.20Sgwr#options 	NFSSERVER	# nfs server support
661.20Sgwr#options 	QUOTA		# FFS quotas
671.1Sgwr
681.1Sgwr# Networking options
691.15Sthorpejoptions 	INET		# IP prototol stack support
701.20Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
711.20Sgwr#options 	GATEWAY		# IP packet forwarding
721.20Sgwr#options 	ISO,TPIP	# OSI networking
731.20Sgwr#options 	EON		# OSI tunneling over IP
741.20Sgwr#options 	CCITT,LLC,HDLC	# X.25
751.20Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
761.20Sgwr
771.20Sgwr# Work-around for root on slow servers (insurance...)
781.6Sgwroptions 	NFS_BOOT_RWSIZE=1024
791.24Sgwroptions 	NFS_BOOT_BOOTPARAM
801.1Sgwr
811.17Sthorpejconfig		netbsd root on ? type nfs
821.1Sgwr
831.25Sgwr# On-board I/O space (required)
841.25Sgwrinclude "arch/sun3/conf/obio.sun3"
851.25Sgwr
861.25Sgwr# On-board memory (optional)
871.25Sgwr# See frame-buffers
881.25Sgwrobmem0 at mainbus?
891.25Sgwr
901.25Sgwr# VME bus support (optional)
911.25Sgwr# One unit for each address space
921.25Sgwrvme0 at mainbus? # A16/D16
931.25Sgwrvme1 at mainbus? # A16/D32
941.25Sgwrvme2 at mainbus? # A24/D16
951.25Sgwrvme3 at mainbus? # A24/D32
961.25Sgwrvme4 at mainbus? # A32/D16
971.25Sgwrvme5 at mainbus? # A32/D32
981.25Sgwr
991.11Sgwr#
1001.12Sgwr# Serial ports
1011.12Sgwr#
1021.19Slukemzstty0	at zsc1 channel 0	# ttya
1031.19Slukemzstty1	at zsc1 channel 1	# ttyb
1041.12Sgwr
1051.19Slukemkbd0	at zsc0 channel 0	# keyboard
1061.19Slukemms0	at zsc0 channel 1	# mouse
1071.12Sgwr
1081.12Sgwr#
1091.11Sgwr# Network devices
1101.11Sgwr#
1111.1Sgwr
1121.11Sgwr# Intel Ethernet (onboard, or VME)
1131.25Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1141.25Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1151.6Sgwr
1161.11Sgwr# Lance Ethernet (only onboard)
1171.25Sgwrle0 at obio0 addr 0x120000 ipl 3
1181.23Sgwr
1191.25Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1201.25Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1211.25Sgwroptions 	LANCE_REVC_BUG
1221.25Sgwr
1231.25Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1241.25Sgwr# Note: the board uses vect and vect+1
1251.25Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1261.25Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1271.23Sgwr#si* at sebuf?
1281.23Sgwrie* at sebuf?
1291.6Sgwr
1301.11Sgwr#
1311.11Sgwr# Frame buffer devices
1321.11Sgwr#
1331.11Sgwr
1341.11Sgwr# The default cgfour address depends on the machine:
1351.12Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1361.11Sgwr# 3/110: different? (not tested)
1371.11Sgwrcgfour0 at obmem0 addr ?
1381.11Sgwr
1391.11Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1401.11Sgwr# cgsix0 at obmem0 addr ?
1411.11Sgwr
1421.11Sgwr# 3/60 P4 24-bit color frame buffer
1431.11Sgwr# cgeight0 at obmem0 addr ?
1441.11Sgwr
1451.11Sgwr# The default bwtwo address depends on the machine:
1461.12Sgwr# 3/50: obmem   0x100000
1471.12Sgwr# else: obmem 0xff000000
1481.11Sgwrbwtwo0 at obmem0 addr ?
1491.11Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1501.11Sgwr#bwtwo1 at obmem0 addr 0xff300000
1511.11Sgwr# 3/60 plug-in color frame buffer overlay plane
1521.11Sgwr#bwtwo1 at obmem0 addr 0xff400000
1531.11Sgwr
1541.25Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1551.25Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1561.11Sgwr
1571.25Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1581.25Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1591.11Sgwr
1601.11Sgwr# Misc.
1611.20Sgwrpseudo-device	loop		1	# network loopback
1621.20Sgwrpseudo-device	bpfilter	8	# packet filter
1631.20Sgwrpseudo-device	sl		2	# CSLIP
1641.20Sgwrpseudo-device	ppp		2	# PPP
1651.20Sgwrpseudo-device	tun		2	# network tunneling over tty
1661.20Sgwr#pseudo-device	ipfilter		# ip filter
1671.6Sgwr
1681.20Sgwrpseudo-device	pty		32	# pseudo-terminals
169