1# $NetBSD: RAMDISK3X,v 1.44 2020/06/19 10:35:11 tsutsui Exp $ 2 3# RAMDISK: Root/swap on ramdisk 4# This kernel is used to: 5# format the disk (not yet implemented) 6# partition the disk (disklabel) 7# install the miniroot in the swap partition 8 9include "arch/sun3/conf/std.sun3x" 10 11#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12 13makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB) 14 15# Machines to be supported by this kernel 16# options FPU_EMULATE # XXX - Ever needed? 17# options HAVE_IOCACHE # XXX - Not yet supported. 18 19# Needs to be set per system. i.e change these as you see fit 20maxusers 2 21 22# Standard system options 23# ... debugging options 24#options DDB 25# Compatibility options (none) 26 27# Filesystem options 28# Need FFS for the ramdisk image. 29file-system FFS # Berkeley Fast Filesystem 30# May need these to get miniroot image. 31file-system NFS # Sun NFS client support 32file-system CD9660 # ISO 9660 + Rock Ridge file system 33options FFS_NO_SNAPSHOT # No FFS snapshot support 34#file-system PTYFS # /dev/pts/N support 35 36# Networking options 37options INET # IP protocol stack support 38#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 39 40# Enable the hooks used for initializing the root memory-disk. 41options MEMORY_DISK_HOOKS 42options MEMORY_DISK_IS_ROOT # force root on memory disk 43options MEMORY_DISK_SERVER=0 # no userspace memory disk support 44options MEMORY_DISK_ROOT_SIZE=1320 # size of memory disk, in blocks 45options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 46 47options USERCONF # userconf(4) support 48options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 49#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 50 51config netbsd root on ? type ffs 52 53# On-board I/O space (required) 54include "arch/sun3/conf/obio.sun3x" 55 56# On-board memory (optional) 57# See frame-buffers 58# obmem0 at mainbus? 59 60# VME bus support (optional) 61# One unit for each address space 62vme0 at mainbus? # A16/D16 63vme1 at mainbus? # A16/D32 64vme2 at mainbus? # A24/D16 65vme3 at mainbus? # A24/D32 66vme4 at mainbus? # A32/D16 67vme5 at mainbus? # A32/D32 68 69# 70# Serial ports 71# 72zstty0 at zsc1 channel 0 # ttya 73zstty1 at zsc1 channel 1 # ttyb 74 75kbd0 at zsc0 channel 0 # keyboard 76#ms0 at zsc0 channel 1 # mouse 77 78# 79# Network devices 80# 81 82# Intel Ethernet (onboard, or VME) 83ie0 at obio0 addr 0x65000000 ipl 3 84ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 85 86# Lance Ethernet (only onboard) 87le0 at obio0 addr 0x65002000 ipl 3 88 89# 90# Disk and tape devices 91# 92 93# Emulex SCSI (3/80 only) 94# Both `dma' and `esp' are needed. 95# See GENERIC3X for the flags description. 96dma0 at obio0 addr 0x66001000 ipl 2 97esp0 at obio0 addr 0x66000000 ipl 2 flags 0x000000 98 99# Floppy drive 100fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40 101fd0 at fdc0 # First (and only) floppy drive. 102 103# Sun3 "si" SCSI controller (NCR 5380) 104# See GENERIC3X for the flags description. 105si0 at vme2 addr 0x200000 ipl 2 vect 0x40 106si1 at vme2 addr 0x204000 ipl 2 vect 0x41 107 108# Xylogics 450/451 controllers (VME A16/D16) 109xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 110xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 111xy* at xyc? drive ? 112 113# Xylogics 7053 controllers (VME A16/D32) 114xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 115xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 116xd* at xdc? drive ? 117 118# Xylogics 472 tape controllers? 119 120# 121# Frame buffer devices 122# (Not needed for installation kernels.) 123 124# 125# SCSI infrastructure 126# 127scsibus* at scsi? 128 129sd* at scsibus? target ? lun ? # SCSI disks 130st* at scsibus? target ? lun ? # SCSI tapes 131cd* at scsibus? target ? lun ? # SCSI CD-ROMs 132#ch* at scsibus? target ? lun ? # SCSI changer devices 133#ss* at scsibus? target ? lun ? # SCSI scanners 134#uk* at scsibus? target ? lun ? # unknown SCSI devices 135 136# Memory-disk drivers (root for install tape) 137pseudo-device md 138 139# Misc. 140pseudo-device loop # network loopback 141pseudo-device sl # CSLIP 142#pseudo-device fss # file system snapshot device 143