TEAMASA_NPWR revision 1.73
11.73Smatt#	$NetBSD: TEAMASA_NPWR,v 1.73 2012/09/01 14:50:12 matt Exp $
21.1Sthorpej#
31.1Sthorpej#	TEAMASA_NPWR -- Team ASA, Inc. Npwr -- XScale/IOP310-based
41.1Sthorpej#	server appliance.
51.1Sthorpej#
61.1Sthorpej
71.1Sthorpejinclude	"arch/evbarm/conf/std.iq80310"
81.2Sbriggsoptions 	IOP310_TEAMASA_NPWR	# Enable Npwr support
91.14Satatat
101.14Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
111.1Sthorpej
121.1Sthorpej# estimated number of users
131.1Sthorpej
141.1Sthorpejmaxusers	32
151.1Sthorpej
161.1Sthorpej# Standard system options
171.1Sthorpej
181.1Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
191.1Sthorpejoptions 	NTP		# NTP phase/frequency locked loop
201.1Sthorpej
211.1Sthorpej# CPU options
221.1Sthorpej
231.1Sthorpej# For StrongARM systems
241.5Sthorpejoptions 	CPU_XSCALE_80200	# Support the XScale core
251.26Sthorpejmakeoptions	CPUFLAGS="-mcpu=xscale"
261.13Sbriggsoptions 	XSCALE_CCLKCFG=7	# 600MHz
271.1Sthorpej
281.1Sthorpej# Architecture options
291.18Sbriggsoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
301.19Sbriggsoptions 	XSCALE_NO_COALESCE_WRITES
311.1Sthorpej
321.1Sthorpej# File systems
331.1Sthorpej
341.1Sthorpejfile-system	FFS		# UFS
351.1Sthorpej#file-system	LFS		# log-structured file system
361.1Sthorpejfile-system	MFS		# memory file system
371.1Sthorpejfile-system	NFS		# Network file system
381.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
391.9Sbriggsfile-system 	EXT2FS		# second extended file system (linux)
401.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
411.1Sthorpej#file-system	MSDOSFS		# MS-DOS file system
421.1Sthorpejfile-system	FDESC		# /dev/fd
431.1Sthorpejfile-system	KERNFS		# /kern
441.1Sthorpejfile-system	NULLFS		# loopback file system
451.1Sthorpejfile-system	PROCFS		# /proc
461.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
471.1Sthorpej#file-system	UNION		# union file system
481.45Schristosfile-system	PTYFS		# /dev/pts/N support
491.1Sthorpej
501.1Sthorpej# File system options
511.68Sbouyer#options 	QUOTA		# legacy UFS quotas
521.68Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
531.69Swiz#options 	FFS_EI		# FFS Endian Independent support
541.1Sthorpejoptions 	NFSSERVER
551.71Sdhollandoptions 	WAPBL		# File system journaling support
561.46Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
571.1Sthorpej
581.1Sthorpej# Networking options
591.1Sthorpej
601.1Sthorpej#options 	GATEWAY		# packet forwarding
611.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
621.1Sthorpejoptions 	INET6		# IPV6
631.1Sthorpej#options 	IPSEC		# IP security
641.1Sthorpej#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
651.41Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
661.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
671.1Sthorpej#options 	MROUTING	# IP multicast routing
681.35Smanu#options 	PIM		# Protocol Independent Multicast
691.1Sthorpej#options 	ISO,TPIP	# OSI
701.1Sthorpej#options 	EON		# OSI tunneling over IP
711.1Sthorpej#options 	NETATALK	# AppleTalk networking
721.1Sthorpej#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
731.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
741.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
751.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
761.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
771.1Sthorpej
781.1Sthorpejoptions 	NFS_BOOT_BOOTP
791.1Sthorpejoptions 	NFS_BOOT_DHCP
801.1Sthorpej#options 	NFS_BOOT_BOOTPARAM
811.1Sthorpej
821.1Sthorpej# Compatibility options
831.1Sthorpej
841.1Sthorpej#options 	COMPAT_43	# 4.3BSD compatibility.
851.61Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
861.55Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
871.44Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
881.40Ssimonboptions 	COMPAT_20	# NetBSD 2.0 compatibility.
891.28Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
901.1Sthorpejoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
911.1Sthorpejoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
921.1Sthorpej#options 	COMPAT_13	# NetBSD 1.3 compatibility.
931.1Sthorpej#options 	COMPAT_12	# NetBSD 1.2 compatibility.
941.1Sthorpej#options 	COMPAT_11	# NetBSD 1.1 compatibility.
951.1Sthorpej#options 	COMPAT_10	# NetBSD 1.0 compatibility.
961.1Sthorpej#options 	COMPAT_09	# NetBSD 0.9 compatibility.
971.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
981.36Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
991.1Sthorpej
1001.1Sthorpej# Shared memory options
1011.1Sthorpej
1021.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
1031.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
1041.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
1051.1Sthorpej
1061.1Sthorpej# Device options
1071.1Sthorpej
1081.1Sthorpej#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1091.6Slukem#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1101.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1111.1Sthorpej
1121.1Sthorpej# Console options.  The default console is oriented towards the IQ80310
1131.1Sthorpej# eval board, on connector J9 ("com0") at # 115200 baud.
1141.1Sthorpej#
1151.1Sthorpej# The Npwr's RedBoot firmware uses 19200, and there is only one
1161.1Sthorpej# serial port.
1171.3Sthorpej#options 	CONSPEED=19200		# Console speed
1181.1Sthorpej#options 	CONUNIT=1		# Console unit (0=J9, 1=J10)
1191.1Sthorpej
1201.1Sthorpej# Miscellaneous kernel options
1211.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
1221.1Sthorpej#options 	KMEMSTATS	# kernel memory statistics
1231.1Sthorpejoptions 	SCSIVERBOSE	# Verbose SCSI errors
1241.1Sthorpejoptions 	PCIVERBOSE	# Verbose PCI descriptions
1251.1Sthorpejoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1261.1Sthorpej#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1271.1Sthorpej#options 	DDB_KEYCODE=0x40
1281.22Slukemoptions 	USERCONF	# userconf(4) support
1291.1Sthorpej#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1301.34Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1311.1Sthorpej
1321.1Sthorpej# Development and Debugging options
1331.1Sthorpej
1341.21Sthorpejoptions 	PERFCTRS	# performance counters
1351.1Sthorpejoptions 	DIAGNOSTIC	# internally consistency checks
1361.1Sthorpej#options 	DEBUG
1371.1Sthorpej#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1381.1Sthorpej#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1391.1Sthorpejoptions 	DDB		# in-kernel debugger
1401.1Sthorpejoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1411.27Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1421.73Smattoptions 	SYMTAB_SPACE=550000
1431.1Sthorpej
1441.1Sthorpejconfig		netbsd		root on ? type ?
1451.1Sthorpejconfig		netbsd-wm0	root on wm0 type nfs
1461.8Sthorpejconfig		netbsd-sd0	root on sd0 type ?
1471.1Sthorpej
1481.1Sthorpej# The main bus device
1491.1Sthorpejmainbus0	at root
1501.1Sthorpej
1511.33Swiz# The boot CPU
1521.1Sthorpejcpu0		at mainbus?
1531.1Sthorpej
1541.1Sthorpej# On-board device support
1551.1Sthorpejobio*		at mainbus?
1561.23Sthorpej
1571.23Sthorpej# On-board 16550 UART
1581.66Sjakllschcom0		at obio? addr 0xfe810000 xint3 3
1591.1Sthorpej
1601.1Sthorpej# i80312 Companion I/O support
1611.1Sthorpejiopxs*		at mainbus?
1621.30Sbriggs
1631.30Sbriggsiopiic*		at iopxs? 			# I2C Controller Unit
1641.30Sbriggsiic*		at iopiic?
1651.31Sbriggsm41trtc*	at iic? addr 0x68
1661.30Sbriggs
1671.1Sthorpejpci*		at iopxs? bus ?
1681.1Sthorpej
1691.1Sthorpej#
1701.1Sthorpej# Networking devices
1711.1Sthorpej#
1721.1Sthorpej
1731.1Sthorpej# PCI network devices
1741.3Sthorpejwm*		at pci? dev ? function ?
1751.1Sthorpej
1761.1Sthorpej# MII/PHY support
1771.1Sthorpejmakphy*		at mii? phy ?			# Marvell "Alaska" Gig-E PHY
1781.1Sthorpejukphy*		at mii? phy ?			# Generic IEEE 802.3u PHYs
1791.1Sthorpej
1801.1Sthorpej#
1811.1Sthorpej# Mass storage devices
1821.1Sthorpej#
1831.1Sthorpej
1841.1Sthorpej# PCI SCSI controllers
1851.15Sthorpejesiop0		at pci? dev ? function ?	# on-board LSI 53c1010
1861.10Sbriggsoptions 	SIOP_SYMLED
1871.1Sthorpejscsibus*	at scsi?
1881.1Sthorpej
1891.1Sthorpej# SCSI device support
1901.1Sthorpejsd*		at scsibus? target ? lun ?	# SCSI disks
1911.1Sthorpejcd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
1921.1Sthorpejst*		at scsibus? target ? lun ?	# SCSI tapes
1931.1Sthorpejuk*		at scsibus? target ? lun ?	# unknown SCSI devices
1941.1Sthorpej
1951.1Sthorpej# Pseudo-Devices
1961.1Sthorpej
1971.1Sthorpej# disk/mass storage pseudo-devices
1981.65Shannken#pseudo-device	md			# memory disk device (ramdisk)
1991.48Scubepseudo-device	vnd			# disk-like interface to files
2001.9Sbriggspseudo-device	raid		4	# RAIDframe devices
2011.63Spooka#pseudo-device	fss			# file system snapshot device
2021.3Sthorpej#pseudo-device	ccd		4	# Concatenated disk devices
2031.1Sthorpej
2041.1Sthorpej# network pseudo-devices
2051.47Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2061.1Sthorpejpseudo-device	loop			# network loopback
2071.18Sbriggspseudo-device	kttcp
2081.1Sthorpej
2091.1Sthorpej# miscellaneous pseudo-devices
2101.1Sthorpejpseudo-device	pty			# pseudo-terminals
2111.16Slukempseudo-device	clockctl		# user control of clock subsystem
2121.25Sthorpejpseudo-device	ksyms			# /dev/ksyms
213