CQREEKSH3 revision 1.10
11.10Sitojun#	$NetBSD: CQREEKSH3,v 1.10 2001/01/03 23:49:22 itojun Exp $
21.1Sitojun#
31.1Sitojun#	GENERIC -- everything that's currently supported
41.1Sitojun#
51.1Sitojun
61.10Sitojun# for big endian
71.10Sitojuninclude "arch/evbsh3/conf/std.evbsh3.eb"
81.10Sitojun# for little endian
91.10Sitojun#include "arch/evbsh3/conf/std.evbsh3.el"
101.1Sitojun
111.1Sitojun# Enable the hooks used for initializing the root memory-disk.
121.1Sitojunoptions 	MEMORY_DISK_HOOKS
131.1Sitojunoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
141.1Sitojunoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
151.1Sitojunoptions 	MINIROOTSIZE=2400	# size of memory disk, in blocks
161.1Sitojun
171.1Sitojunoptions		ROMIMAGE
181.1Sitojun
191.1Sitojunmaxusers	32		# estimated number of users
201.1Sitojun
211.1Sitojun# CPU support.  At least one is REQUIRED.
221.1Sitojunoptions		SH7708		# 100MHz
231.1Sitojunoptions		PCLOCK=15000000		# 15.000MHz
241.7Smsaitohoptions		IOM_ROM_BEGIN=0x00000000
251.1Sitojunoptions		IOM_ROM_SIZE=0x00200000	# 2MB
261.7Smsaitohoptions		IOM_RAM_BEGIN=0x8c000000
271.1Sitojunoptions		IOM_RAM_SIZE=0x00400000	# 4MB
281.1Sitojunoptions		LED_ADDR=0xa8000000
291.1Sitojun
301.1Sitojunoptions		BSC_BCR1_VAL	=0x0010
311.1Sitojunoptions		BSC_BCR2_VAL	=0x3ddc
321.1Sitojunoptions		BSC_WCR1_VAL	=0x2aaa
331.1Sitojunoptions		BSC_WCR2_VAL	=0x0246
341.1Sitojunoptions		BSC_MCR_VAL	=0x0074
351.1Sitojunoptions		BSC_RTCSR_VAL	=0xa510
361.1Sitojunoptions		BSC_RTCNT_VAL	=0xa500	# XXX
371.1Sitojunoptions		BSC_RTCOR_VAL	=0xa53a
381.1Sitojunoptions		FRQCR_VAL	=0x0102
391.1Sitojun
401.1Sitojun# CPU-related options.
411.1Sitojun#options 	MATH_EMULATE	# floating point emulation
421.1Sitojun
431.1Sitojun# This option allows you to force a serial console at the specified
441.1Sitojun# I/O address.   see console(4) for details.
451.1Sitojun#options 	"CONSDEVNAME=\"com\""
461.1Sitojun
471.1Sitojun# Standard system options
481.1Sitojun
491.1Sitojun#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
501.1Sitojun#options 	INSECURE	# disable kernel security levels
511.1Sitojun
521.1Sitojunoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
531.1Sitojunoptions 	HZ=50		# clock interrupt generates every 1/HZ sec 
541.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
551.1Sitojun
561.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
571.1Sitojun
581.1Sitojunoptions 	SYSVMSG		# System V-like message queues
591.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
601.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
611.1Sitojun#options 	SHMMAXPGS=1024	# 1024 pages is the default
621.1Sitojun
631.1Sitojun#options 	LKM		# loadable kernel modules
641.1Sitojun
651.1Sitojun# Diagnostic/debugging support options
661.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
671.1Sitojun#options 	DEBUG		# expensive debugging checks/support
681.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
691.1Sitojun#options 	DDB		# in-kernel debugger
701.1Sitojun#options 	KGDB		# remote debugger
711.1Sitojun#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
721.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
731.1Sitojunoptions		SYSCALL_DEBUG
741.1Sitojun
751.1Sitojun# Compatibility options
761.1Sitojunoptions 	COMPAT_13	# NetBSD 1.3,
771.3Stsubaioptions 	COMPAT_14	# NetBSD 1.4,
781.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
791.1Sitojun
801.1Sitojun# Executable format options
811.1Sitojun#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
821.5Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
831.1Sitojun
841.1Sitojun# File systems
851.1Sitojunfile-system 	FFS		# UFS
861.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
871.1Sitojun#file-system 	LFS		# log-structured file system
881.1Sitojunfile-system 	MFS		# memory file system
891.1Sitojun#file-system 	NFS		# Network File System client
901.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
911.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
921.1Sitojunfile-system 	FDESC		# /dev/fd
931.1Sitojunfile-system 	KERNFS		# /kern
941.1Sitojunfile-system 	NULLFS		# loopback file system
951.1Sitojun#file-system 	PORTAL		# portal filesystem (still experimental)
961.1Sitojunfile-system 	PROCFS		# /proc
971.1Sitojun#file-system 	UMAPFS		# NULLFS + uid and gid remapping
981.1Sitojun#file-system 	UNION		# union file system
991.1Sitojun
1001.1Sitojun# File system options
1011.1Sitojun#options 	QUOTA		# UFS quotas
1021.1Sitojun#options 	NFSSERVER	# Network File System server
1031.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
1041.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1051.1Sitojun				# immutable) behave as system flags.
1061.1Sitojun
1071.1Sitojun# Networking options
1081.1Sitojunoptions 	GATEWAY		# packet forwarding
1091.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1101.1Sitojunoptions 	MROUTING	# IP multicast routing
1111.1Sitojunoptions 	NS		# XNS
1121.1Sitojun#options 	NSIP		# XNS tunneling over IP
1131.1Sitojun#options 	ISO,TPIP	# OSI
1141.1Sitojun#options 	EON		# OSI tunneling over IP
1151.1Sitojun#options 	CCITT,LLC,HDLC	# X.25
1161.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1171.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1181.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1191.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1201.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1211.1Sitojun
1221.1Sitojun# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1231.1Sitojun#options 	TCP_COMPAT_42
1241.1Sitojun
1251.1Sitojun# These options enable verbose messages for several subsystems.
1261.1Sitojun# Warning, these may compile large string tables into the kernel!
1271.1Sitojun#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1281.1Sitojun
1291.1Sitojun# Kernel root file system and dump configuration.
1301.1Sitojunconfig		netbsd	root on ? type ?
1311.1Sitojun#config		netbsd	root on ? type nfs
1321.1Sitojun#config		netbsd	root on wd0a type ffs
1331.1Sitojun
1341.1Sitojun#
1351.1Sitojun# Device configuration
1361.1Sitojun#
1371.1Sitojun
1381.1Sitojunmainbus0 at root
1391.1Sitojun
1401.1Sitojunshb* at mainbus?
1411.6Smsaitoh
1421.6Smsaitoh# WatchDog Timer
1431.6Smsaitohwdog0 at shb? port 0xffffff84
1441.1Sitojun
1451.1Sitojun# Serial Devices
1461.1Sitojun
1471.4Smsaitohoptions	SCICONSOLE,SCICN_SPEED=38400
1481.1Sitojunsci0 at shb? port 0xa4000008 irq 12
1491.1Sitojun
1501.1Sitojun# Miscellaneous mass storage devices
1511.1Sitojun
1521.1Sitojun
1531.1Sitojun# Network Interfaces
1541.1Sitojun
1551.1Sitojun
1561.1Sitojun# Pull in optional local configuration
1571.1Sitojuninclude	"arch/evbsh3/conf/GENERIC.local"
1581.1Sitojun
1591.1Sitojun
1601.1Sitojun# Pseudo-Devices
1611.1Sitojun
1621.1Sitojun# disk/mass storage pseudo-devices
1631.1Sitojun#pseudo-device	ccd		4	# concatenated/striped disk devices
1641.1Sitojunpseudo-device	md		1	# memory disk device (ramdisk)
1651.1Sitojunpseudo-device	vnd		4	# disk-like interface to files
1661.1Sitojun
1671.1Sitojun# network pseudo-devices
1681.1Sitojun#pseudo-device	bpfilter	8	# Berkeley packet filter
1691.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1701.1Sitojunpseudo-device	loop			# network loopback
1711.1Sitojunpseudo-device	ppp		2	# Point-to-Point Protocol
1721.1Sitojun#pseudo-device	sl		2	# Serial Line IP
1731.1Sitojun#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1741.1Sitojunpseudo-device	tun		2	# network tunneling over tty
1751.1Sitojun
1761.1Sitojun# miscellaneous pseudo-devices
1771.9Sjdolecekpseudo-device	pty			# pseudo-terminals
1781.1Sitojun#pseudo-device	tb		1	# tablet line discipline
1791.1Sitojun
1801.1Sitojun# rnd is EXPERIMENTAL at this point.
1811.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
1821.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
183