RAMDISK3X revision 1.8
11.8Sgwr# $NetBSD: RAMDISK3X,v 1.8 1999/04/08 06:49:55 gwr 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.3Sgwr 111.4Sgwr# Machines to be supported by this kernel 121.4Sgwr# options FPU_EMULATE # XXX - Ever needed? 131.3Sgwr# options HAVE_IOCACHE # XXX - Not yet supported. 141.1Sjeremy 151.1Sjeremy# Needs to be set per system. i.e change these as you see fit 161.1Sjeremymaxusers 2 171.1Sjeremy 181.1Sjeremy# Standard system options 191.2Sgwr# ... debugging options 201.5Sgwr#options DDB 211.6Sgwr# Compatability options (none) 221.2Sgwr 231.2Sgwr# Filesystem options 241.2Sgwr# Need FFS for the ramdisk image. 251.2Sgwrfile-system FFS # Berkeley Fast Filesystem 261.2Sgwr# May need these to get miniroot image. 271.2Sgwrfile-system NFS # Sun NFS client support 281.2Sgwrfile-system CD9660 # ISO 9660 + Rock Ridge file system 291.1Sjeremy 301.5Sgwr# Networking options 311.5Sgwroptions INET # IP prototol stack support 321.5Sgwroptions TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 331.5Sgwr 341.3Sgwr# Enable the hooks used for initializing the root memory-disk. 351.1Sjeremyoptions MEMORY_DISK_HOOKS 361.3Sgwroptions MEMORY_DISK_IS_ROOT # force root on memory disk 371.3Sgwroptions MEMORY_DISK_SERVER=0 # no userspace memory disk support 381.3Sgwroptions MINIROOTSIZE=512 # size of memory disk, in blocks 391.1Sjeremy 401.3Sgwrconfig netbsd root on md0 type ffs 411.1Sjeremy 421.3Sgwr# On-board I/O space (required) 431.3Sgwrinclude "arch/sun3/conf/obio.sun3x" 441.3Sgwr 451.3Sgwr# On-board memory (optional) 461.3Sgwr# See frame-buffers 471.3Sgwr# obmem0 at mainbus? 481.3Sgwr 491.3Sgwr# VME bus support (optional) 501.3Sgwr# One unit for each address space 511.3Sgwrvme0 at mainbus? # A16/D16 521.3Sgwrvme1 at mainbus? # A16/D32 531.3Sgwrvme2 at mainbus? # A24/D16 541.3Sgwrvme3 at mainbus? # A24/D32 551.3Sgwrvme4 at mainbus? # A32/D16 561.3Sgwrvme5 at mainbus? # A32/D32 571.1Sjeremy 581.1Sjeremy# 591.1Sjeremy# Serial ports 601.1Sjeremy# 611.1Sjeremyzstty0 at zsc1 channel 0 # ttya 621.1Sjeremyzstty1 at zsc1 channel 1 # ttyb 631.1Sjeremy 641.1Sjeremykbd0 at zsc0 channel 0 # keyboard 651.3Sgwr#ms0 at zsc0 channel 1 # mouse 661.1Sjeremy 671.1Sjeremy# 681.1Sjeremy# Network devices 691.1Sjeremy# 701.1Sjeremy 711.3Sgwr# Intel Ethernet (onboard, or VME) 721.2Sgwrie0 at obio0 addr 0x65000000 ipl 3 731.3Sgwrie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 741.2Sgwr 751.1Sjeremy# Lance Ethernet (only onboard) 761.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3 771.1Sjeremy 781.1Sjeremy# 791.1Sjeremy# Disk and tape devices 801.1Sjeremy# 811.1Sjeremy 821.2Sgwr# Emulex SCSI (3/80 only) 831.8Sgwr# Both `dma' and `esp' are needed. 841.5Sgwr# See GENERIC3X for the flags description. 851.8Sgwrdma0 at obio0 addr 0x66001000 ipl 2 861.1Sjeremyesp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f 871.1Sjeremy 881.1Sjeremy# Floppy drive 891.1Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 901.1Sjeremyfd0 at fdc0 # First (and only) floppy drive. 911.1Sjeremy 921.3Sgwr# Sun3 "si" SCSI controller (NCR 5380) 931.5Sgwr# See GENERIC3X for the flags description. 941.3Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 951.3Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 961.3Sgwr 971.3Sgwr# Xylogics 450/451 controllers (VME A16/D16) 981.3Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 991.3Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1001.3Sgwrxy* at xyc? drive ? 1011.3Sgwr 1021.3Sgwr# Xylogics 7053 controllers (VME A16/D32) 1031.3Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1041.3Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1051.3Sgwrxd* at xdc? drive ? 1061.3Sgwr 1071.3Sgwr# Xylogics 472 tape controllers? 1081.3Sgwr 1091.1Sjeremy# 1101.1Sjeremy# Frame buffer devices 1111.5Sgwr# (Not needed for installation kernels.) 1121.1Sjeremy 1131.1Sjeremy# 1141.1Sjeremy# SCSI infrastructure 1151.1Sjeremy# 1161.1Sjeremyscsibus* at scsi? 1171.1Sjeremy 1181.1Sjeremysd* at scsibus? target ? lun ? # SCSI disks 1191.1Sjeremyst* at scsibus? target ? lun ? # SCSI tapes 1201.1Sjeremycd* at scsibus? target ? lun ? # SCSI CD-ROMs 1211.1Sjeremy#ch* at scsibus? target ? lun ? # SCSI changer devices 1221.1Sjeremy#ss* at scsibus? target ? lun ? # SCSI scanners 1231.3Sgwr#uk* at scsibus? target ? lun ? # unknown SCSI devices 1241.1Sjeremy 1251.2Sgwr# Memory-disk drivers (root for install tape) 1261.1Sjeremypseudo-device md 2 1271.1Sjeremy 1281.1Sjeremy# Misc. 1291.1Sjeremypseudo-device loop 1 # network loopback 1301.1Sjeremypseudo-device sl 2 # CSLIP 1311.1Sjeremypseudo-device ppp 2 # PPP 132