CQREEKSH3 revision 1.14
11.14Sjdolecek#	$NetBSD: CQREEKSH3,v 1.14 2002/01/27 13:23:15 jdolecek 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.13Slukemoptions 	ROMIMAGE
181.1Sitojun
191.1Sitojunmaxusers	32		# estimated number of users
201.1Sitojun
211.1Sitojun# CPU support.  At least one is REQUIRED.
221.13Slukemoptions 	SH7708		# 100MHz
231.13Slukemoptions 	PCLOCK=15000000		# 15.000MHz
241.13Slukemoptions 	IOM_ROM_BEGIN=0x00000000
251.13Slukemoptions 	IOM_ROM_SIZE=0x00200000	# 2MB
261.13Slukemoptions 	IOM_RAM_BEGIN=0x8c000000
271.13Slukemoptions 	IOM_RAM_SIZE=0x00400000	# 4MB
281.13Slukemoptions 	LED_ADDR=0xa8000000
291.13Slukem
301.13Slukemoptions 	BSC_BCR1_VAL	=0x0010
311.13Slukemoptions 	BSC_BCR2_VAL	=0x3ddc
321.13Slukemoptions 	BSC_WCR1_VAL	=0x2aaa
331.13Slukemoptions 	BSC_WCR2_VAL	=0x0246
341.13Slukemoptions 	BSC_MCR_VAL	=0x0074
351.13Slukemoptions 	BSC_RTCSR_VAL	=0xa510
361.13Slukemoptions 	BSC_RTCNT_VAL	=0xa500	# XXX
371.13Slukemoptions 	BSC_RTCOR_VAL	=0xa53a
381.13Slukemoptions 	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.13Slukem#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.13Slukemoptions 	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.14Sjdolecek
651.14Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
661.1Sitojun
671.1Sitojun# Diagnostic/debugging support options
681.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
691.1Sitojun#options 	DEBUG		# expensive debugging checks/support
701.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
711.1Sitojun#options 	DDB		# in-kernel debugger
721.1Sitojun#options 	KGDB		# remote debugger
731.12Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
741.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
751.13Slukemoptions 	SYSCALL_DEBUG
761.1Sitojun
771.1Sitojun# Compatibility options
781.1Sitojunoptions 	COMPAT_13	# NetBSD 1.3,
791.3Stsubaioptions 	COMPAT_14	# NetBSD 1.4,
801.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
811.1Sitojun
821.1Sitojun# Executable format options
831.1Sitojun#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
841.5Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
851.1Sitojun
861.1Sitojun# File systems
871.1Sitojunfile-system 	FFS		# UFS
881.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
891.1Sitojun#file-system 	LFS		# log-structured file system
901.1Sitojunfile-system 	MFS		# memory file system
911.1Sitojun#file-system 	NFS		# Network File System client
921.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
931.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
941.1Sitojunfile-system 	FDESC		# /dev/fd
951.1Sitojunfile-system 	KERNFS		# /kern
961.1Sitojunfile-system 	NULLFS		# loopback file system
971.1Sitojun#file-system 	PORTAL		# portal filesystem (still experimental)
981.1Sitojunfile-system 	PROCFS		# /proc
991.1Sitojun#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1001.1Sitojun#file-system 	UNION		# union file system
1011.1Sitojun
1021.1Sitojun# File system options
1031.1Sitojun#options 	QUOTA		# UFS quotas
1041.1Sitojun#options 	NFSSERVER	# Network File System server
1051.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
1061.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1071.1Sitojun				# immutable) behave as system flags.
1081.1Sitojun
1091.1Sitojun# Networking options
1101.1Sitojunoptions 	GATEWAY		# packet forwarding
1111.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1121.1Sitojunoptions 	MROUTING	# IP multicast routing
1131.1Sitojunoptions 	NS		# XNS
1141.1Sitojun#options 	NSIP		# XNS tunneling over IP
1151.1Sitojun#options 	ISO,TPIP	# OSI
1161.1Sitojun#options 	EON		# OSI tunneling over IP
1171.1Sitojun#options 	CCITT,LLC,HDLC	# X.25
1181.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1191.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1201.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1211.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1221.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1231.11Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1241.1Sitojun
1251.11Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1261.1Sitojun
1271.1Sitojun# These options enable verbose messages for several subsystems.
1281.1Sitojun# Warning, these may compile large string tables into the kernel!
1291.1Sitojun#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1301.1Sitojun
1311.1Sitojun# Kernel root file system and dump configuration.
1321.1Sitojunconfig		netbsd	root on ? type ?
1331.1Sitojun#config		netbsd	root on ? type nfs
1341.1Sitojun#config		netbsd	root on wd0a type ffs
1351.1Sitojun
1361.1Sitojun#
1371.1Sitojun# Device configuration
1381.1Sitojun#
1391.1Sitojun
1401.1Sitojunmainbus0 at root
1411.1Sitojun
1421.1Sitojunshb* at mainbus?
1431.6Smsaitoh
1441.6Smsaitoh# WatchDog Timer
1451.6Smsaitohwdog0 at shb? port 0xffffff84
1461.1Sitojun
1471.1Sitojun# Serial Devices
1481.1Sitojun
1491.13Slukemoptions 	SCICONSOLE,SCICN_SPEED=38400
1501.1Sitojunsci0 at shb? port 0xa4000008 irq 12
1511.1Sitojun
1521.1Sitojun# Miscellaneous mass storage devices
1531.1Sitojun
1541.1Sitojun
1551.1Sitojun# Network Interfaces
1561.1Sitojun
1571.1Sitojun
1581.1Sitojun# Pull in optional local configuration
1591.1Sitojuninclude	"arch/evbsh3/conf/GENERIC.local"
1601.1Sitojun
1611.1Sitojun
1621.1Sitojun# Pseudo-Devices
1631.1Sitojun
1641.1Sitojun# disk/mass storage pseudo-devices
1651.1Sitojun#pseudo-device	ccd		4	# concatenated/striped disk devices
1661.1Sitojunpseudo-device	md		1	# memory disk device (ramdisk)
1671.1Sitojunpseudo-device	vnd		4	# disk-like interface to files
1681.1Sitojun
1691.1Sitojun# network pseudo-devices
1701.1Sitojun#pseudo-device	bpfilter	8	# Berkeley packet filter
1711.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1721.1Sitojunpseudo-device	loop			# network loopback
1731.1Sitojunpseudo-device	ppp		2	# Point-to-Point Protocol
1741.1Sitojun#pseudo-device	sl		2	# Serial Line IP
1751.1Sitojun#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1761.1Sitojunpseudo-device	tun		2	# network tunneling over tty
1771.1Sitojun
1781.1Sitojun# miscellaneous pseudo-devices
1791.9Sjdolecekpseudo-device	pty			# pseudo-terminals
1801.1Sitojun#pseudo-device	tb		1	# tablet line discipline
1811.1Sitojun
1821.1Sitojun# rnd is EXPERIMENTAL at this point.
1831.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
1841.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
185