11.62Snia# $NetBSD: INSTALL3X,v 1.62 2021/01/21 06:51:56 nia Exp $
21.1Sgwr#
31.1Sgwr# INSTALL3X - Installation kernel for the Sun3X
41.1Sgwr#
51.1Sgwr# This kernel is derived from GENERIC with some features commented out.
61.1Sgwr#
71.1Sgwr# This kernel does NOT support X, mice, non-NetBSD emulation, etc.
81.1Sgwr#
91.1Sgwr
101.1Sgwrinclude "arch/sun3/conf/std.sun3x"
111.17Satatat
121.17Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
131.6Sabs
141.61Stsutsuimakeoptions	COPTS="-Os -fno-unwind-tables"	# Optimise for space. Implies -O2
151.1Sgwr
161.1Sgwr# Machines to be supported by this kernel
171.1Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
181.1Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
191.1Sgwr
201.1Sgwr# Needs to be set per system.  i.e change these as you see fit
211.1Sgwrmaxusers	2
221.1Sgwr
231.1Sgwr# Standard system options
241.1Sgwr#options 	KTRACE		# system call tracing
251.1Sgwr#options 	SYSVMSG		# System V message queues
261.1Sgwr#options 	SYSVSEM		# System V semaphores
271.1Sgwr#options 	SYSVSHM		# System V shared memory
281.1Sgwr#options 	INSECURE	# disable kernel security level
291.19Slukemoptions 	USERCONF	# userconf(4) support
301.39Stsutsuioptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
311.22Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
321.1Sgwr
331.1Sgwr# Which kernel debugger?  Uncomment either this:
341.1Sgwr#options 	DDB
351.1Sgwr# ... or these for KGDB (gdb remote target)
361.14Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
371.1Sgwr#options 	KGDB
381.13Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
391.1Sgwr
401.1Sgwr# Other debugging options
411.1Sgwr#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
421.1Sgwr#options 	DEBUG		# kernel debugging code
431.1Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
441.1Sgwr#options 	PMAP_DEBUG
451.1Sgwr#options 	SCSIDEBUG
461.1Sgwr#options 	SCSIVERBOSE		# Verbose SCSI errors
471.1Sgwr
481.11Swiz# Compatibility options
491.59Smrginclude 	"conf/compat_netbsd13.config"
501.3Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
511.62Snia#options 	COMPAT_OSSAUDIO	# can run Linux/m68k executables
521.1Sgwr
531.7Sabs# File systems
541.1Sgwrfile-system	FFS		# Berkeley Fast Filesystem
551.1Sgwrfile-system	NFS		# Sun NFS client support
561.1Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
571.1Sgwrfile-system	MSDOSFS		# MS-DOS FAT file system
581.1Sgwr#file-system	FDESC		# /dev/fd/*
591.1Sgwrfile-system	KERNFS		# /kern
601.1Sgwr#file-system	NULLFS		# loopback file system
611.1Sgwr#file-system	PROCFS		# /proc
621.1Sgwr#file-system	UNION		# union file system
631.3Sgwr#file-system	MFS		# memory-based filesystem
641.29Schristos#file-system	PTYFS		# /dev/pts/N support
651.1Sgwr
661.7Sabs# Filesystem options
671.1Sgwr#options 	NFSSERVER	# nfs server support
681.47Sbouyer#options 	QUOTA		# legacy UFS quotas
691.47Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
701.48Swiz#options 	FFS_EI		# FFS Endian Independent support
711.38Syamt#options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
721.31Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
731.50Sdhollandoptions 	WAPBL		# File system journaling support
741.1Sgwr
751.1Sgwr# Networking options
761.30Sisakioptions 	INET		# IP protocol stack support
771.1Sgwr#options 	GATEWAY		# IP packet forwarding
781.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
791.1Sgwr
801.1Sgwr# Work-around for root on slow servers (insurance...)
811.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
821.1Sgwroptions 	NFS_BOOT_BOOTPARAM
831.1Sgwr
841.1Sgwrconfig		netbsd root on ? type ?
851.1Sgwr
861.1Sgwr# On-board I/O space (required)
871.1Sgwrinclude "arch/sun3/conf/obio.sun3x"
881.1Sgwr
891.1Sgwr# On-board memory (optional)
901.1Sgwr# See frame-buffers
911.1Sgwr# obmem0 at mainbus?
921.1Sgwr
931.1Sgwr# VME bus support (optional)
941.1Sgwr# One unit for each address space
951.1Sgwrvme0 at mainbus? # A16/D16
961.1Sgwrvme1 at mainbus? # A16/D32
971.1Sgwrvme2 at mainbus? # A24/D16
981.1Sgwrvme3 at mainbus? # A24/D32
991.1Sgwrvme4 at mainbus? # A32/D16
1001.1Sgwrvme5 at mainbus? # A32/D32
1011.1Sgwr
1021.1Sgwr#
1031.1Sgwr# Serial ports
1041.1Sgwr#
1051.1Sgwrzstty0	at zsc1 channel 0	# ttya
1061.1Sgwrzstty1	at zsc1 channel 1	# ttyb
1071.1Sgwr
1081.1Sgwrkbd0	at zsc0 channel 0	# keyboard
1091.1Sgwr#ms0	at zsc0 channel 1	# mouse
1101.1Sgwr
1111.1Sgwr#
1121.1Sgwr# Network devices
1131.1Sgwr#
1141.1Sgwr
1151.1Sgwr# Intel Ethernet (onboard, or VME)
1161.1Sgwrie0 at obio0 addr 0x65000000 ipl 3
1171.14Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1181.1Sgwr
1191.1Sgwr# Lance Ethernet (only onboard)
1201.1Sgwrle0 at obio0 addr 0x65002000 ipl 3
1211.1Sgwr
1221.1Sgwr#
1231.1Sgwr# Disk and tape devices
1241.1Sgwr#
1251.1Sgwr
1261.1Sgwr# Emulex SCSI (3/80 only)
1271.3Sgwr# Both `dma' and `esp' are needed.
1281.1Sgwr# See GENERIC3X for the flags description.
1291.3Sgwrdma0 at obio0 addr 0x66001000 ipl 2
1301.24Stsutsuiesp0 at obio0 addr 0x66000000 ipl 2 flags 0x000000
1311.1Sgwr
1321.1Sgwr# Floppy drive
1331.1Sgwrfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
1341.14Slukemfd0	at fdc0	# First (and only) floppy drive.
1351.1Sgwr
1361.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1371.1Sgwr# See GENERIC3X for the flags description.
1381.14Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1391.14Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1401.1Sgwr
1411.1Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1421.1Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1431.1Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1441.1Sgwrxy* at xyc? drive ?
1451.1Sgwr
1461.1Sgwr# Xylogics 7053 controllers (VME A16/D32)
1471.1Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1481.1Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1491.1Sgwrxd* at xdc? drive ?
1501.1Sgwr
1511.1Sgwr# Xylogics 472 tape controllers?
1521.1Sgwr
1531.1Sgwr#
1541.1Sgwr# Frame buffer devices
1551.1Sgwr# (Not needed for installation kernels.)
1561.1Sgwr
1571.1Sgwr#
1581.1Sgwr# SCSI infrastructure
1591.1Sgwr#
1601.1Sgwrscsibus* at scsi?
1611.1Sgwr
1621.1Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1631.1Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1641.1Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1651.1Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1661.1Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1671.1Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1681.1Sgwr
1691.1Sgwr# Memory-disk drivers
1701.46Shannken#pseudo-device	md		
1711.1Sgwr
1721.1Sgwr# Misc.
1731.53Schristospseudo-device	loop			# network loopback
1741.33Srpaulo#pseudo-device	bpfilter		# packet filter
1751.34Scubepseudo-device	sl			# CSLIP
1761.34Scubepseudo-device	ppp			# PPP
1771.34Scubepseudo-device	tun			# network tunneling over tty
1781.34Scube#pseudo-device	gre			# generic L3 over IP tunnel
1791.60Smaxv#pseudo-device	npf			# NPF packet filter
1801.1Sgwr
1811.53Schristospseudo-device	pty			# pseudo-terminals
1821.34Scube#pseudo-device	vnd			# paging to files
1831.53Schristos#pseudo-device	ccd			# concatenated disks
1841.45Spooka#pseudo-device	fss			# file system snapshot device
185