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