COMPUTEXEVB revision 1.15
1#	$NetBSD: COMPUTEXEVB,v 1.15 2002/03/10 19:56:41 lukem Exp $
2#
3#	GENERIC -- everything that's currently supported
4#
5
6# for big endian
7include "arch/evbsh3/conf/std.evbsh3.eb"
8# for little endian
9#include "arch/evbsh3/conf/std.evbsh3.el"
10
11# Enable the hooks used for initializing the root memory-disk.
12options 	MEMORY_DISK_HOOKS
13options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
14options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
15options 	MEMORY_DISK_SIZE=3074	# size of memory disk, in blocks
16
17maxusers	32		# estimated number of users
18
19# CPU support.  At least one is REQUIRED.
20options		SH3
21options 	SH7709A,SH7709A_BROKEN_IPR	# 100MHz
22options 	PCLOCK=25000000		# 25.000MHz
23options 	IOM_ROM_BEGIN=0x00000000
24options 	IOM_ROM_SIZE=0x00100000	# 1MB
25options 	IOM_RAM_BEGIN=0x8c000000
26options 	IOM_RAM_SIZE=0x01000000	# 16MB
27options 	LED_ADDR=0xb8000000
28
29options 	COMPUTEXEVB	# don't forget.
30
31options 	BSC_BCR1_VAL	=0x0008
32options 	BSC_BCR2_VAL	=0x3fd0
33options 	BSC_WCR1_VAL	=0x3ff3
34options 	BSC_WCR2_VAL	=0xffdf
35options 	BSC_MCR_VAL	=0x0004
36options 	BSC_SDMR3_VAL	=0xffffe088
37options 	BSC_RTCSR_VAL	=0xa508
38options 	BSC_RTCNT_VAL	=0xa500
39options 	BSC_RTCOR_VAL	=0xa582
40options 	FRQCR_VAL	=0x0122
41options 	PFC_SCPCR_VAL	=0x00aa
42
43# CPU-related options.
44#options 	MATH_EMULATE	# floating point emulation
45
46# This option allows you to force a serial console at the specified
47# I/O address.   see console(4) for details.
48#options 	CONSDEVNAME="\"com\""
49
50# Standard system options
51
52#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
53#options 	INSECURE	# disable kernel security levels
54
55options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
56options 	HZ=50		# clock interrupt generates every 1/HZ sec
57#options 	NTP		# NTP phase/frequency locked loop
58
59#options 	KTRACE		# system call tracing via ktrace(1)
60
61options 	SYSVMSG		# System V-like message queues
62options 	SYSVSEM		# System V-like semaphores
63options 	SYSVSHM		# System V-like memory sharing
64#options 	SHMMAXPGS=1024	# 1024 pages is the default
65
66#options 	LKM		# loadable kernel modules
67
68#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
69
70# Diagnostic/debugging support options
71#options 	DIAGNOSTIC	# cheap kernel consistency checks
72#options 	DEBUG		# expensive debugging checks/support
73#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
74#options 	DDB		# in-kernel debugger
75#options 	KGDB		# remote debugger
76#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
77makeoptions	DEBUG="-g"	# compile full symbol table
78options 	SYSCALL_DEBUG
79
80# Compatibility options
81options 	COMPAT_13	# NetBSD 1.3,
82options 	COMPAT_14	# NetBSD 1.4,
83options 	COMPAT_43	# and 4.3BSD
84
85# Executable format options
86#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
87options 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
88
89# File systems
90file-system 	FFS		# UFS
91#file-system 	EXT2FS		# second extended file system (linux)
92#file-system 	LFS		# log-structured file system
93file-system 	MFS		# memory file system
94file-system 	NFS		# Network File System client
95#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
96#file-system 	MSDOSFS		# MS-DOS file system
97file-system 	FDESC		# /dev/fd
98file-system 	KERNFS		# /kern
99file-system 	NULLFS		# loopback file system
100#file-system 	PORTAL		# portal filesystem (still experimental)
101file-system 	PROCFS		# /proc
102#file-system 	UMAPFS		# NULLFS + uid and gid remapping
103#file-system 	UNION		# union file system
104
105# File system options
106#options 	QUOTA		# UFS quotas
107#options 	NFSSERVER	# Network File System server
108#options 	FIFO		# FIFOs; RECOMMENDED
109#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
110				# immutable) behave as system flags.
111
112# Networking options
113options 	GATEWAY		# packet forwarding
114options 	INET		# IP + ICMP + TCP + UDP
115options 	MROUTING	# IP multicast routing
116options 	NS		# XNS
117#options 	NSIP		# XNS tunneling over IP
118#options 	ISO,TPIP	# OSI
119#options 	EON		# OSI tunneling over IP
120#options 	CCITT,LLC,HDLC	# X.25
121#options 	NETATALK	# AppleTalk networking protocols
122#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
123#options 	PPP_DEFLATE	# Deflate compression support for PPP
124#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
125#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
126#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
127
128#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
129
130# These options enable verbose messages for several subsystems.
131# Warning, these may compile large string tables into the kernel!
132#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
133
134# Kernel root file system and dump configuration.
135config		netbsd	root on ? type ?
136#config		netbsd	root on ? type nfs
137#config		netbsd	root on wd0a type ffs
138
139#
140# Device configuration
141#
142
143mainbus0 at root
144
145shb* at mainbus?
146
147# WatchDog Timer
148wdog0 at shb? port 0xffffff84
149
150# Serial Devices
151
152# 115200bps (3.2%)
153#  57600bps (3.2%)
154#  38400bps (1.7%)
155#  19200bps (0.8%)
156#   9600bps (0.6%)
157
158#options 	SCICONSOLE,SCICN_SPEED=115200
159#sci0 at shb? port 0xa4000008 irq 12
160
161options 	SCIFCONSOLE,SCIFCN_SPEED=115200
162scif0 at shb? port 0xa4000008 irq 12
163
164# Miscellaneous mass storage devices
165
166# Network Interfaces
167
168# MII bus support
169#mii*	at tl?
170
171# MII PHY network interfaces
172#tlphy*	at mii? dev ?			# ThunderLAN PHYs
173#nsphy*	at mii? dev ?			# NS and compatible PHYs
174
175
176# Pull in optional local configuration
177include	"arch/evbsh3/conf/GENERIC.local"
178
179
180# Pseudo-Devices
181
182# disk/mass storage pseudo-devices
183#pseudo-device	ccd		4	# concatenated/striped disk devices
184pseudo-device	md		1	# memory disk device (ramdisk)
185pseudo-device	vnd		4	# disk-like interface to files
186
187# network pseudo-devices
188#pseudo-device	bpfilter	8	# Berkeley packet filter
189#pseudo-device	ipfilter		# IP filter (firewall) and NAT
190pseudo-device	loop			# network loopback
191pseudo-device	ppp		2	# Point-to-Point Protocol
192#pseudo-device	sl		2	# Serial Line IP
193#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
194pseudo-device	tun		2	# network tunneling over tty
195
196# miscellaneous pseudo-devices
197pseudo-device	pty			# pseudo-terminals
198#pseudo-device	tb		1	# tablet line discipline
199
200# rnd is EXPERIMENTAL at this point.
201#pseudo-device	rnd			# /dev/random and in-kernel generator
202#options 	RND_COM			# use "com" randomness as well (BROKEN)
203