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