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