xref: /netbsd-src/sys/arch/evbarm/conf/OPENBLOCKS_AX3 (revision d536862b7d93d77932ef5de7eebdc48d76921b77)
1#	$NetBSD: OPENBLOCKS_AX3,v 1.35 2021/01/20 13:22:08 nia Exp $
2#
3#	OPENBLOCKS_AX3 -- Plat'Home. OpenBlockS AX3 kernel
4#
5
6include 	"arch/evbarm/conf/std.marvell"
7
8options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	32
13
14# Board Type
15makeoptions	BOARDTYPE="openblocks_ax3"
16options 	EVBARM_BOARDTYPE=openblocks_ax3
17
18# CPU options
19options 	CPU_PJ4B
20options 	L2CACHE_ENABLE
21#options 	AURORA_IO_CACHE_COHERENCY
22options 	AURORA_L2_PT_WALK
23options 	ARM_HAS_VBAR
24options 	FPU_VFP
25makeoptions	CPUFLAGS="-march=armv7-a -mfpu=neon"
26
27# Architecture options
28options 	ARMADAXP
29
30options 	PIC_MAXSOURCES=128
31
32options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
33#options 	MULTIPROCESSOR
34options 	TPIDRPRW_IS_CURCPU
35
36makeoptions 	KERNEL_BASE_VIRT="0x80008000"
37
38# Standard system options
39
40options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
41options 	NTP		# NTP phase/frequency locked loop
42
43# File systems
44
45file-system 	FFS		# UFS
46file-system 	EXT2FS		# second extended file system (linux)
47#file-system 	LFS		# log-structured file system
48#file-system 	MFS		# memory file system
49file-system 	NFS		# Network file system
50file-system 	CD9660		# ISO 9660 + Rock Ridge file system
51file-system 	MSDOSFS		# MS-DOS file system
52#file-system 	FDESC		# /dev/fd
53file-system 	KERNFS		# /kern
54file-system 	NULLFS		# loopback file system
55file-system 	PROCFS		# /proc
56file-system 	PTYFS		# /dev/pts/N support
57#file-system 	PUFFS		# Pass-to-Userspace Framework File System
58#file-system 	UMAPFS		# NULLFS + uid and gid remapping
59file-system 	UNION		# union file system
60file-system 	TMPFS		# Efficient memory file-system
61
62# File system options
63#options 	QUOTA		# legacy UFS quotas
64#options 	QUOTA2		# new, in-filesystem UFS quotas
65#options 	DISKLABEL_EI	# disklabel Endian Independent support
66options 	FFS_EI		# FFS Endian Independent support
67options 	NFSSERVER	# Network File System server
68options 	WAPBL		# File system journaling support
69#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
70
71# Networking options
72
73options 	GATEWAY		# packet forwarding
74options 	INET		# IP + ICMP + TCP + UDP
75options 	INET6		# IPv6
76options 	IPSEC		# IP security
77#options 	IPSEC_DEBUG	# debug for IP security
78options 	MROUTING	# IP multicast routing
79options 	PIM		# Protocol Independent Multicast
80options 	NETATALK	# AppleTalk networking protocols
81options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
82options 	PPP_DEFLATE	# Deflate compression support for PPP
83options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
84#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
85
86#options 	NFS_BOOT_BOOTP
87options 	NFS_BOOT_DHCP
88#options 	NFS_BOOT_BOOTPARAM
89
90#options 	NFS_BOOT_RWSIZE=1024
91
92# Compatibility options
93
94include 	"conf/compat_netbsd50.config"
95options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
96
97# Shared memory options
98
99options 	SYSVMSG		# System V-like message queues
100options 	SYSVSEM		# System V-like semaphores
101#options 	SEMMNI=10	# number of semaphore identifiers
102#options 	SEMMNS=60	# number of semaphores in system
103#options 	SEMUME=10	# max number of undo entries per process
104#options 	SEMMNU=30	# number of undo structures in system
105options 	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 	MINIROOTSIZE=1000	# Size in blocks
113#options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
114#options 	MEMORY_RBFLAGS=RB_AUTOBOOT
115
116# Miscellaneous kernel options
117
118#options 	KTRACE		# system call tracing, a la ktrace(1)
119options 	IRQSTATS	# manage IRQ statistics
120#options 	MIIVERBOSE	# Verbose MII auto configuration messages
121#options 	PCIVERBOSE	# Verbose PCI descriptions
122#options 	SCSIVERBOSE	# Verbose SCSI errors
123options 	USBVERBOSE	# Verbose USB device auto configuration messages
124#options 	DDB_KEYCODE=0x40
125#options 	USERCONF	# userconf(4) support
126#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
127#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
128
129# Development and Debugging options
130
131options 	DIAGNOSTIC	# internal consistency checks
132options 	DEBUG
133#options 	UVMHIST		# kernhist for uvm/pmap subsystems
134#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
135options 	DDB		# in-kernel debugger
136options 	DDB_ONPANIC=1
137#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
138#options 	KGDB
139#options 	DEBUG_KGDB
140makeoptions	DEBUG="-g"	# compile full symbol table
141makeoptions	COPY_SYMTAB=1
142
143config		netbsd		root on ? type ?
144
145# The main bus device
146mainbus0 at root
147
148# The boot cpu
149cpu0	at mainbus?
150
151# Marvell MV88F78260 ARMADA XP System-on-chip
152mvsoc0	at mainbus?
153options 	MVSOC_INTERREGS_PBASE=0xd0000000
154options 	MVSOC_FIXUP_DEVID=0x7826
155
156# On-chip Serial-ATA II Host Controller (SATAHC)
157mvsata* at mvsoc? offset ? irq ?
158
159# On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
160mvgbec* at mvsoc? offset ?
161mvgbe*	at mvgbec? port ? irq ?
162
163# On-chip Gigabit Ethernet Controller Interface (counter mode)
164#mvxpbm*	at mvsoc? offset ?
165#mvxpe*	at mvsoc? irq ?
166#options 	MVXPE_EVENT_COUNTERS
167#options 	MVXPE_DEBUG=0
168
169makphy* at mii? phy ?
170
171# On-chip USB 2.0 Interface
172ehci*	at mvsoc? offset ? irq ?
173
174# Serial Peripheral Interface (SPI)
175#mvspi*	at mvsoc? offset ? irq ?
176#spi*	at mvspi?
177
178# On-chip Two-Wire Serial Interface (TWSI)
179gttwsi* at mvsoc? offset ? irq ?
180iic*	at gttwsi?
181s390rtc* at iic1 addr 0x30
182
183# On-chip Cryptographic Engines and Security Accelerator (DMA)
184#mvxpsec* at mvsoc? offset ? irq ?
185#options 	MVXPSEC_DEBUG=MVXPSEC_DEBUG_ALL
186
187# On-chip UART Interface
188com*	at mvsoc? offset ? irq ?
189options 	COM_16750		# XXXX: required
190#options 	COM_DEBUG
191
192# On-chip PCI Express Interface
193mvpex*	at mvsoc? offset ? irq ?
194
195# On-chip IDMA Controller
196gtidmac* at mvsoc? offset ? irq ?
197
198# On-chip Thermal Sensor
199mvsocts* at mvsoc? offset ? irq ?
200
201# On-chip Timers
202mvsoctmr* at mvsoc? offset ? irq ?
203
204
205# PCI bus support
206options 	PCI_NETBSD_CONFIGURE
207#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
208pci*	at mvpex?
209pchb*	at pci? dev ? function ?	# PCI-Host bridges
210
211#athn*	at pci? dev ? function ?	# Atheros AR9k (802.11a/g/n)
212
213# ATA (IDE) bus support
214atabus* at ata?
215#options 	ATADEBUG
216
217# IDE drives
218wd*	at atabus? drive ? flags 0x0000
219
220# ATAPI bus support
221atapibus* at atapi?
222
223# ATAPI devices
224# flags have the same meaning as for IDE drives.
225cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
226sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
227
228# USB bus support
229usb*	at ehci?
230
231# USB Hubs
232uhub*	at usb?
233uhub*	at uhub? port ?
234
235# USB Mass Storage
236umass*	at uhub? port ? configuration ? interface ?
237scsibus* at scsi?
238sd*	at scsibus? target ? lun ?	# SCSI disk drives
239cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
240
241# USB Generic driver
242ugen*	at uhub? port ?
243
244
245# Pseudo-Devices
246
247pseudo-device	crypto			# /dev/crypto device
248pseudo-device	swcrypto		# software crypto implementation
249
250# disk/mass storage pseudo-devices
251#pseudo-device	bio			# RAID control device driver
252#pseudo-device	ccd			# concatenated/striped disk devices
253#pseudo-device	cgd			# cryptographic disk devices
254#pseudo-device	raid			# RAIDframe disk driver
255#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
256# Options to enable various other RAIDframe RAID types.
257#options 	RF_INCLUDE_EVENODD=1
258#options 	RF_INCLUDE_RAID5_RS=1
259#options 	RF_INCLUDE_PARITYLOGGING=1
260#options 	RF_INCLUDE_CHAINDECLUSTER=1
261#options 	RF_INCLUDE_INTERDECLUSTER=1
262#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
263#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
264#pseudo-device	fss			# file system snapshot device
265#pseudo-device	putter			# for puffs and pud
266
267#pseudo-device	md			# memory disk device (ramdisk)
268pseudo-device	vnd			# disk-like interface to files
269options 	VND_COMPRESSION		# compressed vnd(4)
270
271# network pseudo-devices
272pseudo-device	bpfilter		# Berkeley packet filter
273#pseudo-device	carp			# Common Address Redundancy Protocol
274pseudo-device	npf			# NPF packet filter
275pseudo-device	loop			# network loopback
276pseudo-device	ppp			# Point-to-Point Protocol
277pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
278pseudo-device	sl			# Serial Line IP
279#pseudo-device	irframetty		# IrDA frame line discipline
280pseudo-device	tap			# virtual Ethernet
281pseudo-device	tun			# network tunneling over tty
282pseudo-device	gre			# generic L3 over IP tunnel
283pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
284pseudo-device	faith			# IPv[46] TCP relay translation i/f
285pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
286pseudo-device	vlan			# IEEE 802.1q encapsulation
287pseudo-device	bridge			# simple inter-network bridging
288pseudo-device	vether			# Virtual Ethernet for bridge
289pseudo-device	agr			# IEEE 802.3ad link aggregation
290
291# miscellaneous pseudo-devices
292pseudo-device	pty			# pseudo-terminals
293#pseudo-device	sequencer		# MIDI sequencer
294#options 	RND_COM
295pseudo-device	clockctl		# user control of clock subsystem
296pseudo-device	ksyms			# /dev/ksyms
297
298# a pseudo device needed for Coda	# also needs CODA (above)
299#pseudo-device	vcoda			# coda minicache <-> venus comm.
300
301# wscons pseudo-devices
302#pseudo-device	wsmux			# mouse & keyboard multiplexor
303#pseudo-device	wsfont
304
305# data mover pseudo-devices
306pseudo-device	swdmover		# software dmover(9) back-end
307pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
308
309# Veriexec
310# include "dev/veriexec.config"
311
312#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
313#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
314