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