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