KZSH401 revision 1.9
11.9Sitojun#	$NetBSD: KZSH401,v 1.9 2001/01/03 23:49:22 itojun 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=2880	# size of memory disk, in blocks
161.1Smsaitoh
171.1Smsaitohmaxusers	16		# estimated number of users
181.1Smsaitoh
191.1Smsaitoh# CPU support
201.1Smsaitohoptions 	SH7750
211.1Smsaitohoptions		SH4
221.1Smsaitohoptions		SH4_PCMCIA
231.1Smsaitohoptions 	EVBSH4
241.1Smsaitohoptions 	MMEYE
251.1Smsaitoh#options 	MMEYE_NEW_INT
261.1Smsaitoh#options 	MMEYE_NO_CACHE
271.1Smsaitohoptions		PCLOCK=33333300		# 33.3333MHz
281.1Smsaitohoptions		IOM_ROM_BEGIN=0x00000000
291.1Smsaitohoptions		IOM_ROM_SIZE=0x00100000	#  1MB
301.1Smsaitohoptions		IOM_RAM_BEGIN=0x88000000
311.1Smsaitohoptions		IOM_RAM_SIZE=0x01000000	# 16MB
321.1Smsaitohoptions		INITTODR_ALWAYS_USE_RTC
331.1Smsaitohoptions		BRAINS
341.1Smsaitohoptions		USE_RTCCLK
351.1Smsaitohoptions		SYNC_CLOCK_TO_RTC
361.1Smsaitoh
371.1Smsaitohoptions		BSC_BCR1_VAL	=0x8000000c
381.1Smsaitohoptions		BSC_BCR2_VAL	=0xb538
391.1Smsaitohoptions		BSC_WCR1_VAL	=0x00010111
401.1Smsaitohoptions		BSC_WCR2_VAL	=0x108a2520
411.1Smsaitohoptions		BSC_WCR3_VAL	=0x00000000
421.1Smsaitohoptions		BSC_MCR_VAL	=0x10192194
431.1Smsaitoh#options		BSC_PCR_VAL	=0x08eb
441.1Smsaitohoptions		BSC_RTCSR_VAL	=0xa510
451.1Smsaitoh#options		BSC_RTCNT_VAL	=0xa500
461.1Smsaitohoptions		BSC_RTCOR_VAL	=0xa541
471.1Smsaitohoptions		BSC_RFCR_VAL	=0xa400
481.1Smsaitohoptions		FRQCR_VAL	=0x0e13
491.1Smsaitohoptions		BSC_SDMR2_VAL	=0xff90008c
501.1Smsaitoh
511.1Smsaitohoptions		LED_ADDR=0xa8000000
521.1Smsaitoh
531.1Smsaitoh# Standard system options
541.1Smsaitoh#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
551.1Smsaitoh#options 	INSECURE	# disable kernel security levels
561.1Smsaitoh
571.1Smsaitohoptions		RTC_OFFSET=-540
581.1Smsaitohoptions 	HZ=64		# clock interrupt generates every 1/HZ sec
591.1Smsaitoh#options 	NTP		# NTP phase/frequency locked loop
601.1Smsaitoh
611.1Smsaitoh#options 	KTRACE		# system call tracing via ktrace(1)
621.1Smsaitoh
631.1Smsaitoh#options 	SYSVMSG		# System V-like message queues
641.1Smsaitoh#options 	SYSVSEM		# System V-like semaphores
651.1Smsaitoh#options 	SYSVSHM		# System V-like memory sharing
661.1Smsaitoh#options 	SHMMAXPGS=1024	# 1024 pages is the default
671.1Smsaitoh
681.1Smsaitoh# Diagnostic/debugging support options
691.1Smsaitoh#options 	DIAGNOSTIC	# cheap kernel consistency checks
701.1Smsaitoh#options 	DEBUG		# expensive debugging checks/support
711.1Smsaitoh#options 	DDB		# in-kernel debugger
721.1Smsaitoh#makeoptions	DEBUG="-g"	# compile full symbol table
731.1Smsaitoh#options 	SYSCALL_DEBUG
741.1Smsaitoh#options 	UVMHIST
751.1Smsaitoh#options	UVMHIST_PRINT
761.1Smsaitoh
771.1Smsaitoh# Compatibility options
781.1Smsaitohoptions 	COMPAT_13	# NetBSD 1.3
791.4Smsaitohoptions 	COMPAT_14	# NetBSD 1.4,
801.1Smsaitohoptions 	COMPAT_43	# and 4.3BSD
811.1Smsaitoh
821.1Smsaitoh# Executable format options
831.1Smsaitohoptions 	EXEC_COFF	# COFF executables
841.1Smsaitoh#options 	EXEC_ELF32	# 32-bit ELF executables
851.1Smsaitoh
861.1Smsaitoh# File systems
871.1Smsaitohfile-system 	FFS		# UFS
881.1Smsaitohfile-system 	MFS		# memory file system
891.1Smsaitoh#file-system 	NFS		# Network File System client
901.6Smsaitohfile-system 	PROCFS		# /proc
911.6Smsaitohfile-system 	KERNFS		# /kern
921.6Smsaitoh#file-system 	NULLFS		# loopback file system
931.6Smsaitoh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
941.1Smsaitoh
951.1Smsaitoh# File system options
961.1Smsaitoh#options 	QUOTA		# UFS quotas
971.1Smsaitoh#options 	NFSSERVER	# Network File System server
981.1Smsaitoh
991.1Smsaitoh# Networking options
1001.5Smsaitohoptions 	INET		# IP + ICMP + TCP + UDP
1011.1Smsaitoh#options 	NFS_BOOT_DHCP	# Support DHCP NFS root
1021.1Smsaitoh
1031.1Smsaitoh#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1041.2Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1051.1Smsaitoh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1061.1Smsaitoh
1071.1Smsaitoh# Kernel root file system and dump configuration.
1081.1Smsaitoh#config		netbsd	root on ? type nfs
1091.1Smsaitoh#config		netbsd	root on wd0a type ffs
1101.1Smsaitohconfig		netbsd	root on ? type ffs
1111.1Smsaitoh
1121.1Smsaitoh#
1131.1Smsaitoh# Device configuration
1141.1Smsaitoh#
1151.1Smsaitoh
1161.1Smsaitohmainbus0 at root
1171.1Smsaitoh
1181.1Smsaitohshb*	at mainbus?
1191.1Smsaitoh
1201.1Smsaitoh# Serial Devices
1211.1Smsaitoh
1221.1Smsaitohoptions	SCIFCN_SPEED=19200
1231.1Smsaitohscif0 at shb? port 0xffe80000 irq 12
1241.1Smsaitoh
1251.1Smsaitoh#com0	at shb? port 0xa4000000 irq 11
1261.1Smsaitoh#com1	at shb? port 0xa4000008 irq 12
1271.1Smsaitoh
1281.1Smsaitoh# SH PCMCIA controllers
1291.1Smsaitoh#shpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
1301.1Smsaitoh#shpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
1311.1Smsaitoh
1321.1Smsaitoh# PCMCIA bus support
1331.1Smsaitoh#pcmcia*	at shpcic? controller ? socket ?
1341.1Smsaitoh
1351.1Smsaitoh#com*	at pcmcia? function ?		# Modems and serial cards
1361.1Smsaitoh#wdc*	at pcmcia? function ?
1371.1Smsaitoh#wd*	at wdc? drive ?			# the drives themselves
1381.1Smsaitoh
1391.1Smsaitoh#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1401.1Smsaitoh#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
1411.1Smsaitoh#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1421.1Smsaitoh#sm*	at pcmcia? function ?		# Megahertz Ethernet
1431.1Smsaitoh
1441.1Smsaitoh#pseudo-device	vnd		4	# disk-like interface to files
1451.1Smsaitoh#pseudo-device	bpfilter	8	# Berkeley packet filter
1461.1Smsaitoh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1471.5Smsaitohpseudo-device	loop			# network loopback
1481.7Sjdolecekpseudo-device	pty			# pseudo-terminals
1491.1Smsaitoh#pseudo-device	ppp		2	# Point-to-Point Protocol
1501.1Smsaitoh#pseudo-device	tun		2	# network tunneling over tty
1511.1Smsaitoh
1521.1Smsaitoh# Enable the hooks used for initializing the root memory-disk.
1531.1Smsaitoh#options 	MEMORY_DISK_HOOKS
1541.1Smsaitoh#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1551.1Smsaitoh#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1561.1Smsaitoh#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
1571.1Smsaitoh
1581.1Smsaitohpseudo-device	md		1	# memory disk device (ramdisk)
159