COMPUTEXEVB revision 1.15
11.15Slukem#	$NetBSD: COMPUTEXEVB,v 1.15 2002/03/10 19:56:41 lukem Exp $
21.1Smsaitoh#
31.1Smsaitoh#	GENERIC -- everything that's currently supported
41.1Smsaitoh#
51.1Smsaitoh
61.9Sitojun# for big endian
71.9Sitojuninclude "arch/evbsh3/conf/std.evbsh3.eb"
81.9Sitojun# for little endian
91.9Sitojun#include "arch/evbsh3/conf/std.evbsh3.el"
101.1Smsaitoh
111.1Smsaitoh# Enable the hooks used for initializing the root memory-disk.
121.1Smsaitohoptions 	MEMORY_DISK_HOOKS
131.1Smsaitohoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
141.1Smsaitohoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
151.15Slukemoptions 	MEMORY_DISK_SIZE=3074	# size of memory disk, in blocks
161.1Smsaitoh
171.1Smsaitohmaxusers	32		# estimated number of users
181.1Smsaitoh
191.1Smsaitoh# CPU support.  At least one is REQUIRED.
201.14Suchoptions		SH3
211.12Slukemoptions 	SH7709A,SH7709A_BROKEN_IPR	# 100MHz
221.12Slukemoptions 	PCLOCK=25000000		# 25.000MHz
231.12Slukemoptions 	IOM_ROM_BEGIN=0x00000000
241.12Slukemoptions 	IOM_ROM_SIZE=0x00100000	# 1MB
251.12Slukemoptions 	IOM_RAM_BEGIN=0x8c000000
261.12Slukemoptions 	IOM_RAM_SIZE=0x01000000	# 16MB
271.12Slukemoptions 	LED_ADDR=0xb8000000
281.12Slukem
291.12Slukemoptions 	COMPUTEXEVB	# don't forget.
301.12Slukem
311.12Slukemoptions 	BSC_BCR1_VAL	=0x0008
321.12Slukemoptions 	BSC_BCR2_VAL	=0x3fd0
331.12Slukemoptions 	BSC_WCR1_VAL	=0x3ff3
341.12Slukemoptions 	BSC_WCR2_VAL	=0xffdf
351.12Slukemoptions 	BSC_MCR_VAL	=0x0004
361.12Slukemoptions 	BSC_SDMR3_VAL	=0xffffe088
371.12Slukemoptions 	BSC_RTCSR_VAL	=0xa508
381.12Slukemoptions 	BSC_RTCNT_VAL	=0xa500
391.12Slukemoptions 	BSC_RTCOR_VAL	=0xa582
401.12Slukemoptions 	FRQCR_VAL	=0x0122
411.12Slukemoptions 	PFC_SCPCR_VAL	=0x00aa
421.1Smsaitoh
431.1Smsaitoh# CPU-related options.
441.1Smsaitoh#options 	MATH_EMULATE	# floating point emulation
451.1Smsaitoh
461.1Smsaitoh# This option allows you to force a serial console at the specified
471.1Smsaitoh# I/O address.   see console(4) for details.
481.12Slukem#options 	CONSDEVNAME="\"com\""
491.1Smsaitoh
501.1Smsaitoh# Standard system options
511.1Smsaitoh
521.1Smsaitoh#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
531.1Smsaitoh#options 	INSECURE	# disable kernel security levels
541.1Smsaitoh
551.1Smsaitohoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
561.12Slukemoptions 	HZ=50		# clock interrupt generates every 1/HZ sec
571.1Smsaitoh#options 	NTP		# NTP phase/frequency locked loop
581.1Smsaitoh
591.1Smsaitoh#options 	KTRACE		# system call tracing via ktrace(1)
601.1Smsaitoh
611.1Smsaitohoptions 	SYSVMSG		# System V-like message queues
621.1Smsaitohoptions 	SYSVSEM		# System V-like semaphores
631.1Smsaitohoptions 	SYSVSHM		# System V-like memory sharing
641.1Smsaitoh#options 	SHMMAXPGS=1024	# 1024 pages is the default
651.1Smsaitoh
661.1Smsaitoh#options 	LKM		# loadable kernel modules
671.13Sjdolecek
681.13Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
691.1Smsaitoh
701.1Smsaitoh# Diagnostic/debugging support options
711.1Smsaitoh#options 	DIAGNOSTIC	# cheap kernel consistency checks
721.1Smsaitoh#options 	DEBUG		# expensive debugging checks/support
731.1Smsaitoh#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
741.1Smsaitoh#options 	DDB		# in-kernel debugger
751.1Smsaitoh#options 	KGDB		# remote debugger
761.11Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
771.1Smsaitohmakeoptions	DEBUG="-g"	# compile full symbol table
781.12Slukemoptions 	SYSCALL_DEBUG
791.1Smsaitoh
801.1Smsaitoh# Compatibility options
811.1Smsaitohoptions 	COMPAT_13	# NetBSD 1.3,
821.1Smsaitohoptions 	COMPAT_14	# NetBSD 1.4,
831.1Smsaitohoptions 	COMPAT_43	# and 4.3BSD
841.1Smsaitoh
851.1Smsaitoh# Executable format options
861.1Smsaitoh#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
871.2Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
881.1Smsaitoh
891.1Smsaitoh# File systems
901.1Smsaitohfile-system 	FFS		# UFS
911.1Smsaitoh#file-system 	EXT2FS		# second extended file system (linux)
921.1Smsaitoh#file-system 	LFS		# log-structured file system
931.1Smsaitohfile-system 	MFS		# memory file system
941.1Smsaitohfile-system 	NFS		# Network File System client
951.1Smsaitoh#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
961.1Smsaitoh#file-system 	MSDOSFS		# MS-DOS file system
971.1Smsaitohfile-system 	FDESC		# /dev/fd
981.1Smsaitohfile-system 	KERNFS		# /kern
991.1Smsaitohfile-system 	NULLFS		# loopback file system
1001.1Smsaitoh#file-system 	PORTAL		# portal filesystem (still experimental)
1011.1Smsaitohfile-system 	PROCFS		# /proc
1021.1Smsaitoh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1031.1Smsaitoh#file-system 	UNION		# union file system
1041.1Smsaitoh
1051.1Smsaitoh# File system options
1061.1Smsaitoh#options 	QUOTA		# UFS quotas
1071.1Smsaitoh#options 	NFSSERVER	# Network File System server
1081.1Smsaitoh#options 	FIFO		# FIFOs; RECOMMENDED
1091.1Smsaitoh#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1101.1Smsaitoh				# immutable) behave as system flags.
1111.1Smsaitoh
1121.1Smsaitoh# Networking options
1131.1Smsaitohoptions 	GATEWAY		# packet forwarding
1141.1Smsaitohoptions 	INET		# IP + ICMP + TCP + UDP
1151.1Smsaitohoptions 	MROUTING	# IP multicast routing
1161.1Smsaitohoptions 	NS		# XNS
1171.1Smsaitoh#options 	NSIP		# XNS tunneling over IP
1181.1Smsaitoh#options 	ISO,TPIP	# OSI
1191.1Smsaitoh#options 	EON		# OSI tunneling over IP
1201.1Smsaitoh#options 	CCITT,LLC,HDLC	# X.25
1211.1Smsaitoh#options 	NETATALK	# AppleTalk networking protocols
1221.1Smsaitoh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1231.1Smsaitoh#options 	PPP_DEFLATE	# Deflate compression support for PPP
1241.1Smsaitoh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1251.1Smsaitoh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1261.10Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1271.1Smsaitoh
1281.10Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1291.1Smsaitoh
1301.1Smsaitoh# These options enable verbose messages for several subsystems.
1311.1Smsaitoh# Warning, these may compile large string tables into the kernel!
1321.1Smsaitoh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1331.1Smsaitoh
1341.1Smsaitoh# Kernel root file system and dump configuration.
1351.1Smsaitohconfig		netbsd	root on ? type ?
1361.1Smsaitoh#config		netbsd	root on ? type nfs
1371.1Smsaitoh#config		netbsd	root on wd0a type ffs
1381.1Smsaitoh
1391.1Smsaitoh#
1401.1Smsaitoh# Device configuration
1411.1Smsaitoh#
1421.1Smsaitoh
1431.1Smsaitohmainbus0 at root
1441.1Smsaitoh
1451.1Smsaitohshb* at mainbus?
1461.3Smsaitoh
1471.3Smsaitoh# WatchDog Timer
1481.3Smsaitohwdog0 at shb? port 0xffffff84
1491.1Smsaitoh
1501.1Smsaitoh# Serial Devices
1511.1Smsaitoh
1521.1Smsaitoh# 115200bps (3.2%)
1531.1Smsaitoh#  57600bps (3.2%)
1541.1Smsaitoh#  38400bps (1.7%)
1551.1Smsaitoh#  19200bps (0.8%)
1561.1Smsaitoh#   9600bps (0.6%)
1571.1Smsaitoh
1581.12Slukem#options 	SCICONSOLE,SCICN_SPEED=115200
1591.1Smsaitoh#sci0 at shb? port 0xa4000008 irq 12
1601.1Smsaitoh
1611.12Slukemoptions 	SCIFCONSOLE,SCIFCN_SPEED=115200
1621.1Smsaitohscif0 at shb? port 0xa4000008 irq 12
1631.1Smsaitoh
1641.1Smsaitoh# Miscellaneous mass storage devices
1651.1Smsaitoh
1661.1Smsaitoh# Network Interfaces
1671.1Smsaitoh
1681.1Smsaitoh# MII bus support
1691.1Smsaitoh#mii*	at tl?
1701.1Smsaitoh
1711.1Smsaitoh# MII PHY network interfaces
1721.1Smsaitoh#tlphy*	at mii? dev ?			# ThunderLAN PHYs
1731.1Smsaitoh#nsphy*	at mii? dev ?			# NS and compatible PHYs
1741.1Smsaitoh
1751.1Smsaitoh
1761.1Smsaitoh# Pull in optional local configuration
1771.1Smsaitohinclude	"arch/evbsh3/conf/GENERIC.local"
1781.1Smsaitoh
1791.1Smsaitoh
1801.1Smsaitoh# Pseudo-Devices
1811.1Smsaitoh
1821.1Smsaitoh# disk/mass storage pseudo-devices
1831.1Smsaitoh#pseudo-device	ccd		4	# concatenated/striped disk devices
1841.1Smsaitohpseudo-device	md		1	# memory disk device (ramdisk)
1851.1Smsaitohpseudo-device	vnd		4	# disk-like interface to files
1861.1Smsaitoh
1871.1Smsaitoh# network pseudo-devices
1881.1Smsaitoh#pseudo-device	bpfilter	8	# Berkeley packet filter
1891.1Smsaitoh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1901.1Smsaitohpseudo-device	loop			# network loopback
1911.1Smsaitohpseudo-device	ppp		2	# Point-to-Point Protocol
1921.1Smsaitoh#pseudo-device	sl		2	# Serial Line IP
1931.1Smsaitoh#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1941.1Smsaitohpseudo-device	tun		2	# network tunneling over tty
1951.1Smsaitoh
1961.1Smsaitoh# miscellaneous pseudo-devices
1971.6Sjdolecekpseudo-device	pty			# pseudo-terminals
1981.1Smsaitoh#pseudo-device	tb		1	# tablet line discipline
1991.1Smsaitoh
2001.1Smsaitoh# rnd is EXPERIMENTAL at this point.
2011.1Smsaitoh#pseudo-device	rnd			# /dev/random and in-kernel generator
2021.1Smsaitoh#options 	RND_COM			# use "com" randomness as well (BROKEN)
203