COMPUTEXEVB revision 1.13
11.13Sjdolecek#	$NetBSD: COMPUTEXEVB,v 1.13 2002/01/27 13:23:15 jdolecek 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.13Sjdolecek
671.13Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
681.1Smsaitoh
691.1Smsaitoh# Diagnostic/debugging support options
701.1Smsaitoh#options 	DIAGNOSTIC	# cheap kernel consistency checks
711.1Smsaitoh#options 	DEBUG		# expensive debugging checks/support
721.1Smsaitoh#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
731.1Smsaitoh#options 	DDB		# in-kernel debugger
741.1Smsaitoh#options 	KGDB		# remote debugger
751.11Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
761.1Smsaitohmakeoptions	DEBUG="-g"	# compile full symbol table
771.12Slukemoptions 	SYSCALL_DEBUG
781.1Smsaitoh
791.1Smsaitoh# Compatibility options
801.1Smsaitohoptions 	COMPAT_13	# NetBSD 1.3,
811.1Smsaitohoptions 	COMPAT_14	# NetBSD 1.4,
821.1Smsaitohoptions 	COMPAT_43	# and 4.3BSD
831.1Smsaitoh
841.1Smsaitoh# Executable format options
851.1Smsaitoh#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
861.2Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
871.1Smsaitoh
881.1Smsaitoh# File systems
891.1Smsaitohfile-system 	FFS		# UFS
901.1Smsaitoh#file-system 	EXT2FS		# second extended file system (linux)
911.1Smsaitoh#file-system 	LFS		# log-structured file system
921.1Smsaitohfile-system 	MFS		# memory file system
931.1Smsaitohfile-system 	NFS		# Network File System client
941.1Smsaitoh#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
951.1Smsaitoh#file-system 	MSDOSFS		# MS-DOS file system
961.1Smsaitohfile-system 	FDESC		# /dev/fd
971.1Smsaitohfile-system 	KERNFS		# /kern
981.1Smsaitohfile-system 	NULLFS		# loopback file system
991.1Smsaitoh#file-system 	PORTAL		# portal filesystem (still experimental)
1001.1Smsaitohfile-system 	PROCFS		# /proc
1011.1Smsaitoh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1021.1Smsaitoh#file-system 	UNION		# union file system
1031.1Smsaitoh
1041.1Smsaitoh# File system options
1051.1Smsaitoh#options 	QUOTA		# UFS quotas
1061.1Smsaitoh#options 	NFSSERVER	# Network File System server
1071.1Smsaitoh#options 	FIFO		# FIFOs; RECOMMENDED
1081.1Smsaitoh#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1091.1Smsaitoh				# immutable) behave as system flags.
1101.1Smsaitoh
1111.1Smsaitoh# Networking options
1121.1Smsaitohoptions 	GATEWAY		# packet forwarding
1131.1Smsaitohoptions 	INET		# IP + ICMP + TCP + UDP
1141.1Smsaitohoptions 	MROUTING	# IP multicast routing
1151.1Smsaitohoptions 	NS		# XNS
1161.1Smsaitoh#options 	NSIP		# XNS tunneling over IP
1171.1Smsaitoh#options 	ISO,TPIP	# OSI
1181.1Smsaitoh#options 	EON		# OSI tunneling over IP
1191.1Smsaitoh#options 	CCITT,LLC,HDLC	# X.25
1201.1Smsaitoh#options 	NETATALK	# AppleTalk networking protocols
1211.1Smsaitoh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1221.1Smsaitoh#options 	PPP_DEFLATE	# Deflate compression support for PPP
1231.1Smsaitoh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1241.1Smsaitoh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1251.10Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1261.1Smsaitoh
1271.10Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1281.1Smsaitoh
1291.1Smsaitoh# These options enable verbose messages for several subsystems.
1301.1Smsaitoh# Warning, these may compile large string tables into the kernel!
1311.1Smsaitoh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1321.1Smsaitoh
1331.1Smsaitoh# Kernel root file system and dump configuration.
1341.1Smsaitohconfig		netbsd	root on ? type ?
1351.1Smsaitoh#config		netbsd	root on ? type nfs
1361.1Smsaitoh#config		netbsd	root on wd0a type ffs
1371.1Smsaitoh
1381.1Smsaitoh#
1391.1Smsaitoh# Device configuration
1401.1Smsaitoh#
1411.1Smsaitoh
1421.1Smsaitohmainbus0 at root
1431.1Smsaitoh
1441.1Smsaitohshb* at mainbus?
1451.3Smsaitoh
1461.3Smsaitoh# WatchDog Timer
1471.3Smsaitohwdog0 at shb? port 0xffffff84
1481.1Smsaitoh
1491.1Smsaitoh# Serial Devices
1501.1Smsaitoh
1511.1Smsaitoh# 115200bps (3.2%)
1521.1Smsaitoh#  57600bps (3.2%)
1531.1Smsaitoh#  38400bps (1.7%)
1541.1Smsaitoh#  19200bps (0.8%)
1551.1Smsaitoh#   9600bps (0.6%)
1561.1Smsaitoh
1571.12Slukem#options 	SCICONSOLE,SCICN_SPEED=115200
1581.1Smsaitoh#sci0 at shb? port 0xa4000008 irq 12
1591.1Smsaitoh
1601.12Slukemoptions 	SCIFCONSOLE,SCIFCN_SPEED=115200
1611.1Smsaitohscif0 at shb? port 0xa4000008 irq 12
1621.1Smsaitoh
1631.1Smsaitoh# Miscellaneous mass storage devices
1641.1Smsaitoh
1651.1Smsaitoh# Network Interfaces
1661.1Smsaitoh
1671.1Smsaitoh# MII bus support
1681.1Smsaitoh#mii*	at tl?
1691.1Smsaitoh
1701.1Smsaitoh# MII PHY network interfaces
1711.1Smsaitoh#tlphy*	at mii? dev ?			# ThunderLAN PHYs
1721.1Smsaitoh#nsphy*	at mii? dev ?			# NS and compatible PHYs
1731.1Smsaitoh
1741.1Smsaitoh
1751.1Smsaitoh# Pull in optional local configuration
1761.1Smsaitohinclude	"arch/evbsh3/conf/GENERIC.local"
1771.1Smsaitoh
1781.1Smsaitoh
1791.1Smsaitoh# Pseudo-Devices
1801.1Smsaitoh
1811.1Smsaitoh# disk/mass storage pseudo-devices
1821.1Smsaitoh#pseudo-device	ccd		4	# concatenated/striped disk devices
1831.1Smsaitohpseudo-device	md		1	# memory disk device (ramdisk)
1841.1Smsaitohpseudo-device	vnd		4	# disk-like interface to files
1851.1Smsaitoh
1861.1Smsaitoh# network pseudo-devices
1871.1Smsaitoh#pseudo-device	bpfilter	8	# Berkeley packet filter
1881.1Smsaitoh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1891.1Smsaitohpseudo-device	loop			# network loopback
1901.1Smsaitohpseudo-device	ppp		2	# Point-to-Point Protocol
1911.1Smsaitoh#pseudo-device	sl		2	# Serial Line IP
1921.1Smsaitoh#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1931.1Smsaitohpseudo-device	tun		2	# network tunneling over tty
1941.1Smsaitoh
1951.1Smsaitoh# miscellaneous pseudo-devices
1961.6Sjdolecekpseudo-device	pty			# pseudo-terminals
1971.1Smsaitoh#pseudo-device	tb		1	# tablet line discipline
1981.1Smsaitoh
1991.1Smsaitoh# rnd is EXPERIMENTAL at this point.
2001.1Smsaitoh#pseudo-device	rnd			# /dev/random and in-kernel generator
2011.1Smsaitoh#options 	RND_COM			# use "com" randomness as well (BROKEN)
202