COMPUTEXEVB revision 1.5
11.5Smsaitoh#	$NetBSD: COMPUTEXEVB,v 1.5 2000/07/31 20:57:46 msaitoh Exp $
21.1Smsaitoh#
31.1Smsaitoh#	GENERIC -- everything that's currently supported
41.1Smsaitoh#
51.1Smsaitoh
61.1Smsaitohinclude "arch/evbsh3/conf/std.evbsh3"
71.1Smsaitoh
81.1Smsaitoh# Enable the hooks used for initializing the root memory-disk.
91.1Smsaitohoptions 	MEMORY_DISK_HOOKS
101.1Smsaitohoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
111.1Smsaitohoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
121.1Smsaitohoptions 	MINIROOTSIZE=3074	# size of memory disk, in blocks
131.1Smsaitoh
141.1Smsaitohmaxusers	32		# estimated number of users
151.1Smsaitoh
161.1Smsaitoh# CPU support.  At least one is REQUIRED.
171.1Smsaitohoptions		SH7709A		# 100MHz
181.1Smsaitohoptions		PCLOCK=25000000		# 25.000MHz
191.4Smsaitohoptions		IOM_ROM_BEGIN=0x00000000
201.4Smsaitohoptions		IOM_ROM_SIZE=0x00100000	# 1MB
211.4Smsaitohoptions		IOM_RAM_BEGIN=0x8c000000
221.1Smsaitohoptions		IOM_RAM_SIZE=0x01000000	# 16MB
231.1Smsaitohoptions		LED_ADDR=0xb8000000
241.1Smsaitoh
251.1Smsaitohoptions		BSC_BCR1_VAL	=0x0008
261.1Smsaitohoptions		BSC_BCR2_VAL	=0x3fd0
271.1Smsaitohoptions		BSC_WCR1_VAL	=0x3ff3
281.1Smsaitohoptions		BSC_WCR2_VAL	=0xffdf
291.1Smsaitohoptions		BSC_MCR_VAL	=0x0004
301.1Smsaitohoptions		BSC_SDMR_VAL	=0xffffe088
311.1Smsaitohoptions		BSC_RTCSR_VAL	=0xa508
321.1Smsaitohoptions		BSC_RTCNT_VAL	=0xa500
331.1Smsaitohoptions		BSC_RTCOR_VAL	=0xa582
341.1Smsaitohoptions		FRQCR_VAL	=0x0122
351.1Smsaitohoptions		PFC_SCPCR_VAL	=0x00aa
361.5Smsaitoh
371.5Smsaitohmakeoptions 	LDSCRIPTBASE="sh.x"	# for big endian
381.5Smsaitoh#makeoptions 	LDSCRIPTBASE="shl.x"	# for little endian
391.1Smsaitoh
401.1Smsaitoh# CPU-related options.
411.1Smsaitoh#options 	MATH_EMULATE	# floating point emulation
421.1Smsaitoh
431.1Smsaitoh# This option allows you to force a serial console at the specified
441.1Smsaitoh# I/O address.   see console(4) for details.
451.1Smsaitoh#options 	"CONSDEVNAME=\"com\""
461.1Smsaitoh
471.1Smsaitoh# Standard system options
481.1Smsaitoh
491.1Smsaitoh#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
501.1Smsaitoh#options 	INSECURE	# disable kernel security levels
511.1Smsaitoh
521.1Smsaitohoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
531.1Smsaitohoptions 	HZ=50		# clock interrupt generates every 1/HZ sec 
541.1Smsaitoh#options 	NTP		# NTP phase/frequency locked loop
551.1Smsaitoh
561.1Smsaitoh#options 	KTRACE		# system call tracing via ktrace(1)
571.1Smsaitoh
581.1Smsaitohoptions 	SYSVMSG		# System V-like message queues
591.1Smsaitohoptions 	SYSVSEM		# System V-like semaphores
601.1Smsaitohoptions 	SYSVSHM		# System V-like memory sharing
611.1Smsaitoh#options 	SHMMAXPGS=1024	# 1024 pages is the default
621.1Smsaitoh
631.1Smsaitoh#options 	LKM		# loadable kernel modules
641.1Smsaitoh
651.1Smsaitoh# Diagnostic/debugging support options
661.1Smsaitoh#options 	DIAGNOSTIC	# cheap kernel consistency checks
671.1Smsaitoh#options 	DEBUG		# expensive debugging checks/support
681.1Smsaitoh#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
691.1Smsaitoh#options 	DDB		# in-kernel debugger
701.1Smsaitoh#options 	KGDB		# remote debugger
711.1Smsaitoh#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
721.1Smsaitohmakeoptions	DEBUG="-g"	# compile full symbol table
731.1Smsaitohoptions		SYSCALL_DEBUG
741.1Smsaitoh
751.1Smsaitoh# Compatibility options
761.1Smsaitohoptions 	COMPAT_13	# NetBSD 1.3,
771.1Smsaitohoptions 	COMPAT_14	# NetBSD 1.4,
781.1Smsaitohoptions 	COMPAT_43	# and 4.3BSD
791.1Smsaitoh
801.1Smsaitoh# Executable format options
811.1Smsaitoh#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
821.2Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
831.1Smsaitoh
841.1Smsaitoh# File systems
851.1Smsaitohfile-system 	FFS		# UFS
861.1Smsaitoh#file-system 	EXT2FS		# second extended file system (linux)
871.1Smsaitoh#file-system 	LFS		# log-structured file system
881.1Smsaitohfile-system 	MFS		# memory file system
891.1Smsaitohfile-system 	NFS		# Network File System client
901.1Smsaitoh#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
911.1Smsaitoh#file-system 	MSDOSFS		# MS-DOS file system
921.1Smsaitohfile-system 	FDESC		# /dev/fd
931.1Smsaitohfile-system 	KERNFS		# /kern
941.1Smsaitohfile-system 	NULLFS		# loopback file system
951.1Smsaitoh#file-system 	PORTAL		# portal filesystem (still experimental)
961.1Smsaitohfile-system 	PROCFS		# /proc
971.1Smsaitoh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
981.1Smsaitoh#file-system 	UNION		# union file system
991.1Smsaitoh
1001.1Smsaitoh# File system options
1011.1Smsaitoh#options 	QUOTA		# UFS quotas
1021.1Smsaitoh#options 	NFSSERVER	# Network File System server
1031.1Smsaitoh#options 	FIFO		# FIFOs; RECOMMENDED
1041.1Smsaitoh#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1051.1Smsaitoh				# immutable) behave as system flags.
1061.1Smsaitoh
1071.1Smsaitoh# Networking options
1081.1Smsaitohoptions 	GATEWAY		# packet forwarding
1091.1Smsaitohoptions 	INET		# IP + ICMP + TCP + UDP
1101.1Smsaitohoptions 	MROUTING	# IP multicast routing
1111.1Smsaitohoptions 	NS		# XNS
1121.1Smsaitoh#options 	NSIP		# XNS tunneling over IP
1131.1Smsaitoh#options 	ISO,TPIP	# OSI
1141.1Smsaitoh#options 	EON		# OSI tunneling over IP
1151.1Smsaitoh#options 	CCITT,LLC,HDLC	# X.25
1161.1Smsaitoh#options 	NETATALK	# AppleTalk networking protocols
1171.1Smsaitoh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1181.1Smsaitoh#options 	PPP_DEFLATE	# Deflate compression support for PPP
1191.1Smsaitoh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1201.1Smsaitoh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1211.1Smsaitoh
1221.1Smsaitoh# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1231.1Smsaitoh#options 	TCP_COMPAT_42
1241.1Smsaitoh
1251.1Smsaitoh# These options enable verbose messages for several subsystems.
1261.1Smsaitoh# Warning, these may compile large string tables into the kernel!
1271.1Smsaitoh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1281.1Smsaitoh
1291.1Smsaitoh# Kernel root file system and dump configuration.
1301.1Smsaitohconfig		netbsd	root on ? type ?
1311.1Smsaitoh#config		netbsd	root on ? type nfs
1321.1Smsaitoh#config		netbsd	root on wd0a type ffs
1331.1Smsaitoh
1341.1Smsaitoh#
1351.1Smsaitoh# Device configuration
1361.1Smsaitoh#
1371.1Smsaitoh
1381.1Smsaitohmainbus0 at root
1391.1Smsaitoh
1401.1Smsaitohshb* at mainbus?
1411.3Smsaitoh
1421.3Smsaitoh# WatchDog Timer
1431.3Smsaitohwdog0 at shb? port 0xffffff84
1441.1Smsaitoh
1451.1Smsaitoh# Serial Devices
1461.1Smsaitoh
1471.1Smsaitoh# 115200bps (3.2%)
1481.1Smsaitoh#  57600bps (3.2%)
1491.1Smsaitoh#  38400bps (1.7%)
1501.1Smsaitoh#  19200bps (0.8%)
1511.1Smsaitoh#   9600bps (0.6%)
1521.1Smsaitoh
1531.1Smsaitoh#options	SCICONSOLE,SCICN_SPEED=115200
1541.1Smsaitoh#sci0 at shb? port 0xa4000008 irq 12
1551.1Smsaitoh
1561.1Smsaitohoptions	SCIFCONSOLE,SCIFCN_SPEED=115200
1571.1Smsaitohscif0 at shb? port 0xa4000008 irq 12
1581.1Smsaitoh
1591.1Smsaitoh# Miscellaneous mass storage devices
1601.1Smsaitoh
1611.1Smsaitoh# Network Interfaces
1621.1Smsaitoh
1631.1Smsaitoh# MII bus support
1641.1Smsaitoh#mii*	at tl?
1651.1Smsaitoh
1661.1Smsaitoh# MII PHY network interfaces
1671.1Smsaitoh#tlphy*	at mii? dev ?			# ThunderLAN PHYs
1681.1Smsaitoh#nsphy*	at mii? dev ?			# NS and compatible PHYs
1691.1Smsaitoh
1701.1Smsaitoh
1711.1Smsaitoh# Pull in optional local configuration
1721.1Smsaitohinclude	"arch/evbsh3/conf/GENERIC.local"
1731.1Smsaitoh
1741.1Smsaitoh
1751.1Smsaitoh# Pseudo-Devices
1761.1Smsaitoh
1771.1Smsaitoh# disk/mass storage pseudo-devices
1781.1Smsaitoh#pseudo-device	ccd		4	# concatenated/striped disk devices
1791.1Smsaitohpseudo-device	md		1	# memory disk device (ramdisk)
1801.1Smsaitohpseudo-device	vnd		4	# disk-like interface to files
1811.1Smsaitoh
1821.1Smsaitoh# network pseudo-devices
1831.1Smsaitoh#pseudo-device	bpfilter	8	# Berkeley packet filter
1841.1Smsaitoh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1851.1Smsaitohpseudo-device	loop			# network loopback
1861.1Smsaitohpseudo-device	ppp		2	# Point-to-Point Protocol
1871.1Smsaitoh#pseudo-device	sl		2	# Serial Line IP
1881.1Smsaitoh#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1891.1Smsaitohpseudo-device	tun		2	# network tunneling over tty
1901.1Smsaitoh
1911.1Smsaitoh# miscellaneous pseudo-devices
1921.1Smsaitohpseudo-device	pty		64	# pseudo-terminals
1931.1Smsaitoh#pseudo-device	tb		1	# tablet line discipline
1941.1Smsaitoh
1951.1Smsaitoh# rnd is EXPERIMENTAL at this point.
1961.1Smsaitoh#pseudo-device	rnd			# /dev/random and in-kernel generator
1971.1Smsaitoh#options 	RND_COM			# use "com" randomness as well (BROKEN)
198