Home | History | Annotate | Line # | Download | only in conf
KGDB revision 1.16
      1 #	$NetBSD: KGDB,v 1.16 1998/01/28 16:40:22 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 options 	NFS_BOOT_BOOTPARAM
     81 
     82 config		netbsd root on ? type ?
     83 
     84 #
     85 # Serial ports
     86 #
     87 zstty0	at zsc1 channel 0	# ttya
     88 zstty1	at zsc1 channel 1	# ttyb
     89 
     90 kbd0	at zsc0 channel 0	# keyboard
     91 ms0	at zsc0 channel 1	# mouse
     92 
     93 #
     94 # Network devices
     95 #
     96 
     97 # Intel Ethernet (onboard, or VME)
     98 ie0 at obio0 addr   0x0C0000 level 3
     99 ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
    100 
    101 # Lance Ethernet (only onboard)
    102 le0 at obio0 addr   0x120000 level 3
    103 
    104 #
    105 # Disk and tape devices
    106 #
    107 
    108 # Sun3 "si" SCSI controller (NCR 5380)
    109 # See GENERIC for the flags description.
    110 si0 at obio0 addr   0x140000 level 2
    111 si0 at vmes0 addr 0xff200000 level 2 vect 0x40
    112 si1 at vmes0 addr 0xff204000 level 2 vect 0x41
    113 
    114 # Xylogics 450/451 controllers
    115 xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
    116 xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
    117 xy* at xyc? drive ?
    118 
    119 # Xylogics 7053 controllers
    120 xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
    121 xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
    122 xd* at xdc? drive ?
    123 
    124 # Xylogics 472 tape controllers?
    125 
    126 #
    127 # Sun3/E stuff
    128 #
    129 sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
    130 sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
    131 si* at sebuf?
    132 ie* at sebuf?
    133 
    134 #
    135 # Frame buffer devices
    136 #
    137 
    138 # The default cgfour address depends on the machine:
    139 # 3/60: obmem 0xFF200000 .. 0xFF9fffff
    140 # 3/110: different? (not tested)
    141 cgfour0 at obmem0 addr ?
    142 
    143 # 3/60 P4 accelerated 8-bit color frame buffer
    144 # cgsix0 at obmem0 addr ?
    145 
    146 # 3/60 P4 24-bit color frame buffer
    147 # cgeight0 at obmem0 addr ?
    148 
    149 # The default bwtwo address depends on the machine:
    150 # 3/50: obmem   0x100000
    151 # else: obmem 0xff000000
    152 bwtwo0 at obmem0 addr ?
    153 # 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
    154 #bwtwo1 at obmem0 addr 0xff300000
    155 # 3/60 plug-in color frame buffer overlay plane
    156 #bwtwo1 at obmem0 addr 0xff400000
    157 
    158 # Sun-3 color board, or CG5 8-bit VME frame buffer.
    159 cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
    160 
    161 # Support for the CG9 24-bit VME frame buffer.
    162 # cgnine0 at vmel0 addr 0x08000000
    163 
    164 #
    165 # SCSI infrastructure
    166 #
    167 scsibus* at scsi?
    168 
    169 sd* at scsibus? target ? lun ?		# SCSI disks
    170 st* at scsibus? target ? lun ?		# SCSI tapes
    171 cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
    172 ch* at scsibus? target ? lun ?		# SCSI changer devices
    173 ss* at scsibus? target ? lun ?		# SCSI scanners
    174 uk* at scsibus? target ? lun ?		# unknown SCSI devices
    175 
    176 # Memory-disk drivers
    177 pseudo-device	md		2
    178 
    179 # Misc.
    180 pseudo-device	loop		1	# network loopback
    181 pseudo-device	bpfilter	8	# packet filter
    182 pseudo-device	sl		2	# CSLIP
    183 pseudo-device	ppp		2	# PPP
    184 pseudo-device	tun		2	# network tunneling over tty
    185 #pseudo-device	ipfilter		# ip filter
    186 # rnd is EXPERIMENTAL
    187 #pseudo-device	rnd			# /dev/random and in-kernel generator
    188 
    189 pseudo-device	pty		64	# pseudo-terminals
    190 #pseudo-device	vnd		4	# paging to files
    191 #pseudo-device	ccd		4	# concatenated disks
    192