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