1 1.56 tsutsui # $NetBSD: RAMDISK,v 1.56 2020/06/19 10:35:11 tsutsui Exp $ 2 1.1 gwr 3 1.1 gwr # RAMDISK: Root/swap on ramdisk 4 1.1 gwr # This kernel is used to: 5 1.1 gwr # format the disk (not yet implemented) 6 1.1 gwr # partition the disk (disklabel) 7 1.1 gwr # install the miniroot in the swap partition 8 1.1 gwr 9 1.5 jtc include "arch/sun3/conf/std.sun3" 10 1.34 atatat 11 1.34 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12 1.1 gwr 13 1.56 tsutsui makeoptions COPTS="-Os -fno-unwind-tables" # bootloader has size limit (~2MB) 14 1.48 tsutsui 15 1.17 gwr # Machines to be supported by this kernel 16 1.13 gwr # options FPU_EMULATE # No FP code here! 17 1.1 gwr options HAVECACHE # Sun3/260 VAC 18 1.1 gwr 19 1.1 gwr # Needs to be set per system. i.e change these as you see fit 20 1.1 gwr maxusers 2 21 1.1 gwr 22 1.1 gwr # Standard system options 23 1.13 gwr # ... debugging options 24 1.18 gwr #options DDB 25 1.25 wiz # Compatibility options (none) 26 1.6 thorpej 27 1.13 gwr # Filesystem options 28 1.13 gwr # Need FFS for the ramdisk image. 29 1.13 gwr file-system FFS # Berkeley Fast Filesystem 30 1.13 gwr # May need these to get miniroot image. 31 1.13 gwr file-system NFS # Sun NFS client support 32 1.13 gwr file-system CD9660 # ISO 9660 + Rock Ridge file system 33 1.44 tsutsui options FFS_NO_SNAPSHOT # No FFS snapshot support 34 1.42 christos #file-system PTYFS # /dev/pts/N support 35 1.2 gwr 36 1.18 gwr # Networking options 37 1.43 isaki options INET # IP protocol stack support 38 1.26 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 39 1.26 abs 40 1.13 gwr # Enable the hooks used for initializing the root memory-disk. 41 1.8 pk options MEMORY_DISK_HOOKS 42 1.13 gwr options MEMORY_DISK_IS_ROOT # force root on memory disk 43 1.13 gwr options MEMORY_DISK_SERVER=0 # no userspace memory disk support 44 1.55 mrg options MEMORY_DISK_ROOT_SIZE=1320 # size of memory disk, in blocks 45 1.50 jym options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 46 1.30 jdolecek 47 1.35 lukem options USERCONF # userconf(4) support 48 1.46 tsutsui options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 49 1.37 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 50 1.1 gwr 51 1.24 tsutsui config netbsd root on ? type ffs 52 1.1 gwr 53 1.16 gwr # On-board I/O space (required) 54 1.16 gwr include "arch/sun3/conf/obio.sun3" 55 1.16 gwr 56 1.16 gwr # On-board memory (optional) 57 1.16 gwr # See frame-buffers 58 1.16 gwr # obmem0 at mainbus? 59 1.16 gwr 60 1.16 gwr # VME bus support (optional) 61 1.16 gwr # One unit for each address space 62 1.16 gwr vme0 at mainbus? # A16/D16 63 1.16 gwr vme1 at mainbus? # A16/D32 64 1.16 gwr vme2 at mainbus? # A24/D16 65 1.16 gwr vme3 at mainbus? # A24/D32 66 1.16 gwr vme4 at mainbus? # A32/D16 67 1.16 gwr vme5 at mainbus? # A32/D32 68 1.16 gwr 69 1.2 gwr # 70 1.3 gwr # Serial ports 71 1.3 gwr # 72 1.11 lukem zstty0 at zsc1 channel 0 # ttya 73 1.11 lukem zstty1 at zsc1 channel 1 # ttyb 74 1.3 gwr 75 1.11 lukem kbd0 at zsc0 channel 0 # keyboard 76 1.13 gwr #ms0 at zsc0 channel 1 # mouse 77 1.3 gwr 78 1.3 gwr # 79 1.2 gwr # Network devices 80 1.2 gwr # 81 1.1 gwr 82 1.2 gwr # Intel Ethernet (onboard, or VME) 83 1.16 gwr ie0 at obio0 addr 0x0C0000 ipl 3 84 1.29 lukem ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 85 1.1 gwr 86 1.2 gwr # Lance Ethernet (only onboard) 87 1.16 gwr le0 at obio0 addr 0x120000 ipl 3 88 1.16 gwr 89 1.16 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be 90 1.16 gwr # presumed to have the old, buggy LANCE chip. (Rev. C) 91 1.16 gwr options LANCE_REVC_BUG 92 1.1 gwr 93 1.2 gwr # 94 1.2 gwr # Disk and tape devices 95 1.2 gwr # 96 1.2 gwr 97 1.2 gwr # Sun3 "si" SCSI controller (NCR 5380) 98 1.13 gwr # See GENERIC for the flags description. 99 1.16 gwr si0 at obio0 addr 0x140000 ipl 2 100 1.29 lukem si0 at vme2 addr 0x200000 ipl 2 vect 0x40 101 1.29 lukem si1 at vme2 addr 0x204000 ipl 2 vect 0x41 102 1.16 gwr 103 1.16 gwr # Xylogics 450/451 controllers (VME A16/D16) 104 1.16 gwr xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 105 1.16 gwr xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 106 1.13 gwr xy* at xyc? drive ? 107 1.10 gwr 108 1.16 gwr # Xylogics 7053 controllers (VME A16/D32) 109 1.16 gwr xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 110 1.16 gwr xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 111 1.13 gwr xd* at xdc? drive ? 112 1.2 gwr 113 1.2 gwr # Xylogics 472 tape controllers? 114 1.13 gwr 115 1.16 gwr # Sun3/E SCSI+Ethernet board (VME A24/D16) 116 1.16 gwr # Note: the board uses vect and vect+1 117 1.16 gwr sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 118 1.16 gwr sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 119 1.13 gwr si* at sebuf? 120 1.13 gwr ie* at sebuf? 121 1.2 gwr 122 1.2 gwr # 123 1.2 gwr # Frame buffer devices 124 1.18 gwr # (Not needed for installation kernels.) 125 1.1 gwr 126 1.2 gwr # 127 1.2 gwr # SCSI infrastructure 128 1.2 gwr # 129 1.1 gwr scsibus* at scsi? 130 1.1 gwr 131 1.10 gwr sd* at scsibus? target ? lun ? # SCSI disks 132 1.10 gwr st* at scsibus? target ? lun ? # SCSI tapes 133 1.10 gwr cd* at scsibus? target ? lun ? # SCSI CD-ROMs 134 1.10 gwr #ch* at scsibus? target ? lun ? # SCSI changer devices 135 1.10 gwr #ss* at scsibus? target ? lun ? # SCSI scanners 136 1.20 gwr #uk* at scsibus? target ? lun ? # unknown SCSI devices 137 1.1 gwr 138 1.16 gwr # Memory-disk drivers (root for install tape) 139 1.52 hannken pseudo-device md 140 1.2 gwr 141 1.2 gwr # Misc. 142 1.53 christos pseudo-device loop # network loopback 143 1.45 cube pseudo-device sl # CSLIP 144 1.51 pooka #pseudo-device fss # file system snapshot device 145