11.56Stsutsui#	$NetBSD: RAMDISK,v 1.56 2020/06/19 10:35:11 tsutsui Exp $
21.1Sgwr
31.1Sgwr# RAMDISK: Root/swap on ramdisk
41.1Sgwr# This kernel is used to:
51.1Sgwr#	format the disk (not yet implemented)
61.1Sgwr#	partition the disk (disklabel)
71.1Sgwr#	install the miniroot in the swap partition
81.1Sgwr
91.5Sjtcinclude "arch/sun3/conf/std.sun3"
101.34Satatat
111.34Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
121.1Sgwr
131.56Stsutsuimakeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
141.48Stsutsui
151.17Sgwr# Machines to be supported by this kernel
161.13Sgwr# options 	FPU_EMULATE		# No FP code here!
171.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
181.1Sgwr
191.1Sgwr# Needs to be set per system.  i.e change these as you see fit
201.1Sgwrmaxusers	2
211.1Sgwr
221.1Sgwr# Standard system options
231.13Sgwr# ... debugging options
241.18Sgwr#options 	DDB
251.25Swiz# Compatibility options (none)
261.6Sthorpej
271.13Sgwr# Filesystem options
281.13Sgwr# Need FFS for the ramdisk image.
291.13Sgwrfile-system	FFS		# Berkeley Fast Filesystem
301.13Sgwr# May need these to get miniroot image.
311.13Sgwrfile-system	NFS		# Sun NFS client support
321.13Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
331.44Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
341.42Schristos#file-system	PTYFS		# /dev/pts/N support
351.2Sgwr
361.18Sgwr# Networking options
371.43Sisakioptions 	INET		# IP protocol stack support
381.26Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
391.26Sabs
401.13Sgwr# Enable the hooks used for initializing the root memory-disk.
411.8Spkoptions 	MEMORY_DISK_HOOKS
421.13Sgwroptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
431.13Sgwroptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
441.55Smrgoptions 	MEMORY_DISK_ROOT_SIZE=1320	# size of memory disk, in blocks
451.50Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
461.30Sjdolecek
471.35Slukemoptions 	USERCONF	# userconf(4) support
481.46Stsutsuioptions 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
491.37Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
501.1Sgwr
511.24Stsutsuiconfig		netbsd root on ? type ffs
521.1Sgwr
531.16Sgwr# On-board I/O space (required)
541.16Sgwrinclude "arch/sun3/conf/obio.sun3"
551.16Sgwr
561.16Sgwr# On-board memory (optional)
571.16Sgwr# See frame-buffers
581.16Sgwr# obmem0 at mainbus?
591.16Sgwr
601.16Sgwr# VME bus support (optional)
611.16Sgwr# One unit for each address space
621.16Sgwrvme0 at mainbus? # A16/D16
631.16Sgwrvme1 at mainbus? # A16/D32
641.16Sgwrvme2 at mainbus? # A24/D16
651.16Sgwrvme3 at mainbus? # A24/D32
661.16Sgwrvme4 at mainbus? # A32/D16
671.16Sgwrvme5 at mainbus? # A32/D32
681.16Sgwr
691.2Sgwr#
701.3Sgwr# Serial ports
711.3Sgwr#
721.11Slukemzstty0	at zsc1 channel 0	# ttya
731.11Slukemzstty1	at zsc1 channel 1	# ttyb
741.3Sgwr
751.11Slukemkbd0	at zsc0 channel 0	# keyboard
761.13Sgwr#ms0	at zsc0 channel 1	# mouse
771.3Sgwr
781.3Sgwr#
791.2Sgwr# Network devices
801.2Sgwr#
811.1Sgwr
821.2Sgwr# Intel Ethernet (onboard, or VME)
831.16Sgwrie0 at obio0 addr 0x0C0000 ipl 3
841.29Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
851.1Sgwr
861.2Sgwr# Lance Ethernet (only onboard)
871.16Sgwrle0 at obio0 addr 0x120000 ipl 3
881.16Sgwr
891.16Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
901.16Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
911.16Sgwroptions 	LANCE_REVC_BUG
921.1Sgwr
931.2Sgwr#
941.2Sgwr# Disk and tape devices
951.2Sgwr#
961.2Sgwr
971.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
981.13Sgwr# See GENERIC for the flags description.
991.16Sgwrsi0 at obio0 addr 0x140000 ipl 2
1001.29Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1011.29Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1021.16Sgwr
1031.16Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1041.16Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1051.16Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1061.13Sgwrxy* at xyc? drive ?
1071.10Sgwr
1081.16Sgwr# Xylogics 7053 controllers (VME A16/D32)
1091.16Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1101.16Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1111.13Sgwrxd* at xdc? drive ?
1121.2Sgwr
1131.2Sgwr# Xylogics 472 tape controllers?
1141.13Sgwr
1151.16Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1161.16Sgwr# Note: the board uses vect and vect+1
1171.16Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1181.16Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1191.13Sgwrsi* at sebuf?
1201.13Sgwrie* at sebuf?
1211.2Sgwr
1221.2Sgwr#
1231.2Sgwr# Frame buffer devices
1241.18Sgwr# (Not needed for installation kernels.)
1251.1Sgwr
1261.2Sgwr#
1271.2Sgwr# SCSI infrastructure
1281.2Sgwr#
1291.1Sgwrscsibus* at scsi?
1301.1Sgwr
1311.10Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1321.10Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1331.10Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1341.10Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1351.10Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1361.20Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1371.1Sgwr
1381.16Sgwr# Memory-disk drivers (root for install tape)
1391.52Shannkenpseudo-device	md		
1401.2Sgwr
1411.2Sgwr# Misc.
1421.53Schristospseudo-device	loop			# network loopback
1431.45Scubepseudo-device	sl			# CSLIP
1441.51Spooka#pseudo-device	fss			# file system snapshot device
145