MV2120 revision 1.43
1#	$NetBSD: MV2120,v 1.43 2020/08/01 08:20:48 maxv Exp $
2#
3#  This configuration supports for HP MV2120/MV5140/MV5150.
4
5include 	"arch/evbarm/conf/std.mv2120"
6
7options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
8makeoptions	COPY_SYMTAB=1
9
10makeoptions	DEBUG="-g"
11
12# estimated number of users
13
14maxusers	32
15
16# Board Type
17makeoptions	BOARDTYPE="mv2120"
18options 	EVBARM_BOARDTYPE=mv2120
19
20# CPU options
21options 	CPU_ARM9E
22makeoptions	CPUFLAGS="-mcpu=arm926ej-s -mtune=arm926ej-s -Os"
23
24# Marvell SoC options
25options 	ORION
26
27# Standard system options
28
29options 	MSGBUFSIZE=32768
30
31options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
32options 	NTP		# NTP phase/frequency locked loop
33
34# File systems
35
36file-system 	FFS		# UFS
37file-system 	EXT2FS		# second extended file system (linux)
38file-system 	LFS		# log-structured file system
39file-system 	MFS		# memory file system
40file-system 	NFS		# Network File System client
41file-system 	NTFS		# Windows/NT file system (experimental)
42file-system 	CD9660		# ISO 9660 + Rock Ridge file system
43file-system 	MSDOSFS		# MS-DOS file system
44file-system 	FDESC		# /dev/fd
45file-system 	KERNFS		# /kern
46file-system 	NULLFS		# loopback file system
47file-system 	OVERLAY		# overlay file system
48file-system 	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
49file-system 	PROCFS		# /proc
50file-system 	UMAPFS		# NULLFS + uid and gid remapping
51file-system 	UNION		# union file system
52file-system 	CODA		# Coda File System; also needs vcoda (below)
53file-system 	PTYFS		# /dev/ptm support
54file-system 	TMPFS		# Efficient memory file-system
55file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
56file-system 	HFS		# experimental - Apple HFS+ (read-only)
57
58# File system options
59options 	QUOTA		# UFS quotas
60#options 	DISKLABEL_EI	# disklabel Endian Independent support
61#options 	FFS_EI		# FFS Endian Independent support
62options 	WAPBL		# File system journaling support
63# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
64# It is not recommended for general use.
65#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
66options 	NFSSERVER	# Network File System server
67#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
68#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
69				# immutable) behave as system flags.
70
71# Networking options
72
73options TCP_CSUM_COUNTERS
74options UDP_CSUM_COUNTERS
75
76#options 	GATEWAY		# packet forwarding
77options 	INET		# IP + ICMP + TCP + UDP
78options 	INET6		# IPv6
79#options 	IPSEC		# IP security
80#options 	IPSEC_DEBUG	# debug for IP security
81#options 	MROUTING	# IP multicast routing
82#options 	PIM		# Protocol Independent Multicast
83#options 	NETATALK	# AppleTalk networking protocols
84options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
85options 	PPP_DEFLATE	# Deflate compression support for PPP
86options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
87#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
88
89options 	NFS_BOOT_BOOTP
90#options 	NFS_BOOT_BOOTPARAM
91options 	NFS_BOOT_DHCP
92options 	NFS_BOOT_TCP
93
94# Compatibility options
95
96include 	"conf/compat_netbsd16.config"
97options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
98
99options 	COMPAT_LINUX	# binary compatibility with Linux
100
101# Shared memory options
102
103#options 	SYSVMSG		# System V-like message queues
104#options 	SYSVSEM		# System V-like semaphores
105#options 	SYSVSHM		# System V-like memory sharing
106
107# Device options
108
109#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
110#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
111#options 	MEMORY_DISK_DYNAMIC
112#options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
113#options 	MEMORY_RBFLAGS=RB_AUTOBOOT
114
115# Miscellaneous kernel options
116
117options 	KTRACE		# system call tracing, a la ktrace(1)
118options 	IRQSTATS	# manage IRQ statistics
119options 	DDB		# in-kernel debugger
120options 	MIIVERBOSE	# Verbose MII autoconfuration messages
121#options 	PCIVERBOSE	# Verbose PCI descriptions
122options 	SCSIVERBOSE	# human readable SCSI error messages
123options 	USBVERBOSE	# verbose USB device autoconfig messages
124#options 	DDB_KEYCODE=0x40
125options 	USERCONF	# userconf(4) support
126#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
127#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
128
129config		netbsd		root on ? type ?
130config		netbsd-mvgbe0	root on mvgbe0 type nfs
131config		netbsd-wd0e	root on wd0e type ?
132config		netbsd-wd0f	root on wd0f type ?
133config		netbsd-wd0g	root on wd0g type ?
134config		netbsd-wd0h	root on wd0h type ?
135
136# The main bus device
137mainbus0 at root
138
139# The boot cpu
140cpu0	at mainbus?
141
142# Mervell MV88Fxx81 Orion System-on-Chip
143mvsoc0	at mainbus?
144
145# On-chip PCI Express Interface
146#mvpex*	at mvsoc? offset ? irq ?
147
148# On-chip PCI Interface
149#gtpci*	at mvsoc? offset ? irq ?
150
151# PCI bus support
152#options 	PCI_NETBSD_CONFIGURE
153#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
154
155#pci*	at mvpex?
156#pci*	at gtpci?
157
158#pchb*	at pci? dev ? function ?	# PCI-Host bridges
159
160# PCI IDE Controller
161#mvsata*	at pci? dev ? function ?	# Marvell SATA Controller
162
163# On-chip Serial-ATA II Host Controller (SATAHC)
164mvsata*	at mvsoc? offset ? irq ?
165
166# On-chip Gigabit Ethernet Controller Interface
167mvgbec*	at mvsoc? offset ?
168mvgbe*	at mvgbec? port ? irq ?
169
170# On-chip USB 2.0 Interface
171ehci*	at mvsoc? offset ? irq ?
172
173# On-chip Cryptographic Engines and Security Accelerator
174#mvcesa* at mvsoc? offset ? irq ?
175
176# On-chip Two-Wire Serial Interface (TWSI)
177gttwsi* at mvsoc? offset ? irq ?
178iic*	at gttwsi?				# I2C bus
179
180# On-chip UART Interface
181com*	at mvsoc? offset ? irq ?
182
183# On-chip IDMA Controller
184#gtidmac* at mvsoc? offset ? irq ?
185
186# On-chip General Purpose I/O Port Interface
187mvsocgpp* at mvsoc? offset ? irq ?
188gpio*	at mvsocgpp?
189
190# On-chip Timers
191mvsoctmr* at mvsoc? offset ? irq ?
192
193# Real Time Clock
194pcf8563rtc* at iic? addr 0x51
195
196# MII/PHY support
197makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
198rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
199rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
200ukphy*	at mii? phy ?			# generic unknown PHYs
201
202# ATA (IDE) bus support
203atabus*	at ata?
204#options 	ATADEBUG
205
206# IDE drives
207wd0	at atabus0 drive 0 flags 0x0000
208wd1	at atabus1 drive 0 flags 0x0000
209wd*	at atabus? drive ? flags 0x0000
210
211# ATAPI bus support
212atapibus* at atapi?
213
214# ATAPI devices
215# flags have the same meaning as for IDE drives.
216cd*	at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
217sd*	at atapibus? drive ? flags 0x0000       # ATAPI disk drives
218st*	at atapibus? drive ? flags 0x0000       # ATAPI tape drives
219uk*	at atapibus? drive ? flags 0x0000       # ATAPI unknown
220
221# SCSI bus support
222scsibus* at scsi?
223
224# SCSI devices
225sd*	at scsibus? target ? lun ?	# SCSI disk drives
226cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
227st*	at scsibus? target ? lun ?	# SCSI tape drives
228uk*	at scsibus? target ? lun ?	# SCSI unknown
229
230usb* at ehci?
231include "dev/usb/usbdevices.config"
232include "dev/bluetooth/bluetoothdevices.config"
233
234audio*  at audiobus?
235midi*   at midibus?
236
237spkr*	at audio?		# PC speaker (synthesized)
238
239# Pseudo-Devices
240
241pseudo-device	crypto			# /dev/crypto device
242pseudo-device	swcrypto		# software crypto implementation
243
244# disk/mass storage pseudo-devices
245#pseudo-device	bio			# RAID control device driver
246pseudo-device	ccd			# concatenated/striped disk devices
247pseudo-device	cgd			# cryptographic disk devices
248pseudo-device	raid			# RAIDframe disk driver
249options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
250# Options to enable various other RAIDframe RAID types.
251#options 	RF_INCLUDE_EVENODD=1
252#options 	RF_INCLUDE_RAID5_RS=1
253#options 	RF_INCLUDE_PARITYLOGGING=1
254#options 	RF_INCLUDE_CHAINDECLUSTER=1
255#options 	RF_INCLUDE_INTERDECLUSTER=1
256#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
257#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
258pseudo-device	fss			# file system snapshot device
259pseudo-device	putter			# for puffs and pud
260
261#pseudo-device	md			# memory disk device (ramdisk)
262pseudo-device	vnd			# disk-like interface to files
263options 	VND_COMPRESSION		# compressed vnd(4)
264
265# network pseudo-devices
266pseudo-device	bpfilter		# Berkeley packet filter
267#pseudo-device	carp			# Common Address Redundancy Protocol
268pseudo-device	npf			# NPF packet filter
269pseudo-device	loop			# network loopback
270pseudo-device	ppp			# Point-to-Point Protocol
271pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
272#pseudo-device	sl			# Serial Line IP
273#pseudo-device	irframetty		# IrDA frame line discipline
274pseudo-device	tap			# virtual Ethernet
275pseudo-device	tun			# network tunneling over tty
276#pseudo-device	gre			# generic L3 over IP tunnel
277pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
278#pseudo-device	faith			# IPv[46] TCP relay translation i/f
279pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
280pseudo-device	vlan			# IEEE 802.1q encapsulation
281#pseudo-device	bridge			# simple inter-network bridging
282#pseudo-device	agr			# IEEE 802.3ad link aggregation
283
284# miscellaneous pseudo-devices
285pseudo-device	pty			# pseudo-terminals
286#pseudo-device	sequencer		# MIDI sequencer
287#options 	RND_COM
288pseudo-device	clockctl		# user control of clock subsystem
289pseudo-device	ksyms			# /dev/ksyms
290
291# a pseudo device needed for Coda	# also needs CODA (above)
292pseudo-device	vcoda			# coda minicache <-> venus comm.
293
294# wscons pseudo-devices
295pseudo-device	wsmux			# mouse & keyboard multiplexor
296pseudo-device	wsfont
297
298# data mover pseudo-devices
299#pseudo-device	swdmover		# software dmover(9) back-end
300#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
301
302pseudo-device	dm
303
304# Veriexec
305include "dev/veriexec.config"
306
307options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
308options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
309
310pseudo-device drvctl
311
312# Wedge support
313options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
314options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
315
316# Alternate buffer queue strategies for better responsiveness under high
317# disk I/O load.
318options BUFQ_READPRIO
319options BUFQ_PRIOCSCAN
320