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