TEAMASA_NPWR revision 1.90
11.90Srin#	$NetBSD: TEAMASA_NPWR,v 1.90 2017/02/19 07:47:00 rin 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.74Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
471.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
481.1Sthorpej#file-system	UNION		# union file system
491.45Schristosfile-system	PTYFS		# /dev/pts/N support
501.85Schsfile-system	TMPFS		# Efficient memory file-system
511.1Sthorpej
521.1Sthorpej# File system options
531.68Sbouyer#options 	QUOTA		# legacy UFS quotas
541.68Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
551.90Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
561.69Swiz#options 	FFS_EI		# FFS Endian Independent support
571.1Sthorpejoptions 	NFSSERVER
581.71Sdhollandoptions 	WAPBL		# File system journaling support
591.46Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
601.1Sthorpej
611.1Sthorpej# Networking options
621.1Sthorpej
631.1Sthorpej#options 	GATEWAY		# packet forwarding
641.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
651.1Sthorpejoptions 	INET6		# IPV6
661.1Sthorpej#options 	IPSEC		# IP security
671.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
681.1Sthorpej#options 	MROUTING	# IP multicast routing
691.35Smanu#options 	PIM		# Protocol Independent Multicast
701.1Sthorpej#options 	NETATALK	# AppleTalk networking
711.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
721.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
731.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
741.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
751.1Sthorpej
761.1Sthorpejoptions 	NFS_BOOT_BOOTP
771.1Sthorpejoptions 	NFS_BOOT_DHCP
781.1Sthorpej#options 	NFS_BOOT_BOOTPARAM
791.1Sthorpej
801.1Sthorpej# Compatibility options
811.1Sthorpej
821.84Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
831.1Sthorpej#options 	COMPAT_43	# 4.3BSD compatibility.
841.88Sdholland#options 	COMPAT_09	# NetBSD 0.9,
851.88Sdholland#options 	COMPAT_10	# NetBSD 1.0,
861.88Sdholland#options 	COMPAT_11	# NetBSD 1.1,
871.88Sdholland#options 	COMPAT_12	# NetBSD 1.2,
881.88Sdholland#options 	COMPAT_13	# NetBSD 1.3,
891.88Sdhollandoptions 	COMPAT_14	# NetBSD 1.4,
901.88Sdhollandoptions 	COMPAT_15	# NetBSD 1.5,
911.88Sdhollandoptions 	COMPAT_16	# NetBSD 1.6,
921.88Sdhollandoptions 	COMPAT_20	# NetBSD 2.0,
931.88Sdhollandoptions 	COMPAT_30	# NetBSD 3.0,
941.88Sdhollandoptions 	COMPAT_40	# NetBSD 4.0,
951.88Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
961.88Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
971.88Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility.
981.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
991.36Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1001.1Sthorpej
1011.1Sthorpej# Shared memory options
1021.1Sthorpej
1031.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
1041.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
1051.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
1061.1Sthorpej
1071.1Sthorpej# Device options
1081.1Sthorpej
1091.1Sthorpej#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1101.6Slukem#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1111.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1121.1Sthorpej
1131.1Sthorpej# Console options.  The default console is oriented towards the IQ80310
1141.1Sthorpej# eval board, on connector J9 ("com0") at # 115200 baud.
1151.1Sthorpej#
1161.1Sthorpej# The Npwr's RedBoot firmware uses 19200, and there is only one
1171.1Sthorpej# serial port.
1181.3Sthorpej#options 	CONSPEED=19200		# Console speed
1191.1Sthorpej#options 	CONUNIT=1		# Console unit (0=J9, 1=J10)
1201.1Sthorpej
1211.1Sthorpej# Miscellaneous kernel options
1221.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
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.83Sdhollandoptions 	DIAGNOSTIC	# internal 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.87Sjoergmakeoptions	COPY_SYMTAB=1
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.79Schristospseudo-device	raid			# RAIDframe devices
2011.63Spooka#pseudo-device	fss			# file system snapshot device
2021.78Schristos#pseudo-device	ccd			# Concatenated disk devices
2031.74Smsaitoh#pseudo-device	putter			# for puffs and pud
2041.1Sthorpej
2051.1Sthorpej# network pseudo-devices
2061.47Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2071.1Sthorpejpseudo-device	loop			# network loopback
2081.18Sbriggspseudo-device	kttcp
2091.1Sthorpej
2101.1Sthorpej# miscellaneous pseudo-devices
2111.1Sthorpejpseudo-device	pty			# pseudo-terminals
2121.16Slukempseudo-device	clockctl		# user control of clock subsystem
2131.25Sthorpejpseudo-device	ksyms			# /dev/ksyms
214