RAMDISK revision 1.10
11.10Sgwr#	$NetBSD: RAMDISK,v 1.10 1997/03/11 21:21:53 gwr 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.10Sgwr# ... or these for KGDB (gdb remote target)
251.10Sgwrmakeoptions DEBUG="-g"			# debugging symbols for gdb
261.6Sthorpejoptions 	KGDB
271.10Sgwroptions 	KGDBDEV=0x0C01
281.2Sgwr
291.2Sgwr# Enable the hooks used for initializing the ram-disk.
301.8Spkoptions 	MEMORY_DISK_HOOKS
311.2Sgwroptions 	MINIROOTSIZE=512	# 256K
321.1Sgwr
331.1Sgwr# Filesystem options
341.9Sthorpej# May need NFS to get miniroot image
351.9Sthorpejfile-system 	NFS		# nfs client support
361.1Sgwr# Need FFS for the ramdisk image
371.9Sthorpejfile-system 	FFS		# ufs file system
381.9Sthorpej
391.10Sgwroptions 	FIFO		# named pipes used during install
401.1Sgwr
411.1Sgwr# Networking options
421.6Sthorpejoptions 	INET		# IP prototol stack support
431.6Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
441.10Sgwr# XXX - Work-around for root on slow servers (insurance...)
451.3Sgwroptions 	NFS_BOOT_RWSIZE=1024
461.1Sgwr
471.3Sgwr# Compatability options
481.1Sgwr
491.1Sgwr# Sun3-specific debugging options
501.10Sgwr#options 	DIAGNOSTIC
511.1Sgwr
521.10Sgwrconfig		netbsd root on md0 type ffs
531.1Sgwr
541.2Sgwr#
551.3Sgwr# Serial ports
561.3Sgwr#
571.3Sgwrzstty0 at zsc1 channel 0	# ttya
581.3Sgwrzstty1 at zsc1 channel 1	# ttyb
591.3Sgwr
601.3Sgwrkbd0   at zsc0 channel 0	# keyboard
611.3Sgwrms0    at zsc0 channel 1	# mouse
621.3Sgwr
631.3Sgwr#
641.2Sgwr# Network devices
651.2Sgwr#
661.1Sgwr
671.2Sgwr# Intel Ethernet (onboard, or VME)
681.10Sgwrie0 at obio0 addr   0x0C0000 level 3
691.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
701.1Sgwr
711.2Sgwr# Lance Ethernet (only onboard)
721.10Sgwrle0 at obio0 addr   0x120000 level 3
731.1Sgwr
741.2Sgwr#
751.2Sgwr# Disk and tape devices
761.2Sgwr#
771.2Sgwr
781.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
791.10Sgwrsi0 at obio0 addr   0x140000 level 2
801.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
811.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
821.2Sgwr
831.10Sgwr# Xylogics 450/451 controllers
841.10Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
851.10Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
861.10Sgwr# Just wire-down the units so bootdev match is easy.
871.10Sgwr# xy0 at xyc0 drive 0
881.10Sgwr# xy1 at xyc0 drive 1
891.10Sgwr# xy2 at xyc1 drive 0
901.10Sgwr# xy3 at xyc1 drive 1
911.10Sgwr
921.2Sgwr# Xylogics 7053 controllers
931.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
941.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
951.10Sgwr# Just wire-down the units so bootdev match is easy.
961.10Sgwr# xd0 at xdc0 drive 0
971.10Sgwr# xd1 at xdc0 drive 1
981.10Sgwr# xd2 at xdc1 drive 0
991.10Sgwr# xd3 at xdc1 drive 1
1001.2Sgwr
1011.2Sgwr# Xylogics 472 tape controllers?
1021.2Sgwr
1031.2Sgwr#
1041.2Sgwr# Frame buffer devices
1051.2Sgwr# (Not needed for the RAMDISK installation kernel)
1061.1Sgwr
1071.2Sgwr#
1081.2Sgwr# SCSI infrastructure
1091.2Sgwr#
1101.1Sgwrscsibus* at scsi?
1111.1Sgwr
1121.10Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1131.10Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1141.10Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1151.10Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1161.10Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1171.10Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1181.1Sgwr
1191.8Spk# Memory-disk (root for install tape)
1201.10Sgwrpseudo-device	md	2
1211.2Sgwr
1221.2Sgwr# Misc.
1231.1Sgwrpseudo-device	loop	1		# network loopback
1241.2Sgwrpseudo-device	sl	2		# CSLIP
1251.2Sgwrpseudo-device	ppp	2		# PPP
1261.1Sgwr
127