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