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