xref: /netbsd-src/sys/arch/evbarm/conf/MV2120 (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1#	$NetBSD: MV2120,v 1.44 2020/08/16 10:27:47 jdolecek 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
99# Shared memory options
100
101#options 	SYSVMSG		# System V-like message queues
102#options 	SYSVSEM		# System V-like semaphores
103#options 	SYSVSHM		# System V-like memory sharing
104
105# Device options
106
107#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
108#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
109#options 	MEMORY_DISK_DYNAMIC
110#options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
111#options 	MEMORY_RBFLAGS=RB_AUTOBOOT
112
113# Miscellaneous kernel options
114
115options 	KTRACE		# system call tracing, a la ktrace(1)
116options 	IRQSTATS	# manage IRQ statistics
117options 	DDB		# in-kernel debugger
118options 	MIIVERBOSE	# Verbose MII autoconfuration messages
119#options 	PCIVERBOSE	# Verbose PCI descriptions
120options 	SCSIVERBOSE	# human readable SCSI error messages
121options 	USBVERBOSE	# verbose USB device autoconfig messages
122#options 	DDB_KEYCODE=0x40
123options 	USERCONF	# userconf(4) support
124#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
125#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
126
127config		netbsd		root on ? type ?
128config		netbsd-mvgbe0	root on mvgbe0 type nfs
129config		netbsd-wd0e	root on wd0e type ?
130config		netbsd-wd0f	root on wd0f type ?
131config		netbsd-wd0g	root on wd0g type ?
132config		netbsd-wd0h	root on wd0h type ?
133
134# The main bus device
135mainbus0 at root
136
137# The boot cpu
138cpu0	at mainbus?
139
140# Mervell MV88Fxx81 Orion System-on-Chip
141mvsoc0	at mainbus?
142
143# On-chip PCI Express Interface
144#mvpex*	at mvsoc? offset ? irq ?
145
146# On-chip PCI Interface
147#gtpci*	at mvsoc? offset ? irq ?
148
149# PCI bus support
150#options 	PCI_NETBSD_CONFIGURE
151#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
152
153#pci*	at mvpex?
154#pci*	at gtpci?
155
156#pchb*	at pci? dev ? function ?	# PCI-Host bridges
157
158# PCI IDE Controller
159#mvsata*	at pci? dev ? function ?	# Marvell SATA Controller
160
161# On-chip Serial-ATA II Host Controller (SATAHC)
162mvsata*	at mvsoc? offset ? irq ?
163
164# On-chip Gigabit Ethernet Controller Interface
165mvgbec*	at mvsoc? offset ?
166mvgbe*	at mvgbec? port ? irq ?
167
168# On-chip USB 2.0 Interface
169ehci*	at mvsoc? offset ? irq ?
170
171# On-chip Cryptographic Engines and Security Accelerator
172#mvcesa* at mvsoc? offset ? irq ?
173
174# On-chip Two-Wire Serial Interface (TWSI)
175gttwsi* at mvsoc? offset ? irq ?
176iic*	at gttwsi?				# I2C bus
177
178# On-chip UART Interface
179com*	at mvsoc? offset ? irq ?
180
181# On-chip IDMA Controller
182#gtidmac* at mvsoc? offset ? irq ?
183
184# On-chip General Purpose I/O Port Interface
185mvsocgpp* at mvsoc? offset ? irq ?
186gpio*	at mvsocgpp?
187
188# On-chip Timers
189mvsoctmr* at mvsoc? offset ? irq ?
190
191# Real Time Clock
192pcf8563rtc* at iic? addr 0x51
193
194# MII/PHY support
195makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
196rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
197rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
198ukphy*	at mii? phy ?			# generic unknown PHYs
199
200# ATA (IDE) bus support
201atabus*	at ata?
202#options 	ATADEBUG
203
204# IDE drives
205wd0	at atabus0 drive 0 flags 0x0000
206wd1	at atabus1 drive 0 flags 0x0000
207wd*	at atabus? drive ? flags 0x0000
208
209# ATAPI bus support
210atapibus* at atapi?
211
212# ATAPI devices
213# flags have the same meaning as for IDE drives.
214cd*	at atapibus? drive ? flags 0x0000       # ATAPI CD-ROM drives
215sd*	at atapibus? drive ? flags 0x0000       # ATAPI disk drives
216st*	at atapibus? drive ? flags 0x0000       # ATAPI tape drives
217uk*	at atapibus? drive ? flags 0x0000       # ATAPI unknown
218
219# SCSI bus support
220scsibus* at scsi?
221
222# SCSI devices
223sd*	at scsibus? target ? lun ?	# SCSI disk drives
224cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
225st*	at scsibus? target ? lun ?	# SCSI tape drives
226uk*	at scsibus? target ? lun ?	# SCSI unknown
227
228usb* at ehci?
229include "dev/usb/usbdevices.config"
230include "dev/bluetooth/bluetoothdevices.config"
231
232audio*  at audiobus?
233midi*   at midibus?
234
235spkr*	at audio?		# PC speaker (synthesized)
236
237# Pseudo-Devices
238
239pseudo-device	crypto			# /dev/crypto device
240pseudo-device	swcrypto		# software crypto implementation
241
242# disk/mass storage pseudo-devices
243#pseudo-device	bio			# RAID control device driver
244pseudo-device	ccd			# concatenated/striped disk devices
245pseudo-device	cgd			# cryptographic disk devices
246pseudo-device	raid			# RAIDframe disk driver
247options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
248# Options to enable various other RAIDframe RAID types.
249#options 	RF_INCLUDE_EVENODD=1
250#options 	RF_INCLUDE_RAID5_RS=1
251#options 	RF_INCLUDE_PARITYLOGGING=1
252#options 	RF_INCLUDE_CHAINDECLUSTER=1
253#options 	RF_INCLUDE_INTERDECLUSTER=1
254#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
255#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
256pseudo-device	fss			# file system snapshot device
257pseudo-device	putter			# for puffs and pud
258
259#pseudo-device	md			# memory disk device (ramdisk)
260pseudo-device	vnd			# disk-like interface to files
261options 	VND_COMPRESSION		# compressed vnd(4)
262
263# network pseudo-devices
264pseudo-device	bpfilter		# Berkeley packet filter
265#pseudo-device	carp			# Common Address Redundancy Protocol
266pseudo-device	npf			# NPF packet filter
267pseudo-device	loop			# network loopback
268pseudo-device	ppp			# Point-to-Point Protocol
269pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
270#pseudo-device	sl			# Serial Line IP
271#pseudo-device	irframetty		# IrDA frame line discipline
272pseudo-device	tap			# virtual Ethernet
273pseudo-device	tun			# network tunneling over tty
274#pseudo-device	gre			# generic L3 over IP tunnel
275pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
276#pseudo-device	faith			# IPv[46] TCP relay translation i/f
277pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
278pseudo-device	vlan			# IEEE 802.1q encapsulation
279#pseudo-device	bridge			# simple inter-network bridging
280#pseudo-device	agr			# IEEE 802.3ad link aggregation
281
282# miscellaneous pseudo-devices
283pseudo-device	pty			# pseudo-terminals
284#pseudo-device	sequencer		# MIDI sequencer
285#options 	RND_COM
286pseudo-device	clockctl		# user control of clock subsystem
287pseudo-device	ksyms			# /dev/ksyms
288
289# a pseudo device needed for Coda	# also needs CODA (above)
290pseudo-device	vcoda			# coda minicache <-> venus comm.
291
292# wscons pseudo-devices
293pseudo-device	wsmux			# mouse & keyboard multiplexor
294pseudo-device	wsfont
295
296# data mover pseudo-devices
297#pseudo-device	swdmover		# software dmover(9) back-end
298#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
299
300pseudo-device	dm
301
302# Veriexec
303include "dev/veriexec.config"
304
305options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
306options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
307
308pseudo-device drvctl
309
310# Wedge support
311options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
312options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
313
314# Alternate buffer queue strategies for better responsiveness under high
315# disk I/O load.
316options BUFQ_READPRIO
317options BUFQ_PRIOCSCAN
318