VIPER revision 1.13
11.13Stsutsui#	$NetBSD: VIPER,v 1.13 2008/05/30 20:10:01 tsutsui Exp $
21.1Spooka#
31.1Spooka#	Arcom Viper
41.1Spooka#
51.1Spooka
61.1Spookainclude "arch/evbarm/conf/std.viper"
71.1Spooka
81.1Spooka#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Spooka#options 	MSGBUFSIZE=65536
101.1Spooka#options 	KSTACK_CHECK_MAGIC
111.1Spooka
121.1Spooka# estimated number of users
131.1Spookamaxusers	32
141.1Spooka
151.1Spooka# Standard system options
161.1Spooka
171.1Spookaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
181.1Spookaoptions 	NTP		# NTP phase/frequency locked loop
191.1Spooka
201.1Spooka# CPU options
211.1Spooka
221.2Spookaoptions 	CPU_XSCALE_PXA250 # XScale PXA255
231.1Spookamakeoptions	CPUFLAGS="-mcpu=xscale"
241.1Spooka#options 	CPU_XSCALE_CCLKCFG=xyz
251.1Spooka
261.1Spooka# File systems
271.1Spooka
281.1Spookafile-system	FFS		# UFS
291.1Spooka#file-system	LFS		# log-structured file system
301.1Spookafile-system	MFS		# memory file system
311.1Spookafile-system	NFS		# Network file system
321.1Spooka#file-system 	ADOSFS		# AmigaDOS-compatible file system
331.1Spookafile-system 	EXT2FS		# second extended file system (linux)
341.1Spooka#file-system	CD9660		# ISO 9660 + Rock Ridge file system
351.1Spookafile-system	MSDOSFS		# MS-DOS file system
361.1Spooka#file-system	FDESC		# /dev/fd
371.1Spooka#file-system    FILECORE        # Acorn filecore file system
381.1Spookafile-system	KERNFS		# /kern
391.1Spookafile-system	NULLFS		# loopback file system
401.1Spooka#file-system	PORTAL		# portal filesystem (still experimental)
411.1Spookafile-system	PROCFS		# /proc
421.1Spooka#file-system	UMAPFS		# NULLFS + uid and gid remapping
431.1Spookafile-system	UNION		# union file system
441.7Schristosfile-system	PTYFS		# /dev/pts/N support
451.1Spooka
461.1Spooka# File system options
471.1Spooka#options 	QUOTA		# UFS quotas
481.1Spooka#options 	FFS_EI		# FFS Endian Independant support
491.1Spookaoptions 	NFSSERVER
501.1Spookaoptions 	SOFTDEP
511.1Spooka
521.1Spooka# Networking options
531.1Spooka
541.1Spooka#options 	GATEWAY		# packet forwarding
551.1Spookaoptions 	INET		# IP + ICMP + TCP + UDP
561.1Spookaoptions 	INET6		# IPV6
571.1Spooka#options 	IPSEC		# IP security
581.1Spooka#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
591.3Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
601.1Spooka#options 	IPSEC_DEBUG	# debug for IP security
611.1Spooka#options 	MROUTING	# IP multicast routing
621.1Spooka#options 	ISO,TPIP	# OSI
631.1Spooka#options 	EON		# OSI tunneling over IP
641.1Spooka#options 	NETATALK	# AppleTalk networking
651.1Spooka#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
661.1Spooka#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
671.1Spooka#options 	PPP_DEFLATE	# Deflate compression support for PPP
681.1Spooka#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
691.1Spooka#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
701.1Spooka
711.1Spookaoptions 	NFS_BOOT_DHCP
721.1Spookaoptions 	NFS_BOOT_BOOTPARAM
731.1Spookaoptions 	NFS_BOOT_RWSIZE=1024
741.1Spooka
751.1Spooka# Compatibility options
761.1Spooka
771.1Spooka#options 	COMPAT_LINUX
781.6Schristos#options 	COMPAT_43	# 4.3BSD compatibility.
791.13Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
801.6Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
811.13Stsutsui#options 	COMPAT_20	# NetBSD 2.0 compatibility.
821.1Spooka#options 	COMPAT_16	# NetBSD 1.6 compatibility.
831.1Spooka#options 	COMPAT_15	# NetBSD 1.5 compatibility.
841.1Spooka#options 	COMPAT_14	# NetBSD 1.4 compatibility.
851.1Spooka#options 	COMPAT_13	# NetBSD 1.3 compatibility.
861.1Spooka#options 	COMPAT_12	# NetBSD 1.2 compatibility.
871.1Spooka#options 	COMPAT_11	# NetBSD 1.1 compatibility.
881.1Spooka#options 	COMPAT_10	# NetBSD 1.0 compatibility.
891.1Spooka#options 	COMPAT_09	# NetBSD 0.9 compatibility.
901.1Spooka#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
911.1Spooka
921.1Spooka# Shared memory options
931.1Spooka
941.1Spookaoptions 	SYSVMSG		# System V-like message queues
951.1Spookaoptions 	SYSVSEM		# System V-like semaphores
961.1Spookaoptions 	SEMMNI=10	# number of semaphore identifiers
971.1Spookaoptions 	SEMMNS=60	# number of semaphores in system
981.1Spookaoptions 	SEMUME=10	# max number of undo entries per process
991.1Spookaoptions 	SEMMNU=30	# number of undo structures in system
1001.1Spookaoptions 	SYSVSHM		# System V-like memory sharing
1011.1Spookaoptions 	SHMMAXPGS=1024	# 1024 pages is the default
1021.1Spooka
1031.1Spooka# Device options
1041.1Spooka
1051.1Spooka#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1061.1Spooka#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1071.1Spooka#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1081.1Spooka
1091.1Spooka# Console options.  The default console is speed is 115200 bps.
1101.1Spooka#options 	CONSPEED=9600		# Console speed
1111.1Spooka
1121.1Spooka# Miscellaneous kernel options
1131.1Spookaoptions 	KTRACE		# system call tracing, a la ktrace(1)
1141.1Spookaoptions 	IRQSTATS	# manage IRQ statistics
1151.1Spooka#options 	LKM		# loadable kernel modules
1161.1Spooka#options 	KMEMSTATS	# kernel memory statistics
1171.1Spooka#options 	SCSIVERBOSE	# Verbose SCSI errors
1181.1Spooka#options 	PCIVERBOSE	# Verbose PCI descriptions
1191.1Spooka#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1201.1Spooka#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1211.1Spooka#options 	DDB_KEYCODE=0x40
1221.1Spooka#options 	USERCONF	# userconf(4) support
1231.1Spooka#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1241.1Spooka
1251.1Spooka# Development and Debugging options
1261.1Spooka
1271.1Spooka#options 	PERFCTRS	# performance counters
1281.1Spookaoptions 	DIAGNOSTIC	# internally consistency checks
1291.1Spooka#options 	DEBUG
1301.1Spooka#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1311.1Spooka#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1321.1Spookaoptions 	DDB		# in-kernel debugger
1331.1Spookaoptions		DDB_ONPANIC=1
1341.1Spookaoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1351.1Spooka#makeoptions	DEBUG="-g"	# compile full symbol table
1361.1Spookaoptions 	SYMTAB_SPACE=450000
1371.1Spooka
1381.1Spooka##options 	PMAP_INCLUDE_PTE_SYNC
1391.1Spooka##options 	LOCKDEBUG
1401.1Spooka
1411.1Spookaconfig		netbsd		root on ? type ?
1421.1Spooka
1431.1Spooka# The main bus device
1441.1Spookamainbus0	at root
1451.1Spooka
1461.1Spooka# The boot CPU
1471.1Spookacpu0		at mainbus?
1481.1Spooka
1491.1Spooka# peripherals
1501.1Spookapxaip0		at mainbus0
1511.1Spooka
1521.1Spooka# interrupt controller & gpio pins
1531.1Spookapxaintc0	at pxaip0
1541.1Spookapxagpio0	at pxaip0
1551.1Spooka
1561.1Spooka# serial ports
1571.1Spookaoptions 	COM_PXA2X0
1581.1Spookaoptions 	FFUARTCONSOLE
1591.1Spookacom0	at pxaip0 addr 0x40100000 intr 22  # FFUART
1601.1Spookacom1	at pxaip0 addr 0x40200000 intr 21  # BTUART
1611.1Spookacom2	at pxaip0 addr 0x40700000 intr 20
1621.1Spooka
1631.1Spooka# these two are not hanging off of pxaip, not really tested either
1641.1Spooka#com3	at pxaip0 addr 0x14300000	# COM5
1651.1Spooka#com4	at pxaip0 addr 0x14300010	# COM4
1661.1Spooka
1671.1Spooka# SMC91C111 ethernet
1681.1Spookasm0	at pxaip0 addr 0x08000300 intr 0
1691.1Spooka
1701.1Spooka# MII/PHY support
1711.1Spookasqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
1721.1Spooka
1731.1Spooka# Pseudo-Devices
1741.1Spooka
1751.1Spooka# disk/mass storage pseudo-devices
1761.1Spooka#pseudo-device	md		1	# memory disk device (ramdisk)
1771.10Scubepseudo-device	vnd			# disk-like interface to files
1781.1Spooka#pseudo-device	fss		4	# file system snapshot device
1791.1Spooka
1801.1Spooka# network pseudo-devices
1811.9Srpaulopseudo-device	bpfilter		# Berkeley packet filter
1821.1Spookapseudo-device	loop			# network loopback
1831.1Spookapseudo-device	kttcp			# network loopback
1841.1Spooka
1851.1Spooka# miscellaneous pseudo-devices
1861.1Spookapseudo-device	pty			# pseudo-terminals
1871.1Spookapseudo-device	rnd			# /dev/random and in-kernel generator
1881.1Spooka#options	RND_COM
1891.1Spookapseudo-device	clockctl		# user control of clock subsystem
1901.1Spookapseudo-device	ksyms			# /dev/ksyms
1911.1Spooka
1921.1Spooka# data mover pseudo-devices
1931.1Spooka#pseudo-device	swdmover		# softare dmover(9) back-end
1941.1Spooka#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
195