KGDB revision 1.8.2.1 1 # $NetBSD: KGDB,v 1.8.2.1 1997/03/12 14:04:29 is Exp $
2
3 #
4 # GENERIC_KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
5 # like GENERIC but supports gdb on other machine, i.e.:
6 # % gdb -k netbsd.gdb
7 # (gdb) set remotebaud 19200
8 # (gdb) target remote /dev/ttyb
9 #
10
11 include "arch/sun3/conf/std.sun3"
12
13 # Machines to be supported by this kernel
14 options FPU_EMULATE
15 options HAVECACHE # Sun3/260 VAC
16
17 # Needs to be set per system. i.e change these as you see fit
18 maxusers 4
19
20 # Standard system options
21 options KTRACE # system call tracing support
22
23 # Debugging options. Uncomment either this:
24 #options DDB
25 # ... or these for KGDB (gdb remote target)
26 makeoptions DEBUG="-g" # debugging symbols for gdb
27 options KGDB
28 options KGDBDEV=0x0C01
29
30 # Filesystem options
31 file-system FFS # ufs file system
32 file-system NFS # nfs client support
33 file-system CD9660 # ISO 9660 + Rock Ridge file system
34 file-system FDESC # /dev/fd/*
35 file-system KERNFS # /kern
36 file-system NULLFS # loopback file system
37 file-system PROCFS # /proc
38 file-system UNION # union file system
39 file-system MFS # memory-based filesystem
40
41 options NFSSERVER # nfs server support
42 options FIFO # FIFOs; RECOMMENDED
43
44 # Networking options
45 options INET # IP prototol stack support
46 #options GATEWAY # IP packet forwarding
47 options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
48 # XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
49 options NFS_BOOT_RWSIZE=1024
50
51 # Compatability options
52 options COMPAT_SUNOS # can run SunOS 4.1.1 executables
53 options COMPAT_43 # and 4.3BSD and ...
54 options COMPAT_10 # NetBSD 1.0
55 options COMPAT_11 # NetBSD 1.1
56 options COMPAT_12 # NetBSD 1.2
57 options UCONSOLE # Allow non-root TIOCCONS
58
59 # Sun3-specific debugging options
60 options PMAP_DEBUG
61 #options VMFAULT_TRACE
62 #options SYSCALL_DEBUG
63 #options EXEC_DEBUG
64 options DIAGNOSTIC
65 #options SCSIDEBUG
66
67 config netbsd root on ? type ?
68
69 #
70 # Serial ports
71 #
72 zstty0 at zsc1 channel 0 # ttya
73 zstty1 at zsc1 channel 1 # ttyb
74
75 kbd0 at zsc0 channel 0 # keyboard
76 ms0 at zsc0 channel 1 # mouse
77
78 #
79 # Network devices
80 #
81
82 # Intel Ethernet (onboard, or VME)
83 ie0 at obio0 addr 0x0C0000 level 3
84 ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
85
86 # Lance Ethernet (only onboard)
87 le0 at obio0 addr 0x120000 level 3
88
89 #
90 # Disk and tape devices
91 #
92
93 # Sun3 "si" SCSI controller (NCR 5380)
94 # This driver has several flags which may be enabled by OR'ing
95 # the values and using the "flags" directive. (PR#1929)
96 # Valid flags are:
97 #
98 # 0x01 Use DMA (may be polled)
99 # 0x02 Use DMA completion interrupts
100 # 0x04 Allow disconnect/reselect
101 #
102 # E.g. "flags 0x07" would enable DMA, interrupts, and reselect.
103 # Note: these values are quite a bit paranoid...
104 si0 at obio0 addr 0x140000 level 2
105 si0 at vmes0 addr 0xff200000 level 2 vect 0x40
106 si1 at vmes0 addr 0xff204000 level 2 vect 0x41
107
108 # Xylogics 7053 controllers
109 # xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
110 # xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
111 # xd* at xdc? drive ?
112
113 # Xylogics 450/451 controllers
114 # xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
115 # xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
116 # xy* at xyc? drive ?
117
118 # Xylogics 472 tape controllers?
119
120 #
121 # Frame buffer devices
122 #
123
124 # The default cgfour address depends on the machine:
125 # 3/60: obmem 0xFF200000 .. 0xFF9fffff
126 # 3/110: different? (not tested)
127 cgfour0 at obmem0 addr ?
128
129 # 3/60 P4 accelerated 8-bit color frame buffer
130 # cgsix0 at obmem0 addr ?
131
132 # 3/60 P4 24-bit color frame buffer
133 # cgeight0 at obmem0 addr ?
134
135 # The default bwtwo address depends on the machine:
136 # 3/50: obmem 0x100000
137 # else: obmem 0xff000000
138 bwtwo0 at obmem0 addr ?
139 # 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
140 #bwtwo1 at obmem0 addr 0xff300000
141 # 3/60 plug-in color frame buffer overlay plane
142 #bwtwo1 at obmem0 addr 0xff400000
143
144 # Sun-3 color board, or CG5 8-bit VME frame buffer.
145 cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
146
147 # Support for the CG9 24-bit VME frame buffer.
148 # cgnine0 at vmel0 addr 0x08000000
149
150 #
151 # SCSI infrastructure
152 #
153 scsibus* at scsi?
154
155 # Sun compatible scsi device mappings
156 sd0 at scsibus? target 0 lun 0
157 sd1 at scsibus? target 0 lun 1
158 sd2 at scsibus? target 1 lun 0
159 sd3 at scsibus? target 1 lun 1
160 sd* at scsibus? target ? lun ?
161
162 st0 at scsibus? target 4 lun 0
163 st1 at scsibus? target 5 lun 0
164 st* at scsibus? target ? lun ?
165
166 cd0 at scsibus? target 6 lun 0
167 cd* at scsibus? target ? lun ?
168
169 #ch* at scsibus? target ? lun ?
170
171 # Memory-disk drivers
172 pseudo-device md 2
173
174 # Misc.
175 pseudo-device loop 1 # network loopback
176 pseudo-device bpfilter 8 # packet filter
177 pseudo-device sl 2 # CSLIP
178 pseudo-device ppp 2 # PPP
179 pseudo-device tun 2 # network tunneling over tty
180
181 pseudo-device pty 64 # pseudo-terminals
182 #pseudo-device vnd 4 # paging to files
183 #pseudo-device ccd 4 # concatenated disks
184