1 1.16 gwr # $NetBSD: RAMDISK,v 1.16 1998/02/05 04:56:30 gwr 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.1 gwr 11 1.16 gwr # Machines to be supported by this kernel. Note: 12 1.16 gwr # The SUN3 and SUN3X options are mutually exclusive! 13 1.16 gwr # (Your kernel will only run on one or the other.) 14 1.16 gwr makeoptions MACHTYPE=sun3 15 1.16 gwr options _SUN3_ 16 1.16 gwr 17 1.13 gwr # options FPU_EMULATE # No FP code here! 18 1.1 gwr options HAVECACHE # Sun3/260 VAC 19 1.1 gwr 20 1.1 gwr # Needs to be set per system. i.e change these as you see fit 21 1.1 gwr maxusers 2 22 1.1 gwr 23 1.1 gwr # Standard system options 24 1.13 gwr # ... debugging options 25 1.13 gwr options DDB 26 1.13 gwr # Compatability options 27 1.13 gwr options COMPAT_13 # NetBSD 1.3 28 1.6 thorpej 29 1.13 gwr # Filesystem options 30 1.13 gwr # Need FFS for the ramdisk image. 31 1.13 gwr file-system FFS # Berkeley Fast Filesystem 32 1.13 gwr # May need these to get miniroot image. 33 1.13 gwr file-system NFS # Sun NFS client support 34 1.13 gwr file-system CD9660 # ISO 9660 + Rock Ridge file system 35 1.12 lukem 36 1.13 gwr options FIFO # named pipes used during install 37 1.2 gwr 38 1.13 gwr # Enable the hooks used for initializing the root memory-disk. 39 1.8 pk options MEMORY_DISK_HOOKS 40 1.13 gwr options MEMORY_DISK_IS_ROOT # force root on memory disk 41 1.13 gwr options MEMORY_DISK_SERVER=0 # no userspace memory disk support 42 1.13 gwr options MINIROOTSIZE=512 # size of memory disk, in blocks 43 1.1 gwr 44 1.1 gwr # Networking options 45 1.6 thorpej options INET # IP prototol stack support 46 1.13 gwr options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 47 1.1 gwr 48 1.10 gwr config netbsd root on md0 type ffs 49 1.1 gwr 50 1.16 gwr # On-board I/O space (required) 51 1.16 gwr include "arch/sun3/conf/obio.sun3" 52 1.16 gwr 53 1.16 gwr # On-board memory (optional) 54 1.16 gwr # See frame-buffers 55 1.16 gwr # obmem0 at mainbus? 56 1.16 gwr 57 1.16 gwr # VME bus support (optional) 58 1.16 gwr # One unit for each address space 59 1.16 gwr vme0 at mainbus? # A16/D16 60 1.16 gwr vme1 at mainbus? # A16/D32 61 1.16 gwr vme2 at mainbus? # A24/D16 62 1.16 gwr vme3 at mainbus? # A24/D32 63 1.16 gwr vme4 at mainbus? # A32/D16 64 1.16 gwr vme5 at mainbus? # A32/D32 65 1.16 gwr 66 1.2 gwr # 67 1.3 gwr # Serial ports 68 1.3 gwr # 69 1.11 lukem zstty0 at zsc1 channel 0 # ttya 70 1.11 lukem zstty1 at zsc1 channel 1 # ttyb 71 1.3 gwr 72 1.11 lukem kbd0 at zsc0 channel 0 # keyboard 73 1.13 gwr #ms0 at zsc0 channel 1 # mouse 74 1.3 gwr 75 1.3 gwr # 76 1.2 gwr # Network devices 77 1.2 gwr # 78 1.1 gwr 79 1.2 gwr # Intel Ethernet (onboard, or VME) 80 1.16 gwr ie0 at obio0 addr 0x0C0000 ipl 3 81 1.16 gwr ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 82 1.1 gwr 83 1.2 gwr # Lance Ethernet (only onboard) 84 1.16 gwr le0 at obio0 addr 0x120000 ipl 3 85 1.16 gwr 86 1.16 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be 87 1.16 gwr # presumed to have the old, buggy LANCE chip. (Rev. C) 88 1.16 gwr options LANCE_REVC_BUG 89 1.1 gwr 90 1.2 gwr # 91 1.2 gwr # Disk and tape devices 92 1.2 gwr # 93 1.2 gwr 94 1.2 gwr # Sun3 "si" SCSI controller (NCR 5380) 95 1.13 gwr # See GENERIC for the flags description. 96 1.16 gwr si0 at obio0 addr 0x140000 ipl 2 97 1.16 gwr si0 at vme2 addr 0x200000 ipl 2 vect 0x40 98 1.16 gwr si1 at vme2 addr 0x204000 ipl 2 vect 0x41 99 1.16 gwr 100 1.16 gwr # Xylogics 450/451 controllers (VME A16/D16) 101 1.16 gwr xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 102 1.16 gwr xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 103 1.13 gwr xy* at xyc? drive ? 104 1.10 gwr 105 1.16 gwr # Xylogics 7053 controllers (VME A16/D32) 106 1.16 gwr xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 107 1.16 gwr xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 108 1.13 gwr xd* at xdc? drive ? 109 1.2 gwr 110 1.2 gwr # Xylogics 472 tape controllers? 111 1.13 gwr 112 1.16 gwr # Sun3/E SCSI+Ethernet board (VME A24/D16) 113 1.16 gwr # Note: the board uses vect and vect+1 114 1.16 gwr sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 115 1.16 gwr sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 116 1.13 gwr si* at sebuf? 117 1.13 gwr ie* at sebuf? 118 1.2 gwr 119 1.2 gwr # 120 1.2 gwr # Frame buffer devices 121 1.2 gwr # (Not needed for the RAMDISK installation kernel) 122 1.1 gwr 123 1.2 gwr # 124 1.2 gwr # SCSI infrastructure 125 1.2 gwr # 126 1.1 gwr scsibus* at scsi? 127 1.1 gwr 128 1.10 gwr sd* at scsibus? target ? lun ? # SCSI disks 129 1.10 gwr st* at scsibus? target ? lun ? # SCSI tapes 130 1.10 gwr cd* at scsibus? target ? lun ? # SCSI CD-ROMs 131 1.10 gwr #ch* at scsibus? target ? lun ? # SCSI changer devices 132 1.10 gwr #ss* at scsibus? target ? lun ? # SCSI scanners 133 1.16 gwr #uk* at scsibus? target ? lun ? # unknown SCSI devices 134 1.1 gwr 135 1.16 gwr # Memory-disk drivers (root for install tape) 136 1.11 lukem pseudo-device md 2 137 1.2 gwr 138 1.2 gwr # Misc. 139 1.11 lukem pseudo-device loop 1 # network loopback 140 1.11 lukem pseudo-device sl 2 # CSLIP 141 1.11 lukem pseudo-device ppp 2 # PPP 142