RAMDISK revision 1.44
11.44Stsutsui# $NetBSD: RAMDISK,v 1.44 2005/12/07 09:10:20 tsutsui Exp $ 21.1Sgwr 31.1Sgwr# RAMDISK: Root/swap on ramdisk 41.1Sgwr# This kernel is used to: 51.1Sgwr# format the disk (not yet implemented) 61.1Sgwr# partition the disk (disklabel) 71.1Sgwr# install the miniroot in the swap partition 81.1Sgwr 91.5Sjtcinclude "arch/sun3/conf/std.sun3" 101.34Satatat 111.34Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 121.1Sgwr 131.17Sgwr# Machines to be supported by this kernel 141.13Sgwr# options FPU_EMULATE # No FP code here! 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.13Sgwr# ... debugging options 221.18Sgwr#options DDB 231.25Swiz# Compatibility options (none) 241.6Sthorpej 251.13Sgwr# Filesystem options 261.13Sgwr# Need FFS for the ramdisk image. 271.13Sgwrfile-system FFS # Berkeley Fast Filesystem 281.13Sgwr# May need these to get miniroot image. 291.13Sgwrfile-system NFS # Sun NFS client support 301.13Sgwrfile-system CD9660 # ISO 9660 + Rock Ridge file system 311.44Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 321.42Schristos#file-system PTYFS # /dev/pts/N support 331.2Sgwr 341.18Sgwr# Networking options 351.43Sisakioptions INET # IP protocol stack support 361.26Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 371.26Sabs 381.26Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 391.18Sgwr 401.13Sgwr# Enable the hooks used for initializing the root memory-disk. 411.8Spkoptions MEMORY_DISK_HOOKS 421.13Sgwroptions MEMORY_DISK_IS_ROOT # force root on memory disk 431.13Sgwroptions MEMORY_DISK_SERVER=0 # no userspace memory disk support 441.36Schsoptions MEMORY_DISK_ROOT_SIZE=1000 # size of memory disk, in blocks 451.30Sjdolecek 461.35Slukemoptions USERCONF # userconf(4) support 471.30Sjdolecekoptions PIPE_SOCKETPAIR # smaller, but slower pipe(2) 481.37Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 491.1Sgwr 501.24Stsutsuiconfig netbsd root on ? type ffs 511.1Sgwr 521.16Sgwr# On-board I/O space (required) 531.16Sgwrinclude "arch/sun3/conf/obio.sun3" 541.16Sgwr 551.16Sgwr# On-board memory (optional) 561.16Sgwr# See frame-buffers 571.16Sgwr# obmem0 at mainbus? 581.16Sgwr 591.16Sgwr# VME bus support (optional) 601.16Sgwr# One unit for each address space 611.16Sgwrvme0 at mainbus? # A16/D16 621.16Sgwrvme1 at mainbus? # A16/D32 631.16Sgwrvme2 at mainbus? # A24/D16 641.16Sgwrvme3 at mainbus? # A24/D32 651.16Sgwrvme4 at mainbus? # A32/D16 661.16Sgwrvme5 at mainbus? # A32/D32 671.16Sgwr 681.2Sgwr# 691.3Sgwr# Serial ports 701.3Sgwr# 711.11Slukemzstty0 at zsc1 channel 0 # ttya 721.11Slukemzstty1 at zsc1 channel 1 # ttyb 731.3Sgwr 741.11Slukemkbd0 at zsc0 channel 0 # keyboard 751.13Sgwr#ms0 at zsc0 channel 1 # mouse 761.3Sgwr 771.3Sgwr# 781.2Sgwr# Network devices 791.2Sgwr# 801.1Sgwr 811.2Sgwr# Intel Ethernet (onboard, or VME) 821.16Sgwrie0 at obio0 addr 0x0C0000 ipl 3 831.29Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 841.1Sgwr 851.2Sgwr# Lance Ethernet (only onboard) 861.16Sgwrle0 at obio0 addr 0x120000 ipl 3 871.16Sgwr 881.16Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 891.16Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 901.16Sgwroptions LANCE_REVC_BUG 911.1Sgwr 921.2Sgwr# 931.2Sgwr# Disk and tape devices 941.2Sgwr# 951.2Sgwr 961.2Sgwr# Sun3 "si" SCSI controller (NCR 5380) 971.13Sgwr# See GENERIC for the flags description. 981.16Sgwrsi0 at obio0 addr 0x140000 ipl 2 991.29Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1001.29Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1011.16Sgwr 1021.16Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1031.16Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1041.16Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1051.13Sgwrxy* at xyc? drive ? 1061.10Sgwr 1071.16Sgwr# Xylogics 7053 controllers (VME A16/D32) 1081.16Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1091.16Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1101.13Sgwrxd* at xdc? drive ? 1111.2Sgwr 1121.2Sgwr# Xylogics 472 tape controllers? 1131.13Sgwr 1141.16Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 1151.16Sgwr# Note: the board uses vect and vect+1 1161.16Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 1171.16Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 1181.13Sgwrsi* at sebuf? 1191.13Sgwrie* at sebuf? 1201.2Sgwr 1211.2Sgwr# 1221.2Sgwr# Frame buffer devices 1231.18Sgwr# (Not needed for installation kernels.) 1241.1Sgwr 1251.2Sgwr# 1261.2Sgwr# SCSI infrastructure 1271.2Sgwr# 1281.1Sgwrscsibus* at scsi? 1291.1Sgwr 1301.10Sgwrsd* at scsibus? target ? lun ? # SCSI disks 1311.10Sgwrst* at scsibus? target ? lun ? # SCSI tapes 1321.10Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 1331.10Sgwr#ch* at scsibus? target ? lun ? # SCSI changer devices 1341.10Sgwr#ss* at scsibus? target ? lun ? # SCSI scanners 1351.20Sgwr#uk* at scsibus? target ? lun ? # unknown SCSI devices 1361.1Sgwr 1371.16Sgwr# Memory-disk drivers (root for install tape) 1381.11Slukempseudo-device md 2 1391.2Sgwr 1401.2Sgwr# Misc. 1411.11Slukempseudo-device loop 1 # network loopback 1421.11Slukempseudo-device sl 2 # CSLIP 1431.38Shannken#pseudo-device fss 4 # file system snapshot device 144