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