RAMDISK revision 1.9
11.9Sthorpej#	$NetBSD: RAMDISK,v 1.9 1997/01/31 02:08:24 thorpej Exp $
21.1Sgwr
31.1Sgwr#
41.1Sgwr# RAMDISK: Root/swap on ramdisk
51.1Sgwr# This kernel is used to:
61.1Sgwr#	format the disk (not yet implemented)
71.1Sgwr#	partition the disk (disklabel)
81.1Sgwr#	install the miniroot in the swap partition
91.1Sgwr#
101.1Sgwr
111.5Sjtcinclude "arch/sun3/conf/std.sun3"
121.1Sgwr
131.1Sgwr# Machines to be supported by this kernel
141.6Sthorpejoptions 	FPU_EMULATE		# XXX - Should not be needed!
151.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
161.1Sgwr
171.1Sgwr# Needs to be set per system.  i.e change these as you see fit
181.1Sgwrmaxusers	2
191.1Sgwr
201.1Sgwr# Standard system options
211.6Sthorpej
221.6Sthorpej# Debugging options.  Uncomment either this:
231.2Sgwr#options 	DDB
241.6Sthorpej# ... or these two: (for KGDB on another machine)
251.6Sthorpejmakeoptions DEBUG="-g"			# symbols for kgdb + nm
261.6Sthorpejoptions 	KGDB
271.2Sgwr
281.2Sgwr# Enable the hooks used for initializing the ram-disk.
291.8Spkoptions 	MEMORY_DISK_HOOKS
301.2Sgwroptions 	MINIROOTSIZE=512	# 256K
311.1Sgwr
321.1Sgwr# Filesystem options
331.9Sthorpej# May need NFS to get miniroot image
341.9Sthorpejfile-system 	NFS		# nfs client support
351.1Sgwr# Need FFS for the ramdisk image
361.9Sthorpejfile-system 	FFS		# ufs file system
371.9Sthorpej
381.3Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
391.1Sgwr
401.1Sgwr# Networking options
411.6Sthorpejoptions 	INET		# IP prototol stack support
421.6Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
431.3Sgwr# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
441.3Sgwroptions 	NFS_BOOT_RWSIZE=1024
451.1Sgwr
461.3Sgwr# Compatability options
471.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
481.6Sthorpej#options 	COMPAT_43	# and 4.3BSD and ...
491.6Sthorpej#options 	COMPAT_10	# NetBSD 1.0
501.6Sthorpejoptions 	COMPAT_11	# NetBSD 1.1
511.6Sthorpejoptions 	COMPAT_12	# NetBSD 1.2
521.6Sthorpejoptions 	UCONSOLE	# Allow non-root TIOCCONS
531.1Sgwr
541.1Sgwr# Sun3-specific debugging options
551.1Sgwroptions 	DIAGNOSTIC
561.1Sgwr
571.9Sthorpejconfig		netbsd root on ? type ?
581.1Sgwr
591.2Sgwr#
601.3Sgwr# Serial ports
611.3Sgwr#
621.3Sgwrzstty0 at zsc1 channel 0	# ttya
631.3Sgwrzstty1 at zsc1 channel 1	# ttyb
641.3Sgwr
651.3Sgwrkbd0   at zsc0 channel 0	# keyboard
661.3Sgwrms0    at zsc0 channel 1	# mouse
671.3Sgwr
681.3Sgwr#
691.2Sgwr# Network devices
701.2Sgwr#
711.1Sgwr
721.2Sgwr# Intel Ethernet (onboard, or VME)
731.1Sgwrie0 at obio0 addr ? level ?
741.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
751.1Sgwr
761.2Sgwr# Lance Ethernet (only onboard)
771.1Sgwrle0 at obio0 addr ? level ?
781.1Sgwr
791.2Sgwr#
801.2Sgwr# Disk and tape devices
811.2Sgwr#
821.2Sgwr
831.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
841.3Sgwrsi0 at obio0 addr ? level ?
851.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
861.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
871.2Sgwr
881.2Sgwr# Xylogics 7053 controllers
891.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
901.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
911.2Sgwr# xd* at xdc? drive ?
921.2Sgwr
931.2Sgwr# Xylogics 450/451 controllers
941.2Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
951.2Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
961.2Sgwr# xy* at xyc? drive ?
971.2Sgwr
981.2Sgwr# Xylogics 472 tape controllers?
991.2Sgwr
1001.2Sgwr#
1011.2Sgwr# Frame buffer devices
1021.2Sgwr# (Not needed for the RAMDISK installation kernel)
1031.1Sgwr
1041.2Sgwr#
1051.2Sgwr# SCSI infrastructure
1061.2Sgwr#
1071.1Sgwrscsibus* at scsi?
1081.1Sgwr
1091.1Sgwr# Sun compatible scsi device mappings
1101.1Sgwrsd0 at scsibus? target 0 lun 0
1111.1Sgwrsd1 at scsibus? target 0 lun 1
1121.1Sgwrsd2 at scsibus? target 1 lun 0
1131.1Sgwrsd3 at scsibus? target 1 lun 1
1141.1Sgwrsd* at scsibus? target ? lun ?
1151.1Sgwr
1161.1Sgwrst0 at scsibus? target 4 lun 0
1171.1Sgwrst1 at scsibus? target 5 lun 0
1181.1Sgwrst* at scsibus? target ? lun ?
1191.1Sgwr
1201.1Sgwrcd0 at scsibus? target 6 lun 0
1211.1Sgwrcd* at scsibus? target ? lun ?
1221.1Sgwr
1231.1Sgwr#ch* at scsibus? target ? lun ?
1241.1Sgwr
1251.8Spk# Memory-disk (root for install tape)
1261.8Spkpseudo-device	md	2		# Memory-disk
1271.2Sgwr
1281.2Sgwr# Misc.
1291.1Sgwrpseudo-device	loop	1		# network loopback
1301.2Sgwrpseudo-device	sl	2		# CSLIP
1311.2Sgwrpseudo-device	ppp	2		# PPP
1321.1Sgwr
133