DISKLESS revision 1.77
11.77Stsutsui# $NetBSD: DISKLESS,v 1.77 2020/06/19 10:35:11 tsutsui Exp $
21.3Sgwr
31.28Sgwr# DISKLESS - Root and swap on NFS
41.28Sgwr# Desktop machines only (3/50, 3/60, 3/110)
51.28Sgwr#
61.10Sgwr# Includes devices needed to run as an X-terminal
71.1Sgwr
81.14Sjtcinclude "arch/sun3/conf/std.sun3"
91.38Satatat
101.38Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
111.1Sgwr
121.77Stsutsuimakeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
131.58Stsutsui
141.26Sgwr# Machines to be supported by this kernel
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.28Sgwr#options 	KTRACE		# system call tracing
231.28Sgwr#options 	SYSVMSG		# System V message queues
241.28Sgwr#options 	SYSVSEM		# System V semaphores
251.28Sgwr#options 	SYSVSHM		# System V shared memory
261.20Sgwr#options 	INSECURE	# disable kernel security level
271.40Slukemoptions 	USERCONF	# userconf(4) support
281.56Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
291.43Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
301.15Sthorpej
311.20Sgwr# Which kernel debugger?  Uncomment either this:
321.28Sgwr#options 	DDB
331.18Sgwr# ... or these for KGDB (gdb remote target)
341.35Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
351.20Sgwr#options 	KGDB
361.34Slukem#options 	KGDB_DEV=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 	PMAP_DEBUG
431.68Sabs#options 	SCSIDEBUG
441.68Sabs#options 	SCSIVERBOSE		# Verbose SCSI errors
451.20Sgwr
461.32Swiz# Compatibility options
471.74Smrginclude 	"conf/compat_netbsd13.config"
481.74Smrg
491.28Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
501.68Sabs#options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
511.28Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
521.68Sabs#options 	EXEC_AOUT	# support for a.out executables
531.1Sgwr
541.1Sgwr# Filesystem options
551.20Sgwr#file-system	FFS		# Berkeley Fast Filesystem
561.20Sgwrfile-system	NFS		# Sun NFS client support
571.20Sgwr#file-system	CD9660		# ISO 9660 + Rock Ridge file system
581.28Sgwr#file-system	FDESC		# /dev/fd/*
591.28Sgwr#file-system	KERNFS		# /kern
601.28Sgwr#file-system	NULLFS		# loopback file system
611.68Sabs#file-system	OVERLAY		# overlay file system
621.28Sgwr#file-system	PROCFS		# /proc
631.20Sgwr#file-system	UNION		# union file system
641.20Sgwr#file-system	MFS		# memory-based filesystem
651.49Schristos#file-system	PTYFS		# /dev/pts/N support
661.68Sabs#file-system	TMPFS		# Efficient memory file-system
671.68Sabs#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
681.17Sthorpej
691.20Sgwr#options 	NFSSERVER	# nfs server support
701.62Sbouyer#options 	QUOTA		# legacy UFS quotas
711.62Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
721.63Swiz#options 	FFS_EI		# FFS Endian Independent support
731.68Sabs#options 	WAPBL		# File system journaling support
741.68Sabs#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
751.68Sabs#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
761.1Sgwr
771.1Sgwr# Networking options
781.50Sisakioptions 	INET		# IP protocol stack support
791.68Sabs#options 	INET6		# IPV6
801.68Sabs#options 	IPSEC		# IP security
811.68Sabs#options 	IPSEC_DEBUG	# debug for IP security
821.20Sgwr#options 	GATEWAY		# IP packet forwarding
831.33Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
841.20Sgwr
851.20Sgwr# Work-around for root on slow servers (insurance...)
861.6Sgwroptions 	NFS_BOOT_RWSIZE=1024
871.24Sgwroptions 	NFS_BOOT_BOOTPARAM
881.1Sgwr
891.17Sthorpejconfig		netbsd root on ? type nfs
901.1Sgwr
911.25Sgwr# On-board I/O space (required)
921.25Sgwrinclude "arch/sun3/conf/obio.sun3"
931.25Sgwr
941.25Sgwr# On-board memory (optional)
951.25Sgwr# See frame-buffers
961.25Sgwrobmem0 at mainbus?
971.25Sgwr
981.25Sgwr# VME bus support (optional)
991.28Sgwr# (none on desktop machines)
1001.25Sgwr
1011.11Sgwr#
1021.12Sgwr# Serial ports
1031.12Sgwr#
1041.19Slukemzstty0	at zsc1 channel 0	# ttya
1051.19Slukemzstty1	at zsc1 channel 1	# ttyb
1061.12Sgwr
1071.19Slukemkbd0	at zsc0 channel 0	# keyboard
1081.19Slukemms0	at zsc0 channel 1	# mouse
1091.12Sgwr
1101.12Sgwr#
1111.11Sgwr# Network devices
1121.11Sgwr#
1131.1Sgwr
1141.11Sgwr# Intel Ethernet (onboard, or VME)
1151.69Sabsie0 at obio0 addr 0x0C0000 ipl 3
1161.35Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1171.6Sgwr
1181.11Sgwr# Lance Ethernet (only onboard)
1191.25Sgwrle0 at obio0 addr 0x120000 ipl 3
1201.23Sgwr
1211.25Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1221.25Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1231.25Sgwroptions 	LANCE_REVC_BUG
1241.25Sgwr
1251.11Sgwr#
1261.11Sgwr# Frame buffer devices
1271.11Sgwr#
1281.11Sgwr
1291.26Sgwrinclude "arch/sun3/conf/bw2.sun3"
1301.26Sgwrinclude "arch/sun3/conf/cg4.sun3"
1311.11Sgwr
1321.11Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1331.26Sgwr# cgsix0 at obmem0 addr 0xff000000
1341.11Sgwr
1351.11Sgwr# 3/60 P4 24-bit color frame buffer
1361.26Sgwr# cgeight0 at obmem0 addr 0xff300000
1371.11Sgwr
1381.25Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1391.28Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1401.11Sgwr
1411.25Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1421.25Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1431.11Sgwr
1441.11Sgwr# Misc.
1451.66Schristospseudo-device	loop			# network loopback
1461.52Srpaulopseudo-device	bpfilter		# packet filter
1471.68Sabs#pseudo-device	carp			# Common Address Redundancy Protocol
1481.53Scubepseudo-device	sl			# CSLIP
1491.53Scubepseudo-device	ppp			# PPP
1501.68Sabs#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1511.68Sabs#pseudo-device	tun			# network tunneling over tty
1521.68Sabs#pseudo-device	tap			# virtual Ethernet
1531.53Scube#pseudo-device	gre			# generic L3 over IP tunnel
1541.75Smaxv#pseudo-device	npf			# NPF packet filter
1551.68Sabs#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1561.68Sabs#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1571.68Sabs#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1581.68Sabs#pseudo-device	vlan			# IEEE 802.1q encapsulation
1591.68Sabs#pseudo-device	bridge			# simple inter-network bridging
1601.68Sabs#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
1611.68Sabs#pseudo-device	agr			# IEEE 802.3ad link aggregation
1621.6Sgwr
1631.30Sjdolecekpseudo-device	pty			# pseudo-terminals
1641.39Slukempseudo-device	clockctl		# user control of clock subsystem
165