INSTALL3X revision 1.13 1 # $NetBSD: INSTALL3X,v 1.13 2001/11/20 08:43:39 lukem Exp $
2 #
3 # INSTALL3X - Installation kernel for the Sun3X
4 #
5 # This kernel is derived from GENERIC with some features commented out.
6 #
7 # This kernel does NOT support X, mice, non-NetBSD emulation, etc.
8 #
9
10 include "arch/sun3/conf/std.sun3x"
11
12 makeoptions COPTS="-Os" # Optimise for space. Implies -O2
13
14 # Machines to be supported by this kernel
15 # options FPU_EMULATE # XXX - Ever needed?
16 # options HAVE_IOCACHE # XXX - Not yet supported.
17
18 # Needs to be set per system. i.e change these as you see fit
19 maxusers 2
20
21 # Standard system options
22 #options KTRACE # system call tracing
23 #options SYSVMSG # System V message queues
24 #options SYSVSEM # System V semaphores
25 #options SYSVSHM # System V shared memory
26 #options SHMMAXPGS=1024 # 1024 pages is the default
27 #options LKM # loadable kernel modules
28 #options INSECURE # disable kernel security level
29 #options UCONSOLE # Allow non-root TIOCCONS
30
31 # Which kernel debugger? Uncomment either this:
32 #options DDB
33 # ... or these for KGDB (gdb remote target)
34 #makeoptions DEBUG="-g" # debugging symbols for gdb
35 #options KGDB
36 #options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01
37
38 # Other debugging options
39 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
40 #options DEBUG # kernel debugging code
41 #options DIAGNOSTIC # extra kernel sanity checking
42 #options KMEMSTATS # kernel memory statistics (vmstat -m)
43 #options PMAP_DEBUG
44 #options SCSIDEBUG
45 #options SCSIVERBOSE # Verbose SCSI errors
46
47 # Compatibility options
48 #options COMPAT_SUNOS # can run SunOS 4.1.1 executables
49 #options COMPAT_43 # and 4.3BSD and ...
50 #options COMPAT_10 # NetBSD 1.0
51 #options COMPAT_11 # NetBSD 1.1
52 #options COMPAT_12 # NetBSD 1.2
53 options COMPAT_13 # NetBSD 1.3
54 options COMPAT_14 # NetBSD 1.4
55 #options COMPAT_LINUX # can run Linux/m68k executables
56 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
57
58 # File systems
59 file-system FFS # Berkeley Fast Filesystem
60 file-system NFS # Sun NFS client support
61 file-system CD9660 # ISO 9660 + Rock Ridge file system
62 file-system MSDOSFS # MS-DOS FAT file system
63 #file-system FDESC # /dev/fd/*
64 file-system KERNFS # /kern
65 #file-system NULLFS # loopback file system
66 #file-system PROCFS # /proc
67 #file-system UNION # union file system
68 #file-system MFS # memory-based filesystem
69
70 # Filesystem options
71 #options NFSSERVER # nfs server support
72 #options QUOTA # FFS quotas
73 #options FFS_EI # FFS Endian Independant support
74 #options NFS_V2_ONLY # Exclude NFS3 and NQNFS code to save space
75 #options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
76
77 # Networking options
78 options INET # IP prototol stack support
79 #options GATEWAY # IP packet forwarding
80 #options ISO,TPIP # OSI networking
81 #options EON # OSI tunneling over IP
82 #options CCITT,LLC,HDLC # X.25
83 #options PFIL_HOOKS # pfil(9) packet filter hooks.
84 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
85
86 # Work-around for root on slow servers (insurance...)
87 options NFS_BOOT_RWSIZE=1024
88 options NFS_BOOT_BOOTPARAM
89
90 config netbsd root on ? type ?
91
92 # On-board I/O space (required)
93 include "arch/sun3/conf/obio.sun3x"
94
95 # On-board memory (optional)
96 # See frame-buffers
97 # obmem0 at mainbus?
98
99 # VME bus support (optional)
100 # One unit for each address space
101 vme0 at mainbus? # A16/D16
102 vme1 at mainbus? # A16/D32
103 vme2 at mainbus? # A24/D16
104 vme3 at mainbus? # A24/D32
105 vme4 at mainbus? # A32/D16
106 vme5 at mainbus? # A32/D32
107
108 #
109 # Serial ports
110 #
111 zstty0 at zsc1 channel 0 # ttya
112 zstty1 at zsc1 channel 1 # ttyb
113
114 kbd0 at zsc0 channel 0 # keyboard
115 #ms0 at zsc0 channel 1 # mouse
116
117 #
118 # Network devices
119 #
120
121 # Intel Ethernet (onboard, or VME)
122 ie0 at obio0 addr 0x65000000 ipl 3
123 ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
124
125 # Lance Ethernet (only onboard)
126 le0 at obio0 addr 0x65002000 ipl 3
127
128 #
129 # Disk and tape devices
130 #
131
132 # Emulex SCSI (3/80 only)
133 # Both `dma' and `esp' are needed.
134 # See GENERIC3X for the flags description.
135 dma0 at obio0 addr 0x66001000 ipl 2
136 esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
137
138 # Floppy drive
139 fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
140 fd0 at fdc0 # First (and only) floppy drive.
141
142 # Sun3 "si" SCSI controller (NCR 5380)
143 # See GENERIC3X for the flags description.
144 si0 at vme2 addr 0x200000 ipl 2 vect 0x40
145 si1 at vme2 addr 0x204000 ipl 2 vect 0x41
146
147 # Xylogics 450/451 controllers (VME A16/D16)
148 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
149 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
150 xy* at xyc? drive ?
151
152 # Xylogics 7053 controllers (VME A16/D32)
153 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
154 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
155 xd* at xdc? drive ?
156
157 # Xylogics 472 tape controllers?
158
159 #
160 # Frame buffer devices
161 # (Not needed for installation kernels.)
162
163 #
164 # SCSI infrastructure
165 #
166 scsibus* at scsi?
167
168 sd* at scsibus? target ? lun ? # SCSI disks
169 st* at scsibus? target ? lun ? # SCSI tapes
170 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
171 #ch* at scsibus? target ? lun ? # SCSI changer devices
172 #ss* at scsibus? target ? lun ? # SCSI scanners
173 #uk* at scsibus? target ? lun ? # unknown SCSI devices
174
175 # Memory-disk drivers
176 #pseudo-device md 2
177
178 # Misc.
179 pseudo-device loop 1 # network loopback
180 #pseudo-device bpfilter 8 # packet filter
181 pseudo-device sl 2 # CSLIP
182 pseudo-device ppp 2 # PPP
183 pseudo-device tun 2 # network tunneling over tty
184 #pseudo-device gre 2 # generic L3 over IP tunnel
185 #pseudo-device ipfilter # ip filter
186 #pseudo-device rnd # /dev/random and in-kernel generator
187
188 pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
189 #pseudo-device vnd 4 # paging to files
190 #pseudo-device ccd 4 # concatenated disks
191