CQREEKSH3 revision 1.16
11.16Slukem#	$NetBSD: CQREEKSH3,v 1.16 2002/03/10 19:56:41 lukem 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.16Slukemoptions 	MEMORY_DISK_SIZE=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.15Suchoptions		SH3
231.13Slukemoptions 	SH7708		# 100MHz
241.13Slukemoptions 	PCLOCK=15000000		# 15.000MHz
251.13Slukemoptions 	IOM_ROM_BEGIN=0x00000000
261.13Slukemoptions 	IOM_ROM_SIZE=0x00200000	# 2MB
271.13Slukemoptions 	IOM_RAM_BEGIN=0x8c000000
281.13Slukemoptions 	IOM_RAM_SIZE=0x00400000	# 4MB
291.13Slukemoptions 	LED_ADDR=0xa8000000
301.13Slukem
311.13Slukemoptions 	BSC_BCR1_VAL	=0x0010
321.13Slukemoptions 	BSC_BCR2_VAL	=0x3ddc
331.13Slukemoptions 	BSC_WCR1_VAL	=0x2aaa
341.13Slukemoptions 	BSC_WCR2_VAL	=0x0246
351.13Slukemoptions 	BSC_MCR_VAL	=0x0074
361.13Slukemoptions 	BSC_RTCSR_VAL	=0xa510
371.13Slukemoptions 	BSC_RTCNT_VAL	=0xa500	# XXX
381.13Slukemoptions 	BSC_RTCOR_VAL	=0xa53a
391.13Slukemoptions 	FRQCR_VAL	=0x0102
401.1Sitojun
411.1Sitojun# CPU-related options.
421.1Sitojun#options 	MATH_EMULATE	# floating point emulation
431.1Sitojun
441.1Sitojun# This option allows you to force a serial console at the specified
451.1Sitojun# I/O address.   see console(4) for details.
461.13Slukem#options 	CONSDEVNAME="\"com\""
471.1Sitojun
481.1Sitojun# Standard system options
491.1Sitojun
501.1Sitojun#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
511.1Sitojun#options 	INSECURE	# disable kernel security levels
521.1Sitojun
531.1Sitojunoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
541.13Slukemoptions 	HZ=50		# clock interrupt generates every 1/HZ sec
551.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
561.1Sitojun
571.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
581.1Sitojun
591.1Sitojunoptions 	SYSVMSG		# System V-like message queues
601.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
611.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
621.1Sitojun#options 	SHMMAXPGS=1024	# 1024 pages is the default
631.1Sitojun
641.1Sitojun#options 	LKM		# loadable kernel modules
651.14Sjdolecek
661.14Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
671.1Sitojun
681.1Sitojun# Diagnostic/debugging support options
691.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
701.1Sitojun#options 	DEBUG		# expensive debugging checks/support
711.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
721.1Sitojun#options 	DDB		# in-kernel debugger
731.1Sitojun#options 	KGDB		# remote debugger
741.12Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
751.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
761.13Slukemoptions 	SYSCALL_DEBUG
771.1Sitojun
781.1Sitojun# Compatibility options
791.1Sitojunoptions 	COMPAT_13	# NetBSD 1.3,
801.3Stsubaioptions 	COMPAT_14	# NetBSD 1.4,
811.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
821.1Sitojun
831.1Sitojun# Executable format options
841.1Sitojun#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
851.5Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
861.1Sitojun
871.1Sitojun# File systems
881.1Sitojunfile-system 	FFS		# UFS
891.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
901.1Sitojun#file-system 	LFS		# log-structured file system
911.1Sitojunfile-system 	MFS		# memory file system
921.1Sitojun#file-system 	NFS		# Network File System client
931.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
941.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
951.1Sitojunfile-system 	FDESC		# /dev/fd
961.1Sitojunfile-system 	KERNFS		# /kern
971.1Sitojunfile-system 	NULLFS		# loopback file system
981.1Sitojun#file-system 	PORTAL		# portal filesystem (still experimental)
991.1Sitojunfile-system 	PROCFS		# /proc
1001.1Sitojun#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1011.1Sitojun#file-system 	UNION		# union file system
1021.1Sitojun
1031.1Sitojun# File system options
1041.1Sitojun#options 	QUOTA		# UFS quotas
1051.1Sitojun#options 	NFSSERVER	# Network File System server
1061.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
1071.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1081.1Sitojun				# immutable) behave as system flags.
1091.1Sitojun
1101.1Sitojun# Networking options
1111.1Sitojunoptions 	GATEWAY		# packet forwarding
1121.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1131.1Sitojunoptions 	MROUTING	# IP multicast routing
1141.1Sitojunoptions 	NS		# XNS
1151.1Sitojun#options 	NSIP		# XNS tunneling over IP
1161.1Sitojun#options 	ISO,TPIP	# OSI
1171.1Sitojun#options 	EON		# OSI tunneling over IP
1181.1Sitojun#options 	CCITT,LLC,HDLC	# X.25
1191.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1201.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1211.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1221.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1231.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1241.11Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1251.1Sitojun
1261.11Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1271.1Sitojun
1281.1Sitojun# These options enable verbose messages for several subsystems.
1291.1Sitojun# Warning, these may compile large string tables into the kernel!
1301.1Sitojun#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1311.1Sitojun
1321.1Sitojun# Kernel root file system and dump configuration.
1331.1Sitojunconfig		netbsd	root on ? type ?
1341.1Sitojun#config		netbsd	root on ? type nfs
1351.1Sitojun#config		netbsd	root on wd0a type ffs
1361.1Sitojun
1371.1Sitojun#
1381.1Sitojun# Device configuration
1391.1Sitojun#
1401.1Sitojun
1411.1Sitojunmainbus0 at root
1421.1Sitojun
1431.1Sitojunshb* at mainbus?
1441.6Smsaitoh
1451.6Smsaitoh# WatchDog Timer
1461.6Smsaitohwdog0 at shb? port 0xffffff84
1471.1Sitojun
1481.1Sitojun# Serial Devices
1491.1Sitojun
1501.13Slukemoptions 	SCICONSOLE,SCICN_SPEED=38400
1511.1Sitojunsci0 at shb? port 0xa4000008 irq 12
1521.1Sitojun
1531.1Sitojun# Miscellaneous mass storage devices
1541.1Sitojun
1551.1Sitojun
1561.1Sitojun# Network Interfaces
1571.1Sitojun
1581.1Sitojun
1591.1Sitojun# Pull in optional local configuration
1601.1Sitojuninclude	"arch/evbsh3/conf/GENERIC.local"
1611.1Sitojun
1621.1Sitojun
1631.1Sitojun# Pseudo-Devices
1641.1Sitojun
1651.1Sitojun# disk/mass storage pseudo-devices
1661.1Sitojun#pseudo-device	ccd		4	# concatenated/striped disk devices
1671.1Sitojunpseudo-device	md		1	# memory disk device (ramdisk)
1681.1Sitojunpseudo-device	vnd		4	# disk-like interface to files
1691.1Sitojun
1701.1Sitojun# network pseudo-devices
1711.1Sitojun#pseudo-device	bpfilter	8	# Berkeley packet filter
1721.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1731.1Sitojunpseudo-device	loop			# network loopback
1741.1Sitojunpseudo-device	ppp		2	# Point-to-Point Protocol
1751.1Sitojun#pseudo-device	sl		2	# Serial Line IP
1761.1Sitojun#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1771.1Sitojunpseudo-device	tun		2	# network tunneling over tty
1781.1Sitojun
1791.1Sitojun# miscellaneous pseudo-devices
1801.9Sjdolecekpseudo-device	pty			# pseudo-terminals
1811.1Sitojun#pseudo-device	tb		1	# tablet line discipline
1821.1Sitojun
1831.1Sitojun# rnd is EXPERIMENTAL at this point.
1841.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
1851.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
186