KZSH401 revision 1.7
11.7Sjdolecek#	$NetBSD: KZSH401,v 1.7 2000/09/24 15:59:31 jdolecek 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=2880	# size of memory disk, in blocks
131.1Smsaitoh
141.1Smsaitohmaxusers	16		# estimated number of users
151.1Smsaitoh
161.1Smsaitoh# CPU support
171.1Smsaitohoptions 	SH7750
181.1Smsaitohoptions		SH4
191.1Smsaitohoptions		SH4_PCMCIA
201.1Smsaitohoptions 	EVBSH4
211.1Smsaitohoptions 	MMEYE
221.1Smsaitoh#options 	MMEYE_NEW_INT
231.1Smsaitoh#options 	MMEYE_NO_CACHE
241.1Smsaitohoptions		PCLOCK=33333300		# 33.3333MHz
251.1Smsaitohoptions		IOM_ROM_BEGIN=0x00000000
261.1Smsaitohoptions		IOM_ROM_SIZE=0x00100000	#  1MB
271.1Smsaitohoptions		IOM_RAM_BEGIN=0x88000000
281.1Smsaitohoptions		IOM_RAM_SIZE=0x01000000	# 16MB
291.1Smsaitohoptions		INITTODR_ALWAYS_USE_RTC
301.1Smsaitohoptions		BRAINS
311.1Smsaitohoptions		USE_RTCCLK
321.1Smsaitohoptions		SYNC_CLOCK_TO_RTC
331.1Smsaitoh
341.1Smsaitohoptions		BSC_BCR1_VAL	=0x8000000c
351.1Smsaitohoptions		BSC_BCR2_VAL	=0xb538
361.1Smsaitohoptions		BSC_WCR1_VAL	=0x00010111
371.1Smsaitohoptions		BSC_WCR2_VAL	=0x108a2520
381.1Smsaitohoptions		BSC_WCR3_VAL	=0x00000000
391.1Smsaitohoptions		BSC_MCR_VAL	=0x10192194
401.1Smsaitoh#options		BSC_PCR_VAL	=0x08eb
411.1Smsaitohoptions		BSC_RTCSR_VAL	=0xa510
421.1Smsaitoh#options		BSC_RTCNT_VAL	=0xa500
431.1Smsaitohoptions		BSC_RTCOR_VAL	=0xa541
441.1Smsaitohoptions		BSC_RFCR_VAL	=0xa400
451.1Smsaitohoptions		FRQCR_VAL	=0x0e13
461.1Smsaitohoptions		BSC_SDMR2_VAL	=0xff90008c
471.3Smsaitoh
481.3Smsaitohmakeoptions 	LDSCRIPTBASE="sh.x"	# for big endian
491.3Smsaitoh#makeoptions 	LDSCRIPTBASE="shl.x"	# for little endian
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.1Smsaitohoptions 	PMAP_NEW	# new pmap interface
631.1Smsaitoh
641.1Smsaitoh#options 	SYSVMSG		# System V-like message queues
651.1Smsaitoh#options 	SYSVSEM		# System V-like semaphores
661.1Smsaitoh#options 	SYSVSHM		# System V-like memory sharing
671.1Smsaitoh#options 	SHMMAXPGS=1024	# 1024 pages is the default
681.1Smsaitoh
691.1Smsaitoh# Diagnostic/debugging support options
701.1Smsaitoh#options 	DIAGNOSTIC	# cheap kernel consistency checks
711.1Smsaitoh#options 	DEBUG		# expensive debugging checks/support
721.1Smsaitoh#options 	DDB		# in-kernel debugger
731.1Smsaitoh#makeoptions	DEBUG="-g"	# compile full symbol table
741.1Smsaitoh#options 	SYSCALL_DEBUG
751.1Smsaitoh#options 	UVMHIST
761.1Smsaitoh#options	UVMHIST_PRINT
771.1Smsaitoh
781.1Smsaitoh# Compatibility options
791.1Smsaitohoptions 	COMPAT_13	# NetBSD 1.3
801.4Smsaitohoptions 	COMPAT_14	# NetBSD 1.4,
811.1Smsaitohoptions 	COMPAT_43	# and 4.3BSD
821.1Smsaitoh
831.1Smsaitoh# Executable format options
841.1Smsaitohoptions 	EXEC_COFF	# COFF executables
851.1Smsaitoh#options 	EXEC_ELF32	# 32-bit ELF executables
861.1Smsaitoh
871.1Smsaitoh# File systems
881.1Smsaitohfile-system 	FFS		# UFS
891.1Smsaitohfile-system 	MFS		# memory file system
901.1Smsaitoh#file-system 	NFS		# Network File System client
911.6Smsaitohfile-system 	PROCFS		# /proc
921.6Smsaitohfile-system 	KERNFS		# /kern
931.6Smsaitoh#file-system 	NULLFS		# loopback file system
941.6Smsaitoh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
951.1Smsaitoh
961.1Smsaitoh# File system options
971.1Smsaitoh#options 	QUOTA		# UFS quotas
981.1Smsaitoh#options 	NFSSERVER	# Network File System server
991.1Smsaitoh
1001.1Smsaitoh# Networking options
1011.5Smsaitohoptions 	INET		# IP + ICMP + TCP + UDP
1021.1Smsaitoh#options 	NFS_BOOT_DHCP	# Support DHCP NFS root
1031.1Smsaitoh
1041.1Smsaitoh#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1051.2Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1061.1Smsaitoh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1071.1Smsaitoh
1081.1Smsaitoh# Kernel root file system and dump configuration.
1091.1Smsaitoh#config		netbsd	root on ? type nfs
1101.1Smsaitoh#config		netbsd	root on wd0a type ffs
1111.1Smsaitohconfig		netbsd	root on ? type ffs
1121.1Smsaitoh
1131.1Smsaitoh#
1141.1Smsaitoh# Device configuration
1151.1Smsaitoh#
1161.1Smsaitoh
1171.1Smsaitohmainbus0 at root
1181.1Smsaitoh
1191.1Smsaitohshb*	at mainbus?
1201.1Smsaitoh
1211.1Smsaitoh# Serial Devices
1221.1Smsaitoh
1231.1Smsaitohoptions	SCIFCN_SPEED=19200
1241.1Smsaitohscif0 at shb? port 0xffe80000 irq 12
1251.1Smsaitoh
1261.1Smsaitoh#com0	at shb? port 0xa4000000 irq 11
1271.1Smsaitoh#com1	at shb? port 0xa4000008 irq 12
1281.1Smsaitoh
1291.1Smsaitoh# SH PCMCIA controllers
1301.1Smsaitoh#shpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
1311.1Smsaitoh#shpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
1321.1Smsaitoh
1331.1Smsaitoh# PCMCIA bus support
1341.1Smsaitoh#pcmcia*	at shpcic? controller ? socket ?
1351.1Smsaitoh
1361.1Smsaitoh#com*	at pcmcia? function ?		# Modems and serial cards
1371.1Smsaitoh#wdc*	at pcmcia? function ?
1381.1Smsaitoh#wd*	at wdc? drive ?			# the drives themselves
1391.1Smsaitoh
1401.1Smsaitoh#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1411.1Smsaitoh#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
1421.1Smsaitoh#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1431.1Smsaitoh#sm*	at pcmcia? function ?		# Megahertz Ethernet
1441.1Smsaitoh
1451.1Smsaitoh#pseudo-device	vnd		4	# disk-like interface to files
1461.1Smsaitoh#pseudo-device	bpfilter	8	# Berkeley packet filter
1471.1Smsaitoh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1481.5Smsaitohpseudo-device	loop			# network loopback
1491.7Sjdolecekpseudo-device	pty			# pseudo-terminals
1501.1Smsaitoh#pseudo-device	ppp		2	# Point-to-Point Protocol
1511.1Smsaitoh#pseudo-device	tun		2	# network tunneling over tty
1521.1Smsaitoh
1531.1Smsaitoh# Enable the hooks used for initializing the root memory-disk.
1541.1Smsaitoh#options 	MEMORY_DISK_HOOKS
1551.1Smsaitoh#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1561.1Smsaitoh#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1571.1Smsaitoh#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
1581.1Smsaitoh
1591.1Smsaitohpseudo-device	md		1	# memory disk device (ramdisk)
160