1 1.49 he # $NetBSD: RAMDISK,v 1.49 2008/05/16 15:16:15 he 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.48 tsutsui makeoptions COPTS="-Os" # 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.26 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 41 1.18 gwr 42 1.13 gwr # Enable the hooks used for initializing the root memory-disk. 43 1.8 pk options MEMORY_DISK_HOOKS 44 1.13 gwr options MEMORY_DISK_IS_ROOT # force root on memory disk 45 1.13 gwr options MEMORY_DISK_SERVER=0 # no userspace memory disk support 46 1.49 he options MEMORY_DISK_ROOT_SIZE=1200 # size of memory disk, in blocks 47 1.30 jdolecek 48 1.35 lukem options USERCONF # userconf(4) support 49 1.46 tsutsui options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 50 1.37 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 51 1.1 gwr 52 1.24 tsutsui config netbsd root on ? type ffs 53 1.1 gwr 54 1.16 gwr # On-board I/O space (required) 55 1.16 gwr include "arch/sun3/conf/obio.sun3" 56 1.16 gwr 57 1.16 gwr # On-board memory (optional) 58 1.16 gwr # See frame-buffers 59 1.16 gwr # obmem0 at mainbus? 60 1.16 gwr 61 1.16 gwr # VME bus support (optional) 62 1.16 gwr # One unit for each address space 63 1.16 gwr vme0 at mainbus? # A16/D16 64 1.16 gwr vme1 at mainbus? # A16/D32 65 1.16 gwr vme2 at mainbus? # A24/D16 66 1.16 gwr vme3 at mainbus? # A24/D32 67 1.16 gwr vme4 at mainbus? # A32/D16 68 1.16 gwr vme5 at mainbus? # A32/D32 69 1.16 gwr 70 1.2 gwr # 71 1.3 gwr # Serial ports 72 1.3 gwr # 73 1.11 lukem zstty0 at zsc1 channel 0 # ttya 74 1.11 lukem zstty1 at zsc1 channel 1 # ttyb 75 1.3 gwr 76 1.11 lukem kbd0 at zsc0 channel 0 # keyboard 77 1.13 gwr #ms0 at zsc0 channel 1 # mouse 78 1.3 gwr 79 1.3 gwr # 80 1.2 gwr # Network devices 81 1.2 gwr # 82 1.1 gwr 83 1.2 gwr # Intel Ethernet (onboard, or VME) 84 1.16 gwr ie0 at obio0 addr 0x0C0000 ipl 3 85 1.29 lukem ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 86 1.1 gwr 87 1.2 gwr # Lance Ethernet (only onboard) 88 1.16 gwr le0 at obio0 addr 0x120000 ipl 3 89 1.16 gwr 90 1.16 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be 91 1.16 gwr # presumed to have the old, buggy LANCE chip. (Rev. C) 92 1.16 gwr options LANCE_REVC_BUG 93 1.1 gwr 94 1.2 gwr # 95 1.2 gwr # Disk and tape devices 96 1.2 gwr # 97 1.2 gwr 98 1.2 gwr # Sun3 "si" SCSI controller (NCR 5380) 99 1.13 gwr # See GENERIC for the flags description. 100 1.16 gwr si0 at obio0 addr 0x140000 ipl 2 101 1.29 lukem si0 at vme2 addr 0x200000 ipl 2 vect 0x40 102 1.29 lukem si1 at vme2 addr 0x204000 ipl 2 vect 0x41 103 1.16 gwr 104 1.16 gwr # Xylogics 450/451 controllers (VME A16/D16) 105 1.16 gwr xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 106 1.16 gwr xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 107 1.13 gwr xy* at xyc? drive ? 108 1.10 gwr 109 1.16 gwr # Xylogics 7053 controllers (VME A16/D32) 110 1.16 gwr xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 111 1.16 gwr xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 112 1.13 gwr xd* at xdc? drive ? 113 1.2 gwr 114 1.2 gwr # Xylogics 472 tape controllers? 115 1.13 gwr 116 1.16 gwr # Sun3/E SCSI+Ethernet board (VME A24/D16) 117 1.16 gwr # Note: the board uses vect and vect+1 118 1.16 gwr sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 119 1.16 gwr sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 120 1.13 gwr si* at sebuf? 121 1.13 gwr ie* at sebuf? 122 1.2 gwr 123 1.2 gwr # 124 1.2 gwr # Frame buffer devices 125 1.18 gwr # (Not needed for installation kernels.) 126 1.1 gwr 127 1.2 gwr # 128 1.2 gwr # SCSI infrastructure 129 1.2 gwr # 130 1.1 gwr scsibus* at scsi? 131 1.1 gwr 132 1.10 gwr sd* at scsibus? target ? lun ? # SCSI disks 133 1.10 gwr st* at scsibus? target ? lun ? # SCSI tapes 134 1.10 gwr cd* at scsibus? target ? lun ? # SCSI CD-ROMs 135 1.10 gwr #ch* at scsibus? target ? lun ? # SCSI changer devices 136 1.10 gwr #ss* at scsibus? target ? lun ? # SCSI scanners 137 1.20 gwr #uk* at scsibus? target ? lun ? # unknown SCSI devices 138 1.1 gwr 139 1.16 gwr # Memory-disk drivers (root for install tape) 140 1.11 lukem pseudo-device md 2 141 1.2 gwr 142 1.2 gwr # Misc. 143 1.11 lukem pseudo-device loop 1 # network loopback 144 1.45 cube pseudo-device sl # CSLIP 145 1.38 hannken #pseudo-device fss 4 # file system snapshot device 146