KGDB revision 1.15 1 # $NetBSD: KGDB,v 1.15 1998/01/22 23:00:26 gwr Exp $
2
3 # GENERIC_KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
4 # like GENERIC but supports gdb on other machine, i.e.:
5 # % gdb -k netbsd.gdb
6 # (gdb) set remotebaud 19200
7 # (gdb) target remote /dev/ttyb
8
9 include "arch/sun3/conf/std.sun3"
10
11 # Machines to be supported by this kernel
12 options FPU_EMULATE
13 options HAVECACHE # Sun3/260 VAC
14
15 # Needs to be set per system. i.e change these as you see fit
16 maxusers 4
17
18 # Standard system options
19 options KTRACE # system call tracing
20 options SYSVMSG # System V message queues
21 options SYSVSEM # System V semaphores
22 options SYSVSHM # System V shared memory
23 #options SHMMAXPGS=1024 # 1024 pages is the default
24 #options LKM # loadable kernel modules
25 #options INSECURE # disable kernel security level
26 #options UCONSOLE # Allow non-root TIOCCONS
27
28 # Which kernel debugger? Uncomment either this:
29 #options DDB
30 # ... or these for KGDB (gdb remote target)
31 makeoptions DEBUG="-g" # debugging symbols for gdb
32 options KGDB
33 options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01
34
35 # Other debugging options
36 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
37 options DEBUG # kernel debugging code
38 options DIAGNOSTIC # extra kernel sanity checking
39 # Note: KMEMSTATS causes horrible performance!
40 #options KMEMSTATS # kernel memory statistics (vmstat -m)
41 options PMAP_DEBUG
42 options SWAPDEBUG
43 #options SCSIDEBUG
44 #options SCSIVERBOSE # Verbose SCSI errors
45
46 # Compatability options
47 options COMPAT_SUNOS # can run SunOS 4.1.1 executables
48 options COMPAT_43 # and 4.3BSD and ...
49 options COMPAT_10 # NetBSD 1.0
50 options COMPAT_11 # NetBSD 1.1
51 options COMPAT_12 # NetBSD 1.2
52 options COMPAT_13 # NetBSD 1.3
53
54 # Filesystem options
55 file-system FFS # Berkeley Fast Filesystem
56 file-system NFS # Sun NFS client support
57 file-system CD9660 # ISO 9660 + Rock Ridge file system
58 file-system FDESC # /dev/fd/*
59 file-system KERNFS # /kern
60 file-system NULLFS # loopback file system
61 file-system PROCFS # /proc
62 file-system UNION # union file system
63 file-system MFS # memory-based filesystem
64
65 options FIFO # FIFOs; RECOMMENDED
66 options NFSSERVER # nfs server support
67 options QUOTA # FFS quotas
68
69 # Networking options
70 options INET # IP prototol stack support
71 options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
72 #options GATEWAY # IP packet forwarding
73 #options ISO,TPIP # OSI networking
74 #options EON # OSI tunneling over IP
75 #options CCITT,LLC,HDLC # X.25
76 #options PFIL_HOOKS # pfil(9) packet filter hooks.
77
78 # Work-around for root on slow servers (insurance...)
79 options NFS_BOOT_RWSIZE=1024
80
81 config netbsd root on ? type ?
82
83 #
84 # Serial ports
85 #
86 zstty0 at zsc1 channel 0 # ttya
87 zstty1 at zsc1 channel 1 # ttyb
88
89 kbd0 at zsc0 channel 0 # keyboard
90 ms0 at zsc0 channel 1 # mouse
91
92 #
93 # Network devices
94 #
95
96 # Intel Ethernet (onboard, or VME)
97 ie0 at obio0 addr 0x0C0000 level 3
98 ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
99
100 # Lance Ethernet (only onboard)
101 le0 at obio0 addr 0x120000 level 3
102
103 #
104 # Disk and tape devices
105 #
106
107 # Sun3 "si" SCSI controller (NCR 5380)
108 # See GENERIC for the flags description.
109 si0 at obio0 addr 0x140000 level 2
110 si0 at vmes0 addr 0xff200000 level 2 vect 0x40
111 si1 at vmes0 addr 0xff204000 level 2 vect 0x41
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 7053 controllers
119 xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
120 xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
121 xd* at xdc? drive ?
122
123 # Xylogics 472 tape controllers?
124
125 #
126 # Sun3/E stuff
127 #
128 sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
129 sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
130 si* at sebuf?
131 ie* at sebuf?
132
133 #
134 # Frame buffer devices
135 #
136
137 # The default cgfour address depends on the machine:
138 # 3/60: obmem 0xFF200000 .. 0xFF9fffff
139 # 3/110: different? (not tested)
140 cgfour0 at obmem0 addr ?
141
142 # 3/60 P4 accelerated 8-bit color frame buffer
143 # cgsix0 at obmem0 addr ?
144
145 # 3/60 P4 24-bit color frame buffer
146 # cgeight0 at obmem0 addr ?
147
148 # The default bwtwo address depends on the machine:
149 # 3/50: obmem 0x100000
150 # else: obmem 0xff000000
151 bwtwo0 at obmem0 addr ?
152 # 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
153 #bwtwo1 at obmem0 addr 0xff300000
154 # 3/60 plug-in color frame buffer overlay plane
155 #bwtwo1 at obmem0 addr 0xff400000
156
157 # Sun-3 color board, or CG5 8-bit VME frame buffer.
158 cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
159
160 # Support for the CG9 24-bit VME frame buffer.
161 # cgnine0 at vmel0 addr 0x08000000
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 ipfilter # ip filter
185 # rnd is EXPERIMENTAL
186 #pseudo-device rnd # /dev/random and in-kernel generator
187
188 pseudo-device pty 64 # pseudo-terminals
189 #pseudo-device vnd 4 # paging to files
190 #pseudo-device ccd 4 # concatenated disks
191