MV2120 revision 1.20
11.20Sjakllsch#	$NetBSD: MV2120,v 1.20 2014/05/07 14:26:53 jakllsch Exp $
21.1Sjakllsch#
31.1Sjakllsch#  This configuration supports for HP MV2120/MV5140/MV5150.
41.1Sjakllsch
51.1Sjakllschinclude 	"arch/evbarm/conf/std.mv2120"
61.1Sjakllsch
71.1Sjakllschoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.19Sjoergoptions 	SYMTAB_SPACE=1024000
91.1Sjakllsch
101.1Sjakllschmakeoptions	DEBUG="-g"
111.1Sjakllsch
121.1Sjakllsch# estimated number of users
131.1Sjakllsch
141.1Sjakllschmaxusers	32
151.1Sjakllsch
161.1Sjakllsch# Board Type
171.3Sjakllschmakeoptions	BOARDTYPE="mv2120"
181.3Sjakllschoptions 	EVBARM_BOARDTYPE=mv2120
191.1Sjakllsch
201.1Sjakllsch# CPU options
211.3Sjakllschoptions 	CPU_ARM9E
221.3Sjakllschmakeoptions	CPUFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s -Os"
231.1Sjakllsch
241.1Sjakllsch# Marvell SoC options
251.1Sjakllschoptions 	ORION
261.1Sjakllsch
271.1Sjakllsch# Standard system options
281.1Sjakllsch
291.3Sjakllschoptions 	MSGBUFSIZE=32768
301.1Sjakllsch
311.1Sjakllschoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
321.1Sjakllschoptions 	NTP		# NTP phase/frequency locked loop
331.1Sjakllsch
341.1Sjakllsch# File systems
351.1Sjakllsch
361.1Sjakllschfile-system 	FFS		# UFS
371.1Sjakllschfile-system 	EXT2FS		# second extended file system (linux)
381.1Sjakllschfile-system 	LFS		# log-structured file system
391.1Sjakllschfile-system 	MFS		# memory file system
401.1Sjakllschfile-system 	NFS		# Network File System client
411.1Sjakllschfile-system 	NTFS		# Windows/NT file system (experimental)
421.1Sjakllschfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
431.1Sjakllschfile-system 	MSDOSFS		# MS-DOS file system
441.1Sjakllschfile-system 	FDESC		# /dev/fd
451.1Sjakllschfile-system 	KERNFS		# /kern
461.1Sjakllschfile-system 	NULLFS		# loopback file system
471.1Sjakllschfile-system 	OVERLAY		# overlay file system
481.1Sjakllschfile-system 	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
491.1Sjakllschfile-system 	PROCFS		# /proc
501.1Sjakllschfile-system 	UMAPFS		# NULLFS + uid and gid remapping
511.1Sjakllschfile-system 	UNION		# union file system
521.1Sjakllschfile-system 	CODA		# Coda File System; also needs vcoda (below)
531.1Sjakllschfile-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
541.1Sjakllschfile-system 	PTYFS		# /dev/ptm support
551.1Sjakllschfile-system 	TMPFS		# Efficient memory file-system
561.1Sjakllschfile-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
571.1Sjakllschfile-system 	HFS		# experimental - Apple HFS+ (read-only)
581.1Sjakllsch
591.1Sjakllsch# File system options
601.1Sjakllschoptions 	QUOTA		# UFS quotas
611.1Sjakllsch#options 	FFS_EI		# FFS Endian Independent support
621.4Sdhollandoptions 	WAPBL		# File system journaling support
631.1Sjakllsch# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
641.1Sjakllsch# It is not recommended for general use.
651.1Sjakllsch#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
661.1Sjakllschoptions 	NFSSERVER	# Network File System server
671.1Sjakllsch#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
681.1Sjakllsch#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
691.1Sjakllsch				# immutable) behave as system flags.
701.1Sjakllsch
711.1Sjakllsch# Networking options
721.1Sjakllsch
731.1Sjakllschoptions TCP_CSUM_COUNTERS
741.1Sjakllschoptions UDP_CSUM_COUNTERS
751.1Sjakllsch
761.1Sjakllsch#options 	GATEWAY		# packet forwarding
771.1Sjakllschoptions 	INET		# IP + ICMP + TCP + UDP
781.1Sjakllschoptions 	INET6		# IPv6
791.1Sjakllsch#options 	IPSEC		# IP security
801.1Sjakllsch#options 	IPSEC_DEBUG	# debug for IP security
811.1Sjakllsch#options 	MROUTING	# IP multicast routing
821.1Sjakllsch#options 	PIM		# Protocol Independent Multicast
831.1Sjakllsch#options 	NETATALK	# AppleTalk networking protocols
841.1Sjakllschoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
851.1Sjakllschoptions 	PPP_DEFLATE	# Deflate compression support for PPP
861.1Sjakllschoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
871.1Sjakllschoptions 	IPFILTER_LOG	# ipmon(8) log support
881.1Sjakllschoptions 	IPFILTER_LOOKUP	# ippool(8) support
891.1Sjakllschoptions 	IPFILTER_COMPAT	# Compat for IP-Filter
901.1Sjakllsch#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
911.1Sjakllsch#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
921.1Sjakllsch
931.1Sjakllschoptions 	NFS_BOOT_BOOTP
941.1Sjakllsch#options 	NFS_BOOT_BOOTPARAM
951.1Sjakllschoptions 	NFS_BOOT_DHCP
961.20Sjakllschoptions 	NFS_BOOT_TCP
971.1Sjakllsch
981.1Sjakllsch# Compatibility options
991.1Sjakllsch
1001.1Sjakllsch#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1011.1Sjakllsch#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1021.1Sjakllsch#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1031.1Sjakllsch#options 	COMPAT_12	# NetBSD 1.2 compatibility.
1041.1Sjakllsch#options 	COMPAT_13	# NetBSD 1.3 compatibility.
1051.1Sjakllsch#options 	COMPAT_14	# NetBSD 1.4 compatibility.
1061.1Sjakllsch#options 	COMPAT_15	# NetBSD 1.5 compatibility.
1071.1Sjakllschoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1081.1Sjakllschoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
1091.1Sjakllschoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1101.1Sjakllschoptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1111.3Sjakllschoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1121.11Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
1131.1Sjakllsch#options 	COMPAT_43	# 4.3BSD compatibility.
1141.1Sjakllsch#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1151.1Sjakllsch
1161.1Sjakllschoptions 	COMPAT_LINUX	# binary compatibility with Linux
1171.1Sjakllschoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1181.1Sjakllsch
1191.1Sjakllsch# Shared memory options
1201.1Sjakllsch
1211.1Sjakllsch#options 	SYSVMSG		# System V-like message queues
1221.1Sjakllsch#options 	SYSVSEM		# System V-like semaphores
1231.1Sjakllsch#options 	SYSVSHM		# System V-like memory sharing
1241.1Sjakllsch
1251.1Sjakllsch# Device options
1261.1Sjakllsch
1271.1Sjakllsch#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1281.1Sjakllsch#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1291.1Sjakllsch#options 	MEMORY_DISK_DYNAMIC
1301.1Sjakllsch#options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
1311.1Sjakllsch#options 	MEMORY_RBFLAGS=RB_AUTOBOOT
1321.1Sjakllsch
1331.1Sjakllsch# Miscellaneous kernel options
1341.1Sjakllsch
1351.1Sjakllschoptions 	KTRACE		# system call tracing, a la ktrace(1)
1361.1Sjakllschoptions 	IRQSTATS	# manage IRQ statistics
1371.1Sjakllsch#options 	KMEMSTATS	# kernel memory statistics
1381.20Sjakllschoptions 	DDB		# in-kernel debugger
1391.1Sjakllschoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1401.1Sjakllsch#options 	PCIVERBOSE	# Verbose PCI descriptions
1411.20Sjakllschoptions 	SCSIVERBOSE	# human readable SCSI error messages
1421.1Sjakllschoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1431.1Sjakllsch#options 	DDB_KEYCODE=0x40
1441.1Sjakllschoptions 	USERCONF	# userconf(4) support
1451.1Sjakllsch#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1461.1Sjakllsch#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1471.1Sjakllsch
1481.1Sjakllschconfig		netbsd		root on ? type ?
1491.1Sjakllschconfig		netbsd-mvgbe0	root on mvgbe0 type nfs
1501.5Sjakllschconfig		netbsd-wd0e	root on wd0e type ?
1511.5Sjakllschconfig		netbsd-wd0f	root on wd0f type ?
1521.5Sjakllschconfig		netbsd-wd0g	root on wd0g type ?
1531.5Sjakllschconfig		netbsd-wd0h	root on wd0h type ?
1541.1Sjakllsch
1551.1Sjakllsch# The main bus device
1561.1Sjakllschmainbus0 at root
1571.1Sjakllsch
1581.1Sjakllsch# The boot cpu
1591.1Sjakllschcpu0	at mainbus?
1601.1Sjakllsch
1611.1Sjakllsch# Mervell MV88Fxx81 Orion System-on-Chip
1621.1Sjakllschmvsoc0	at mainbus?
1631.1Sjakllsch
1641.1Sjakllsch# On-chip PCI Express Interface
1651.3Sjakllsch#mvpex*	at mvsoc? offset ? irq ?
1661.1Sjakllsch
1671.1Sjakllsch# On-chip PCI Interface
1681.3Sjakllsch#gtpci*	at mvsoc? offset ? irq ?
1691.1Sjakllsch
1701.1Sjakllsch# PCI bus support
1711.1Sjakllsch#options 	PCI_NETBSD_CONFIGURE
1721.1Sjakllsch#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
1731.1Sjakllsch
1741.3Sjakllsch#pci*	at mvpex?
1751.3Sjakllsch#pci*	at gtpci?
1761.3Sjakllsch
1771.3Sjakllsch#pchb*	at pci? dev ? function ?	# PCI-Host bridges
1781.1Sjakllsch
1791.3Sjakllsch# PCI IDE Controller
1801.3Sjakllsch#mvsata*	at pci? dev ? function ?	# Marvell SATA Controller
1811.1Sjakllsch
1821.1Sjakllsch# On-chip Serial-ATA II Host Controller (SATAHC)
1831.1Sjakllschmvsata*	at mvsoc? offset ? irq ?
1841.1Sjakllsch
1851.1Sjakllsch# On-chip Gigabit Ethernet Controller Interface
1861.1Sjakllschmvgbec*	at mvsoc? offset ?
1871.1Sjakllschmvgbe*	at mvgbec? port ? irq ?
1881.1Sjakllsch
1891.1Sjakllsch# On-chip USB 2.0 Interface
1901.1Sjakllschehci*	at mvsoc? offset ? irq ?
1911.1Sjakllsch
1921.1Sjakllsch# On-chip Cryptographic Engines and Security Accelerator
1931.1Sjakllsch#mvcesa* at mvsoc? offset ? irq ?
1941.1Sjakllsch
1951.1Sjakllsch# On-chip Two-Wire Serial Interface (TWSI)
1961.1Sjakllschgttwsi* at mvsoc? offset ? irq ?
1971.1Sjakllschiic*	at gttwsi?				# I2C bus
1981.1Sjakllsch
1991.1Sjakllsch# On-chip UART Interface
2001.1Sjakllschcom*	at mvsoc? offset ? irq ?
2011.1Sjakllsch
2021.1Sjakllsch# On-chip IDMA Controller
2031.3Sjakllsch#gtidmac* at mvsoc? offset ? irq ?
2041.1Sjakllsch
2051.1Sjakllsch# On-chip General Purpose I/O Port Interface
2061.1Sjakllschmvsocgpp* at mvsoc? offset ? irq ?
2071.1Sjakllschgpio*	at mvsocgpp?
2081.1Sjakllsch
2091.1Sjakllsch# On-chip Timers
2101.1Sjakllschmvsoctmr* at mvsoc? offset ? irq ?
2111.1Sjakllsch
2121.1Sjakllsch# Real Time Clock
2131.1Sjakllschpcf8563rtc* at iic? addr 0x51
2141.1Sjakllsch
2151.1Sjakllsch# MII/PHY support
2161.1Sjakllschmakphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
2171.1Sjakllsch
2181.1Sjakllsch# ATA (IDE) bus support
2191.1Sjakllschatabus*	at ata?
2201.20Sjakllsch#options 	ATADEBUG
2211.1Sjakllsch
2221.1Sjakllsch# IDE drives
2231.1Sjakllschwd0	at atabus0 drive 0 flags 0x0000
2241.1Sjakllschwd1	at atabus1 drive 0 flags 0x0000
2251.1Sjakllschwd*	at atabus? drive ? flags 0x0000
2261.1Sjakllsch
2271.1Sjakllsch# ATAPI bus support
2281.1Sjakllschatapibus* at atapi?
2291.1Sjakllsch
2301.1Sjakllsch# ATAPI devices
2311.1Sjakllsch# flags have the same meaning as for IDE drives.
2321.1Sjakllschcd*	at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
2331.1Sjakllschsd*	at atapibus? drive ? flags 0x0000       # ATAPI disk drives
2341.1Sjakllschst*	at atapibus? drive ? flags 0x0000       # ATAPI tape drives
2351.1Sjakllschuk*	at atapibus? drive ? flags 0x0000       # ATAPI unknown
2361.1Sjakllsch
2371.1Sjakllsch# SCSI bus support
2381.1Sjakllschscsibus* at scsi?
2391.1Sjakllsch
2401.1Sjakllsch# SCSI devices
2411.1Sjakllschsd*	at scsibus? target ? lun ?	# SCSI disk drives
2421.1Sjakllschcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2431.1Sjakllschst*	at scsibus? target ? lun ?	# SCSI tape drives
2441.1Sjakllschuk*	at scsibus? target ? lun ?	# SCSI unknown
2451.1Sjakllsch
2461.1Sjakllschusb* at ehci?
2471.1Sjakllschinclude "dev/usb/usbdevices.config"
2481.1Sjakllschinclude "dev/bluetooth/bluetoothdevices.config"
2491.1Sjakllsch
2501.1Sjakllschaudio*  at audiobus?
2511.1Sjakllschmidi*   at midibus?
2521.1Sjakllsch
2531.1Sjakllsch# Pseudo-Devices
2541.1Sjakllsch
2551.1Sjakllschpseudo-device	crypto			# /dev/crypto device
2561.1Sjakllschpseudo-device	swcrypto		# software crypto implementation
2571.1Sjakllsch
2581.1Sjakllsch# disk/mass storage pseudo-devices
2591.3Sjakllsch#pseudo-device	bio			# RAID control device driver
2601.14Schristospseudo-device	ccd			# concatenated/striped disk devices
2611.14Schristospseudo-device	cgd			# cryptographic disk devices
2621.15Schristospseudo-device	raid			# RAIDframe disk driver
2631.1Sjakllschoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2641.1Sjakllsch# Options to enable various other RAIDframe RAID types.
2651.1Sjakllsch#options 	RF_INCLUDE_EVENODD=1
2661.1Sjakllsch#options 	RF_INCLUDE_RAID5_RS=1
2671.1Sjakllsch#options 	RF_INCLUDE_PARITYLOGGING=1
2681.1Sjakllsch#options 	RF_INCLUDE_CHAINDECLUSTER=1
2691.1Sjakllsch#options 	RF_INCLUDE_INTERDECLUSTER=1
2701.1Sjakllsch#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2711.1Sjakllsch#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2721.1Sjakllschpseudo-device	fss			# file system snapshot device
2731.1Sjakllschpseudo-device	putter			# for puffs and pud
2741.1Sjakllsch
2751.1Sjakllsch#pseudo-device	md			# memory disk device (ramdisk)
2761.1Sjakllschpseudo-device	vnd			# disk-like interface to files
2771.1Sjakllschoptions 	VND_COMPRESSION		# compressed vnd(4)
2781.1Sjakllsch
2791.1Sjakllsch# network pseudo-devices
2801.1Sjakllschpseudo-device	bpfilter		# Berkeley packet filter
2811.1Sjakllsch#pseudo-device	carp			# Common Address Redundancy Protocol
2821.1Sjakllschpseudo-device	ipfilter		# IP filter (firewall) and NAT
2831.1Sjakllschpseudo-device	loop			# network loopback
2841.1Sjakllschpseudo-device	ppp			# Point-to-Point Protocol
2851.1Sjakllschpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2861.1Sjakllsch#pseudo-device	sl			# Serial Line IP
2871.1Sjakllsch#pseudo-device	strip			# Starmode Radio IP (Metricom)
2881.1Sjakllsch#pseudo-device	irframetty		# IrDA frame line discipline
2891.1Sjakllschpseudo-device	tap			# virtual Ethernet
2901.1Sjakllschpseudo-device	tun			# network tunneling over tty
2911.1Sjakllsch#pseudo-device	gre			# generic L3 over IP tunnel
2921.1Sjakllschpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
2931.1Sjakllsch#pseudo-device	faith			# IPv[46] TCP relay translation i/f
2941.1Sjakllschpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2951.1Sjakllschpseudo-device	vlan			# IEEE 802.1q encapsulation
2961.1Sjakllsch#pseudo-device	bridge			# simple inter-network bridging
2971.1Sjakllsch#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2981.1Sjakllsch#pseudo-device	agr			# IEEE 802.3ad link aggregation
2991.1Sjakllsch#pseudo-device	pf			# PF packet filter
3001.1Sjakllsch#pseudo-device	pflog			# PF log if
3011.1Sjakllsch
3021.1Sjakllsch# miscellaneous pseudo-devices
3031.1Sjakllschpseudo-device	pty			# pseudo-terminals
3041.16Schristos#pseudo-device	sequencer		# MIDI sequencer
3051.1Sjakllsch#options 	RND_COM
3061.1Sjakllschpseudo-device	clockctl		# user control of clock subsystem
3071.1Sjakllschpseudo-device	ksyms			# /dev/ksyms
3081.1Sjakllsch
3091.1Sjakllsch# a pseudo device needed for Coda	# also needs CODA (above)
3101.15Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
3111.1Sjakllsch
3121.1Sjakllsch# a pseudo device needed for SMBFS
3131.1Sjakllschpseudo-device	nsmb			# experimental - SMB requester
3141.1Sjakllsch
3151.1Sjakllsch# wscons pseudo-devices
3161.1Sjakllschpseudo-device	wsmux			# mouse & keyboard multiplexor
3171.1Sjakllschpseudo-device	wsfont
3181.1Sjakllsch
3191.1Sjakllsch# data mover pseudo-devices
3201.9Sskrll#pseudo-device	swdmover		# software dmover(9) back-end
3211.3Sjakllsch#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
3221.1Sjakllsch
3231.1Sjakllschpseudo-device	dm
3241.1Sjakllsch
3251.1Sjakllschoptions 	FILEASSOC		# fileassoc(9) - required for Veriexec
3261.1Sjakllsch
3271.1Sjakllsch# Veriexec
3281.1Sjakllschpseudo-device	veriexec
3291.1Sjakllsch#
3301.1Sjakllsch# Uncomment the fingerprint methods below that are desired. Note that
3311.1Sjakllsch# removing fingerprint methods will have almost no impact on the kernel
3321.1Sjakllsch# code size.
3331.1Sjakllsch#
3341.1Sjakllschoptions 	VERIFIED_EXEC_FP_RMD160
3351.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA256
3361.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA384
3371.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA512
3381.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA1
3391.1Sjakllschoptions 	VERIFIED_EXEC_FP_MD5
3401.1Sjakllsch
3411.1Sjakllschoptions 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
3421.1Sjakllschoptions 	PAX_ASLR=0		# PaX Address Space Layout Randomization
3431.1Sjakllsch
3441.1Sjakllschpseudo-device drvctl
3451.1Sjakllsch
3461.1Sjakllschoptions DKWEDGE_AUTODISCOVER
3471.1Sjakllschoptions DKWEDGE_METHOD_GPT
3481.1Sjakllschoptions BUFQ_READPRIO
3491.1Sjakllschoptions BUFQ_PRIOCSCAN
350