RAMDISK3X revision 1.21
11.21Satatat# $NetBSD: RAMDISK3X,v 1.21 2002/04/25 15:06:39 atatat Exp $
21.1Sjeremy
31.1Sjeremy# RAMDISK: Root/swap on ramdisk
41.1Sjeremy# This kernel is used to:
51.1Sjeremy#	format the disk (not yet implemented)
61.1Sjeremy#	partition the disk (disklabel)
71.1Sjeremy#	install the miniroot in the swap partition
81.1Sjeremy
91.4Sgwrinclude "arch/sun3/conf/std.sun3x"
101.21Satatat
111.21Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
121.3Sgwr
131.4Sgwr# Machines to be supported by this kernel
141.4Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
151.3Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
161.1Sjeremy
171.1Sjeremy# Needs to be set per system.  i.e change these as you see fit
181.1Sjeremymaxusers	2
191.1Sjeremy
201.1Sjeremy# Standard system options
211.2Sgwr# ... debugging options
221.5Sgwr#options 	DDB
231.12Swiz# Compatibility options (none)
241.2Sgwr
251.2Sgwr# Filesystem options
261.2Sgwr# Need FFS for the ramdisk image.
271.2Sgwrfile-system	FFS		# Berkeley Fast Filesystem
281.2Sgwr# May need these to get miniroot image.
291.2Sgwrfile-system	NFS		# Sun NFS client support
301.2Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
311.1Sjeremy
321.5Sgwr# Networking options
331.5Sgwroptions 	INET		# IP prototol stack support
341.13Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
351.13Sabs
361.13Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
371.5Sgwr
381.3Sgwr# Enable the hooks used for initializing the root memory-disk.
391.1Sjeremyoptions 	MEMORY_DISK_HOOKS
401.3Sgwroptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
411.3Sgwroptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
421.19Slukemoptions 	MEMORY_DISK_ROOT_SIZE=800	# size of memory disk, in blocks
431.17Sjdolecek
441.20Sgmcgarry#options 	USERCONF	# userconf(4) support
451.17Sjdolecekoptions		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
461.1Sjeremy
471.11Stsutsuiconfig		netbsd root on ? type ffs
481.1Sjeremy
491.3Sgwr# On-board I/O space (required)
501.3Sgwrinclude "arch/sun3/conf/obio.sun3x"
511.3Sgwr
521.3Sgwr# On-board memory (optional)
531.3Sgwr# See frame-buffers
541.3Sgwr# obmem0 at mainbus?
551.3Sgwr
561.3Sgwr# VME bus support (optional)
571.3Sgwr# One unit for each address space
581.3Sgwrvme0 at mainbus? # A16/D16
591.3Sgwrvme1 at mainbus? # A16/D32
601.3Sgwrvme2 at mainbus? # A24/D16
611.3Sgwrvme3 at mainbus? # A24/D32
621.3Sgwrvme4 at mainbus? # A32/D16
631.3Sgwrvme5 at mainbus? # A32/D32
641.1Sjeremy
651.1Sjeremy#
661.1Sjeremy# Serial ports
671.1Sjeremy#
681.1Sjeremyzstty0	at zsc1 channel 0	# ttya
691.1Sjeremyzstty1	at zsc1 channel 1	# ttyb
701.1Sjeremy
711.1Sjeremykbd0	at zsc0 channel 0	# keyboard
721.3Sgwr#ms0	at zsc0 channel 1	# mouse
731.1Sjeremy
741.1Sjeremy#
751.1Sjeremy# Network devices
761.1Sjeremy#
771.1Sjeremy
781.3Sgwr# Intel Ethernet (onboard, or VME)
791.2Sgwrie0 at obio0 addr 0x65000000 ipl 3
801.16Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
811.2Sgwr
821.1Sjeremy# Lance Ethernet (only onboard)
831.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3
841.1Sjeremy
851.1Sjeremy#
861.1Sjeremy# Disk and tape devices
871.1Sjeremy#
881.1Sjeremy
891.2Sgwr# Emulex SCSI (3/80 only)
901.8Sgwr# Both `dma' and `esp' are needed.
911.5Sgwr# See GENERIC3X for the flags description.
921.8Sgwrdma0 at obio0 addr 0x66001000 ipl 2
931.1Sjeremyesp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
941.1Sjeremy
951.1Sjeremy# Floppy drive
961.1Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
971.16Slukemfd0	at fdc0	# First (and only) floppy drive.
981.1Sjeremy
991.3Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1001.5Sgwr# See GENERIC3X for the flags description.
1011.16Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1021.16Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1031.3Sgwr
1041.3Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1051.3Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1061.3Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1071.3Sgwrxy* at xyc? drive ?
1081.3Sgwr
1091.3Sgwr# Xylogics 7053 controllers (VME A16/D32)
1101.3Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1111.3Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1121.3Sgwrxd* at xdc? drive ?
1131.3Sgwr
1141.3Sgwr# Xylogics 472 tape controllers?
1151.3Sgwr
1161.1Sjeremy#
1171.1Sjeremy# Frame buffer devices
1181.5Sgwr# (Not needed for installation kernels.)
1191.1Sjeremy
1201.1Sjeremy#
1211.1Sjeremy# SCSI infrastructure
1221.1Sjeremy#
1231.1Sjeremyscsibus* at scsi?
1241.1Sjeremy
1251.1Sjeremysd* at scsibus? target ? lun ?		# SCSI disks
1261.1Sjeremyst* at scsibus? target ? lun ?		# SCSI tapes
1271.1Sjeremycd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1281.1Sjeremy#ch* at scsibus? target ? lun ?		# SCSI changer devices
1291.1Sjeremy#ss* at scsibus? target ? lun ?		# SCSI scanners
1301.3Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1311.1Sjeremy
1321.2Sgwr# Memory-disk drivers (root for install tape)
1331.1Sjeremypseudo-device	md		2
1341.1Sjeremy
1351.1Sjeremy# Misc.
1361.1Sjeremypseudo-device	loop		1	# network loopback
1371.1Sjeremypseudo-device	sl		2	# CSLIP
138