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
9include "arch/sun3/conf/std.sun3"
10
11# Machines to be supported by this kernel
12options 	FPU_EMULATE
13options 	HAVECACHE		# Sun3/260 VAC
14
15# Needs to be set per system.  i.e change these as you see fit
16maxusers	4
17
18# Standard system options
19options 	KTRACE		# system call tracing
20options 	SYSVMSG		# System V message queues
21options 	SYSVSEM		# System V semaphores
22options 	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)
31makeoptions DEBUG="-g"		# debugging symbols for gdb
32options 	KGDB
33options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
34
35# Other debugging options
36#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
37options 	DEBUG		# kernel debugging code
38options 	DIAGNOSTIC	# extra kernel sanity checking
39# Note: KMEMSTATS causes horrible performance!
40#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
41options 	PMAP_DEBUG
42options 	SWAPDEBUG
43#options 	SCSIDEBUG
44#options 	SCSIVERBOSE		# Verbose SCSI errors
45
46# Compatability options
47options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
48options 	COMPAT_43	# and 4.3BSD and ...
49options 	COMPAT_10	# NetBSD 1.0
50options 	COMPAT_11	# NetBSD 1.1
51options 	COMPAT_12	# NetBSD 1.2
52options 	COMPAT_13	# NetBSD 1.3
53
54# Filesystem options
55file-system	FFS		# Berkeley Fast Filesystem
56file-system	NFS		# Sun NFS client support
57file-system	CD9660		# ISO 9660 + Rock Ridge file system
58file-system	FDESC		# /dev/fd/*
59file-system	KERNFS		# /kern
60file-system	NULLFS		# loopback file system
61file-system	PROCFS		# /proc
62file-system	UNION		# union file system
63file-system	MFS		# memory-based filesystem
64
65options 	FIFO		# FIFOs; RECOMMENDED
66options 	NFSSERVER	# nfs server support
67options 	QUOTA		# FFS quotas
68
69# Networking options
70options 	INET		# IP prototol stack support
71options 	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...)
79options 	NFS_BOOT_RWSIZE=1024
80
81config		netbsd root on ? type ?
82
83#
84# Serial ports
85#
86zstty0	at zsc1 channel 0	# ttya
87zstty1	at zsc1 channel 1	# ttyb
88
89kbd0	at zsc0 channel 0	# keyboard
90ms0	at zsc0 channel 1	# mouse
91
92#
93# Network devices
94#
95
96# Intel Ethernet (onboard, or VME)
97ie0 at obio0 addr   0x0C0000 level 3
98ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
99
100# Lance Ethernet (only onboard)
101le0 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.
109si0 at obio0 addr   0x140000 level 2
110si0 at vmes0 addr 0xff200000 level 2 vect 0x40
111si1 at vmes0 addr 0xff204000 level 2 vect 0x41
112
113# Xylogics 450/451 controllers
114xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
115xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
116xy* at xyc? drive ?
117
118# Xylogics 7053 controllers
119xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
120xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
121xd* at xdc? drive ?
122
123# Xylogics 472 tape controllers?
124
125#
126# Sun3/E stuff
127#
128sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
129sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
130si* at sebuf?
131ie* 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)
140cgfour0 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
151bwtwo0 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.
158cgtwo0 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#
166scsibus* at scsi?
167
168sd* at scsibus? target ? lun ?		# SCSI disks
169st* at scsibus? target ? lun ?		# SCSI tapes
170cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
171ch* at scsibus? target ? lun ?		# SCSI changer devices
172ss* at scsibus? target ? lun ?		# SCSI scanners
173uk* at scsibus? target ? lun ?		# unknown SCSI devices
174
175# Memory-disk drivers
176pseudo-device	md		2
177
178# Misc.
179pseudo-device	loop		1	# network loopback
180pseudo-device	bpfilter	8	# packet filter
181pseudo-device	sl		2	# CSLIP
182pseudo-device	ppp		2	# PPP
183pseudo-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
188pseudo-device	pty		64	# pseudo-terminals
189#pseudo-device	vnd		4	# paging to files
190#pseudo-device	ccd		4	# concatenated disks
191