MV2120 revision 1.36
11.36Sthorpej#	$NetBSD: MV2120,v 1.36 2018/05/15 01:24:23 thorpej 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.23Sjoergmakeoptions	COPY_SYMTAB=1
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.31Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
621.1Sjakllsch#options 	FFS_EI		# FFS Endian Independent support
631.4Sdhollandoptions 	WAPBL		# File system journaling support
641.1Sjakllsch# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
651.1Sjakllsch# It is not recommended for general use.
661.1Sjakllsch#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
671.1Sjakllschoptions 	NFSSERVER	# Network File System server
681.1Sjakllsch#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
691.1Sjakllsch#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
701.1Sjakllsch				# immutable) behave as system flags.
711.1Sjakllsch
721.1Sjakllsch# Networking options
731.1Sjakllsch
741.1Sjakllschoptions TCP_CSUM_COUNTERS
751.1Sjakllschoptions UDP_CSUM_COUNTERS
761.1Sjakllsch
771.1Sjakllsch#options 	GATEWAY		# packet forwarding
781.1Sjakllschoptions 	INET		# IP + ICMP + TCP + UDP
791.1Sjakllschoptions 	INET6		# IPv6
801.1Sjakllsch#options 	IPSEC		# IP security
811.1Sjakllsch#options 	IPSEC_DEBUG	# debug for IP security
821.1Sjakllsch#options 	MROUTING	# IP multicast routing
831.1Sjakllsch#options 	PIM		# Protocol Independent Multicast
841.1Sjakllsch#options 	NETATALK	# AppleTalk networking protocols
851.1Sjakllschoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
861.1Sjakllschoptions 	PPP_DEFLATE	# Deflate compression support for PPP
871.1Sjakllschoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
881.1Sjakllschoptions 	IPFILTER_LOG	# ipmon(8) log support
891.1Sjakllschoptions 	IPFILTER_LOOKUP	# ippool(8) support
901.1Sjakllschoptions 	IPFILTER_COMPAT	# Compat for IP-Filter
911.1Sjakllsch#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
921.1Sjakllsch#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
931.1Sjakllsch
941.1Sjakllschoptions 	NFS_BOOT_BOOTP
951.1Sjakllsch#options 	NFS_BOOT_BOOTPARAM
961.1Sjakllschoptions 	NFS_BOOT_DHCP
971.20Sjakllschoptions 	NFS_BOOT_TCP
981.1Sjakllsch
991.1Sjakllsch# Compatibility options
1001.1Sjakllsch
1011.34Smrginclude 	"conf/compat_netbsd16.config"
1021.34Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
1031.1Sjakllsch
1041.1Sjakllschoptions 	COMPAT_LINUX	# binary compatibility with Linux
1051.1Sjakllsch
1061.1Sjakllsch# Shared memory options
1071.1Sjakllsch
1081.1Sjakllsch#options 	SYSVMSG		# System V-like message queues
1091.1Sjakllsch#options 	SYSVSEM		# System V-like semaphores
1101.1Sjakllsch#options 	SYSVSHM		# System V-like memory sharing
1111.1Sjakllsch
1121.1Sjakllsch# Device options
1131.1Sjakllsch
1141.1Sjakllsch#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1151.1Sjakllsch#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1161.1Sjakllsch#options 	MEMORY_DISK_DYNAMIC
1171.1Sjakllsch#options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
1181.1Sjakllsch#options 	MEMORY_RBFLAGS=RB_AUTOBOOT
1191.1Sjakllsch
1201.1Sjakllsch# Miscellaneous kernel options
1211.1Sjakllsch
1221.1Sjakllschoptions 	KTRACE		# system call tracing, a la ktrace(1)
1231.1Sjakllschoptions 	IRQSTATS	# manage IRQ statistics
1241.20Sjakllschoptions 	DDB		# in-kernel debugger
1251.1Sjakllschoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1261.1Sjakllsch#options 	PCIVERBOSE	# Verbose PCI descriptions
1271.20Sjakllschoptions 	SCSIVERBOSE	# human readable SCSI error messages
1281.1Sjakllschoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1291.1Sjakllsch#options 	DDB_KEYCODE=0x40
1301.1Sjakllschoptions 	USERCONF	# userconf(4) support
1311.1Sjakllsch#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1321.1Sjakllsch#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1331.1Sjakllsch
1341.1Sjakllschconfig		netbsd		root on ? type ?
1351.1Sjakllschconfig		netbsd-mvgbe0	root on mvgbe0 type nfs
1361.5Sjakllschconfig		netbsd-wd0e	root on wd0e type ?
1371.5Sjakllschconfig		netbsd-wd0f	root on wd0f type ?
1381.5Sjakllschconfig		netbsd-wd0g	root on wd0g type ?
1391.5Sjakllschconfig		netbsd-wd0h	root on wd0h type ?
1401.1Sjakllsch
1411.1Sjakllsch# The main bus device
1421.1Sjakllschmainbus0 at root
1431.1Sjakllsch
1441.1Sjakllsch# The boot cpu
1451.1Sjakllschcpu0	at mainbus?
1461.1Sjakllsch
1471.1Sjakllsch# Mervell MV88Fxx81 Orion System-on-Chip
1481.1Sjakllschmvsoc0	at mainbus?
1491.1Sjakllsch
1501.1Sjakllsch# On-chip PCI Express Interface
1511.3Sjakllsch#mvpex*	at mvsoc? offset ? irq ?
1521.1Sjakllsch
1531.1Sjakllsch# On-chip PCI Interface
1541.3Sjakllsch#gtpci*	at mvsoc? offset ? irq ?
1551.1Sjakllsch
1561.1Sjakllsch# PCI bus support
1571.1Sjakllsch#options 	PCI_NETBSD_CONFIGURE
1581.1Sjakllsch#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
1591.1Sjakllsch
1601.3Sjakllsch#pci*	at mvpex?
1611.3Sjakllsch#pci*	at gtpci?
1621.3Sjakllsch
1631.3Sjakllsch#pchb*	at pci? dev ? function ?	# PCI-Host bridges
1641.1Sjakllsch
1651.3Sjakllsch# PCI IDE Controller
1661.3Sjakllsch#mvsata*	at pci? dev ? function ?	# Marvell SATA Controller
1671.1Sjakllsch
1681.1Sjakllsch# On-chip Serial-ATA II Host Controller (SATAHC)
1691.1Sjakllschmvsata*	at mvsoc? offset ? irq ?
1701.1Sjakllsch
1711.1Sjakllsch# On-chip Gigabit Ethernet Controller Interface
1721.1Sjakllschmvgbec*	at mvsoc? offset ?
1731.1Sjakllschmvgbe*	at mvgbec? port ? irq ?
1741.1Sjakllsch
1751.1Sjakllsch# On-chip USB 2.0 Interface
1761.1Sjakllschehci*	at mvsoc? offset ? irq ?
1771.1Sjakllsch
1781.1Sjakllsch# On-chip Cryptographic Engines and Security Accelerator
1791.1Sjakllsch#mvcesa* at mvsoc? offset ? irq ?
1801.1Sjakllsch
1811.1Sjakllsch# On-chip Two-Wire Serial Interface (TWSI)
1821.1Sjakllschgttwsi* at mvsoc? offset ? irq ?
1831.1Sjakllschiic*	at gttwsi?				# I2C bus
1841.1Sjakllsch
1851.1Sjakllsch# On-chip UART Interface
1861.1Sjakllschcom*	at mvsoc? offset ? irq ?
1871.1Sjakllsch
1881.1Sjakllsch# On-chip IDMA Controller
1891.3Sjakllsch#gtidmac* at mvsoc? offset ? irq ?
1901.1Sjakllsch
1911.1Sjakllsch# On-chip General Purpose I/O Port Interface
1921.1Sjakllschmvsocgpp* at mvsoc? offset ? irq ?
1931.1Sjakllschgpio*	at mvsocgpp?
1941.1Sjakllsch
1951.1Sjakllsch# On-chip Timers
1961.1Sjakllschmvsoctmr* at mvsoc? offset ? irq ?
1971.1Sjakllsch
1981.1Sjakllsch# Real Time Clock
1991.36Sthorpejpcf8563rtc* at iic0 addr 0x51
2001.1Sjakllsch
2011.1Sjakllsch# MII/PHY support
2021.1Sjakllschmakphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
2031.1Sjakllsch
2041.1Sjakllsch# ATA (IDE) bus support
2051.1Sjakllschatabus*	at ata?
2061.20Sjakllsch#options 	ATADEBUG
2071.1Sjakllsch
2081.1Sjakllsch# IDE drives
2091.1Sjakllschwd0	at atabus0 drive 0 flags 0x0000
2101.1Sjakllschwd1	at atabus1 drive 0 flags 0x0000
2111.1Sjakllschwd*	at atabus? drive ? flags 0x0000
2121.1Sjakllsch
2131.1Sjakllsch# ATAPI bus support
2141.1Sjakllschatapibus* at atapi?
2151.1Sjakllsch
2161.1Sjakllsch# ATAPI devices
2171.1Sjakllsch# flags have the same meaning as for IDE drives.
2181.1Sjakllschcd*	at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
2191.1Sjakllschsd*	at atapibus? drive ? flags 0x0000       # ATAPI disk drives
2201.1Sjakllschst*	at atapibus? drive ? flags 0x0000       # ATAPI tape drives
2211.1Sjakllschuk*	at atapibus? drive ? flags 0x0000       # ATAPI unknown
2221.1Sjakllsch
2231.1Sjakllsch# SCSI bus support
2241.1Sjakllschscsibus* at scsi?
2251.1Sjakllsch
2261.1Sjakllsch# SCSI devices
2271.1Sjakllschsd*	at scsibus? target ? lun ?	# SCSI disk drives
2281.1Sjakllschcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2291.1Sjakllschst*	at scsibus? target ? lun ?	# SCSI tape drives
2301.1Sjakllschuk*	at scsibus? target ? lun ?	# SCSI unknown
2311.1Sjakllsch
2321.1Sjakllschusb* at ehci?
2331.1Sjakllschinclude "dev/usb/usbdevices.config"
2341.1Sjakllschinclude "dev/bluetooth/bluetoothdevices.config"
2351.1Sjakllsch
2361.1Sjakllschaudio*  at audiobus?
2371.1Sjakllschmidi*   at midibus?
2381.1Sjakllsch
2391.30Schristosspkr*	at audio?		# PC speaker (synthesized)
2401.28Snat
2411.1Sjakllsch# Pseudo-Devices
2421.1Sjakllsch
2431.1Sjakllschpseudo-device	crypto			# /dev/crypto device
2441.1Sjakllschpseudo-device	swcrypto		# software crypto implementation
2451.1Sjakllsch
2461.1Sjakllsch# disk/mass storage pseudo-devices
2471.3Sjakllsch#pseudo-device	bio			# RAID control device driver
2481.14Schristospseudo-device	ccd			# concatenated/striped disk devices
2491.14Schristospseudo-device	cgd			# cryptographic disk devices
2501.15Schristospseudo-device	raid			# RAIDframe disk driver
2511.1Sjakllschoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2521.1Sjakllsch# Options to enable various other RAIDframe RAID types.
2531.1Sjakllsch#options 	RF_INCLUDE_EVENODD=1
2541.1Sjakllsch#options 	RF_INCLUDE_RAID5_RS=1
2551.1Sjakllsch#options 	RF_INCLUDE_PARITYLOGGING=1
2561.1Sjakllsch#options 	RF_INCLUDE_CHAINDECLUSTER=1
2571.1Sjakllsch#options 	RF_INCLUDE_INTERDECLUSTER=1
2581.1Sjakllsch#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2591.1Sjakllsch#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2601.1Sjakllschpseudo-device	fss			# file system snapshot device
2611.1Sjakllschpseudo-device	putter			# for puffs and pud
2621.1Sjakllsch
2631.1Sjakllsch#pseudo-device	md			# memory disk device (ramdisk)
2641.1Sjakllschpseudo-device	vnd			# disk-like interface to files
2651.1Sjakllschoptions 	VND_COMPRESSION		# compressed vnd(4)
2661.1Sjakllsch
2671.1Sjakllsch# network pseudo-devices
2681.1Sjakllschpseudo-device	bpfilter		# Berkeley packet filter
2691.1Sjakllsch#pseudo-device	carp			# Common Address Redundancy Protocol
2701.1Sjakllschpseudo-device	ipfilter		# IP filter (firewall) and NAT
2711.1Sjakllschpseudo-device	loop			# network loopback
2721.1Sjakllschpseudo-device	ppp			# Point-to-Point Protocol
2731.1Sjakllschpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2741.1Sjakllsch#pseudo-device	sl			# Serial Line IP
2751.1Sjakllsch#pseudo-device	strip			# Starmode Radio IP (Metricom)
2761.1Sjakllsch#pseudo-device	irframetty		# IrDA frame line discipline
2771.1Sjakllschpseudo-device	tap			# virtual Ethernet
2781.1Sjakllschpseudo-device	tun			# network tunneling over tty
2791.1Sjakllsch#pseudo-device	gre			# generic L3 over IP tunnel
2801.1Sjakllschpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
2811.1Sjakllsch#pseudo-device	faith			# IPv[46] TCP relay translation i/f
2821.1Sjakllschpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2831.1Sjakllschpseudo-device	vlan			# IEEE 802.1q encapsulation
2841.1Sjakllsch#pseudo-device	bridge			# simple inter-network bridging
2851.1Sjakllsch#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2861.1Sjakllsch#pseudo-device	agr			# IEEE 802.3ad link aggregation
2871.1Sjakllsch#pseudo-device	pf			# PF packet filter
2881.1Sjakllsch#pseudo-device	pflog			# PF log if
2891.1Sjakllsch
2901.1Sjakllsch# miscellaneous pseudo-devices
2911.1Sjakllschpseudo-device	pty			# pseudo-terminals
2921.16Schristos#pseudo-device	sequencer		# MIDI sequencer
2931.1Sjakllsch#options 	RND_COM
2941.1Sjakllschpseudo-device	clockctl		# user control of clock subsystem
2951.1Sjakllschpseudo-device	ksyms			# /dev/ksyms
2961.1Sjakllsch
2971.1Sjakllsch# a pseudo device needed for Coda	# also needs CODA (above)
2981.15Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
2991.1Sjakllsch
3001.1Sjakllsch# a pseudo device needed for SMBFS
3011.1Sjakllschpseudo-device	nsmb			# experimental - SMB requester
3021.1Sjakllsch
3031.1Sjakllsch# wscons pseudo-devices
3041.1Sjakllschpseudo-device	wsmux			# mouse & keyboard multiplexor
3051.1Sjakllschpseudo-device	wsfont
3061.1Sjakllsch
3071.1Sjakllsch# data mover pseudo-devices
3081.9Sskrll#pseudo-device	swdmover		# software dmover(9) back-end
3091.3Sjakllsch#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
3101.1Sjakllsch
3111.1Sjakllschpseudo-device	dm
3121.1Sjakllsch
3131.1Sjakllschoptions 	FILEASSOC		# fileassoc(9) - required for Veriexec
3141.27Schristos					# and PAX_SEGVGUARD
3151.1Sjakllsch
3161.1Sjakllsch# Veriexec
3171.1Sjakllschpseudo-device	veriexec
3181.1Sjakllsch#
3191.1Sjakllsch# Uncomment the fingerprint methods below that are desired. Note that
3201.1Sjakllsch# removing fingerprint methods will have almost no impact on the kernel
3211.1Sjakllsch# code size.
3221.1Sjakllsch#
3231.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA256
3241.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA384
3251.1Sjakllschoptions 	VERIFIED_EXEC_FP_SHA512
3261.1Sjakllsch
3271.1Sjakllschoptions 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
3281.1Sjakllschoptions 	PAX_ASLR=0		# PaX Address Space Layout Randomization
3291.1Sjakllsch
3301.1Sjakllschpseudo-device drvctl
3311.1Sjakllsch
3321.24Schristos# Wedge support
3331.24Schristosoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
3341.24Schristosoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
3351.24Schristos
3361.35Ssevan# Alternate buffer queue strategies for better responsiveness under high
3371.35Ssevan# disk I/O load.
3381.1Sjakllschoptions BUFQ_READPRIO
3391.1Sjakllschoptions BUFQ_PRIOCSCAN
340