1 # $NetBSD: RAMDISK,v 1.49 2008/05/16 15:16:15 he Exp $
3 # RAMDISK: Root/swap on ramdisk
4 # This kernel is used to:
5 # format the disk (not yet implemented)
6 # partition the disk (disklabel)
7 # install the miniroot in the swap partition
9 include "arch/sun3/conf/std.sun3"
11 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
13 makeoptions COPTS="-Os" # bootloader has size limit (~2MB)
15 # Machines to be supported by this kernel
16 # options FPU_EMULATE # No FP code here!
17 options HAVECACHE # Sun3/260 VAC
19 # Needs to be set per system. i.e change these as you see fit
22 # Standard system options
23 # ... debugging options
25 # Compatibility options (none)
28 # Need FFS for the ramdisk image.
29 file-system FFS # Berkeley Fast Filesystem
30 # May need these to get miniroot image.
31 file-system NFS # Sun NFS client support
32 file-system CD9660 # ISO 9660 + Rock Ridge file system
33 options FFS_NO_SNAPSHOT # No FFS snapshot support
34 #file-system PTYFS # /dev/pts/N support
37 options INET # IP protocol stack support
38 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
40 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
42 # Enable the hooks used for initializing the root memory-disk.
43 options MEMORY_DISK_HOOKS
44 options MEMORY_DISK_IS_ROOT # force root on memory disk
45 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
46 options MEMORY_DISK_ROOT_SIZE=1200 # size of memory disk, in blocks
47 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
49 options USERCONF # userconf(4) support
50 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
51 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
53 config netbsd root on ? type ffs
55 # On-board I/O space (required)
56 include "arch/sun3/conf/obio.sun3"
58 # On-board memory (optional)
62 # VME bus support (optional)
63 # One unit for each address space
64 vme0 at mainbus? # A16/D16
65 vme1 at mainbus? # A16/D32
66 vme2 at mainbus? # A24/D16
67 vme3 at mainbus? # A24/D32
68 vme4 at mainbus? # A32/D16
69 vme5 at mainbus? # A32/D32
74 zstty0 at zsc1 channel 0 # ttya
75 zstty1 at zsc1 channel 1 # ttyb
77 kbd0 at zsc0 channel 0 # keyboard
78 #ms0 at zsc0 channel 1 # mouse
84 # Intel Ethernet (onboard, or VME)
85 ie0 at obio0 addr 0x0C0000 ipl 3
86 ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
88 # Lance Ethernet (only onboard)
89 le0 at obio0 addr 0x120000 ipl 3
91 # All Sun3 machines with an "le" (3/50, 3/60) should be
92 # presumed to have the old, buggy LANCE chip. (Rev. C)
93 options LANCE_REVC_BUG
96 # Disk and tape devices
99 # Sun3 "si" SCSI controller (NCR 5380)
100 # See GENERIC for the flags description.
101 si0 at obio0 addr 0x140000 ipl 2
102 si0 at vme2 addr 0x200000 ipl 2 vect 0x40
103 si1 at vme2 addr 0x204000 ipl 2 vect 0x41
105 # Xylogics 450/451 controllers (VME A16/D16)
106 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
107 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
110 # Xylogics 7053 controllers (VME A16/D32)
111 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
112 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
115 # Xylogics 472 tape controllers?
117 # Sun3/E SCSI+Ethernet board (VME A24/D16)
118 # Note: the board uses vect and vect+1
119 sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
120 sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
125 # Frame buffer devices
126 # (Not needed for installation kernels.)
129 # SCSI infrastructure
133 sd* at scsibus? target ? lun ? # SCSI disks
134 st* at scsibus? target ? lun ? # SCSI tapes
135 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
136 #ch* at scsibus? target ? lun ? # SCSI changer devices
137 #ss* at scsibus? target ? lun ? # SCSI scanners
138 #uk* at scsibus? target ? lun ? # unknown SCSI devices
140 # Memory-disk drivers (root for install tape)
144 pseudo-device loop 1 # network loopback
145 pseudo-device sl # CSLIP
146 #pseudo-device fss 4 # file system snapshot device