RAMDISK revision 1.12
11.12Slukem#	$NetBSD: RAMDISK,v 1.12 1997/11/17 01:58:33 lukem 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.12Slukem
291.12Slukem# Other debugging options
301.12Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
311.2Sgwr
321.2Sgwr# Enable the hooks used for initializing the ram-disk.
331.8Spkoptions 	MEMORY_DISK_HOOKS
341.2Sgwroptions 	MINIROOTSIZE=512	# 256K
351.1Sgwr
361.1Sgwr# Filesystem options
371.9Sthorpej# May need NFS to get miniroot image
381.11Slukemfile-system	NFS		# nfs client support
391.1Sgwr# Need FFS for the ramdisk image
401.11Slukemfile-system	FFS		# ufs file system
411.9Sthorpej
421.10Sgwroptions 	FIFO		# named pipes used during install
431.1Sgwr
441.1Sgwr# Networking options
451.6Sthorpejoptions 	INET		# IP prototol stack support
461.6Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
471.10Sgwr# XXX - Work-around for root on slow servers (insurance...)
481.3Sgwroptions 	NFS_BOOT_RWSIZE=1024
491.1Sgwr
501.3Sgwr# Compatability options
511.1Sgwr
521.1Sgwr# Sun3-specific debugging options
531.10Sgwr#options 	DIAGNOSTIC
541.1Sgwr
551.10Sgwrconfig		netbsd root on md0 type ffs
561.1Sgwr
571.2Sgwr#
581.3Sgwr# Serial ports
591.3Sgwr#
601.11Slukemzstty0	at zsc1 channel 0	# ttya
611.11Slukemzstty1	at zsc1 channel 1	# ttyb
621.3Sgwr
631.11Slukemkbd0	at zsc0 channel 0	# keyboard
641.11Slukemms0	at zsc0 channel 1	# mouse
651.3Sgwr
661.3Sgwr#
671.2Sgwr# Network devices
681.2Sgwr#
691.1Sgwr
701.2Sgwr# Intel Ethernet (onboard, or VME)
711.10Sgwrie0 at obio0 addr   0x0C0000 level 3
721.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
731.1Sgwr
741.2Sgwr# Lance Ethernet (only onboard)
751.10Sgwrle0 at obio0 addr   0x120000 level 3
761.1Sgwr
771.2Sgwr#
781.2Sgwr# Disk and tape devices
791.2Sgwr#
801.2Sgwr
811.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
821.10Sgwrsi0 at obio0 addr   0x140000 level 2
831.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
841.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
851.2Sgwr
861.10Sgwr# Xylogics 450/451 controllers
871.10Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
881.10Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
891.10Sgwr# Just wire-down the units so bootdev match is easy.
901.10Sgwr# xy0 at xyc0 drive 0
911.10Sgwr# xy1 at xyc0 drive 1
921.10Sgwr# xy2 at xyc1 drive 0
931.10Sgwr# xy3 at xyc1 drive 1
941.10Sgwr
951.2Sgwr# Xylogics 7053 controllers
961.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
971.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
981.10Sgwr# Just wire-down the units so bootdev match is easy.
991.10Sgwr# xd0 at xdc0 drive 0
1001.10Sgwr# xd1 at xdc0 drive 1
1011.10Sgwr# xd2 at xdc1 drive 0
1021.10Sgwr# xd3 at xdc1 drive 1
1031.2Sgwr
1041.2Sgwr# Xylogics 472 tape controllers?
1051.2Sgwr
1061.2Sgwr#
1071.2Sgwr# Frame buffer devices
1081.2Sgwr# (Not needed for the RAMDISK installation kernel)
1091.1Sgwr
1101.2Sgwr#
1111.2Sgwr# SCSI infrastructure
1121.2Sgwr#
1131.1Sgwrscsibus* at scsi?
1141.1Sgwr
1151.10Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1161.10Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1171.10Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1181.10Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1191.10Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1201.10Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1211.1Sgwr
1221.8Spk# Memory-disk (root for install tape)
1231.11Slukempseudo-device	md		2
1241.2Sgwr
1251.2Sgwr# Misc.
1261.11Slukempseudo-device	loop		1	# network loopback
1271.11Slukempseudo-device	sl		2	# CSLIP
1281.11Slukempseudo-device	ppp		2	# PPP
1291.1Sgwr
130