KGDB revision 1.11.8.1 1 # $NetBSD: KGDB,v 1.11.8.1 1997/12/14 01:31:32 mellon 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 DEBUG # kernel debugging code
37 options DIAGNOSTIC # extra kernel sanity checking
38 # Note: KMEMSTATS causes horrible performance!
39 #options KMEMSTATS # kernel memory statistics (vmstat -m)
40 options PMAP_DEBUG
41 options SWAPDEBUG
42 #options SCSIDEBUG
43 #options SCSIVERBOSE # Verbose SCSI errors
44
45 # Compatability options
46 options COMPAT_SUNOS # can run SunOS 4.1.1 executables
47 options COMPAT_43 # and 4.3BSD and ...
48 options COMPAT_10 # NetBSD 1.0
49 options COMPAT_11 # NetBSD 1.1
50 options COMPAT_12 # NetBSD 1.2
51
52 # Filesystem options
53 file-system FFS # Berkeley Fast Filesystem
54 file-system NFS # Sun NFS client support
55 file-system CD9660 # ISO 9660 + Rock Ridge file system
56 file-system FDESC # /dev/fd/*
57 file-system KERNFS # /kern
58 file-system NULLFS # loopback file system
59 file-system PROCFS # /proc
60 file-system UNION # union file system
61 file-system MFS # memory-based filesystem
62
63 options FIFO # FIFOs; RECOMMENDED
64 options NFSSERVER # nfs server support
65 options QUOTA # FFS quotas
66
67 # Networking options
68 options INET # IP prototol stack support
69 options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
70 #options GATEWAY # IP packet forwarding
71 #options ISO,TPIP # OSI networking
72 #options EON # OSI tunneling over IP
73 #options CCITT,LLC,HDLC # X.25
74 #options PFIL_HOOKS # pfil(9) packet filter hooks.
75
76 # Work-around for root on slow servers (insurance...)
77 options NFS_BOOT_RWSIZE=1024
78
79 config netbsd root on ? type ?
80
81 #
82 # Serial ports
83 #
84 zstty0 at zsc1 channel 0 # ttya
85 zstty1 at zsc1 channel 1 # ttyb
86
87 kbd0 at zsc0 channel 0 # keyboard
88 ms0 at zsc0 channel 1 # mouse
89
90 #
91 # Network devices
92 #
93
94 # Intel Ethernet (onboard, or VME)
95 ie0 at obio0 addr 0x0C0000 level 3
96 ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
97
98 # Lance Ethernet (only onboard)
99 le0 at obio0 addr 0x120000 level 3
100
101 #
102 # Disk and tape devices
103 #
104
105 # Sun3 "si" SCSI controller (NCR 5380)
106 # See GENERIC for the flags description.
107 si0 at obio0 addr 0x140000 level 2 flags 0x1000f
108 si0 at vmes0 addr 0xff200000 level 2 vect 0x40 flags 0xf
109 si1 at vmes0 addr 0xff204000 level 2 vect 0x41 flags 0xf
110
111 # Xylogics 450/451 controllers
112 xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
113 xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
114 xy* at xyc? drive ?
115
116 # Xylogics 7053 controllers
117 xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
118 xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
119 xd* at xdc? drive ?
120
121 # Xylogics 472 tape controllers?
122
123 #
124 # Sun3/E stuff
125 #
126 sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
127 sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
128 si* at sebuf?
129 ie* at sebuf?
130
131 #
132 # Frame buffer devices
133 #
134
135 # The default cgfour address depends on the machine:
136 # 3/60: obmem 0xFF200000 .. 0xFF9fffff
137 # 3/110: different? (not tested)
138 cgfour0 at obmem0 addr ?
139
140 # 3/60 P4 accelerated 8-bit color frame buffer
141 # cgsix0 at obmem0 addr ?
142
143 # 3/60 P4 24-bit color frame buffer
144 # cgeight0 at obmem0 addr ?
145
146 # The default bwtwo address depends on the machine:
147 # 3/50: obmem 0x100000
148 # else: obmem 0xff000000
149 bwtwo0 at obmem0 addr ?
150 # 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
151 #bwtwo1 at obmem0 addr 0xff300000
152 # 3/60 plug-in color frame buffer overlay plane
153 #bwtwo1 at obmem0 addr 0xff400000
154
155 # Sun-3 color board, or CG5 8-bit VME frame buffer.
156 cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
157
158 # Support for the CG9 24-bit VME frame buffer.
159 # cgnine0 at vmel0 addr 0x08000000
160
161 #
162 # SCSI infrastructure
163 #
164 scsibus* at scsi?
165
166 sd* at scsibus? target ? lun ? # SCSI disks
167 st* at scsibus? target ? lun ? # SCSI tapes
168 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
169 ch* at scsibus? target ? lun ? # SCSI changer devices
170 ss* at scsibus? target ? lun ? # SCSI scanners
171 uk* at scsibus? target ? lun ? # unknown SCSI devices
172
173 # Memory-disk drivers
174 pseudo-device md 2
175
176 # Misc.
177 pseudo-device loop 1 # network loopback
178 pseudo-device bpfilter 8 # packet filter
179 pseudo-device sl 2 # CSLIP
180 pseudo-device ppp 2 # PPP
181 pseudo-device tun 2 # network tunneling over tty
182 #pseudo-device ipfilter # ip filter
183 # rnd is EXPERIMENTAL
184 #pseudo-device rnd # /dev/random and in-kernel generator
185
186 pseudo-device pty 64 # pseudo-terminals
187 #pseudo-device vnd 4 # paging to files
188 #pseudo-device ccd 4 # concatenated disks
189