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