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