1#
2# Custom kernel for Marvell Armada XP
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21ident		MV-88F78XX0
22include		"../mv/armadaxp/std.mv78x60"
23
24options 	SOC_MV_ARMADAXP
25
26makeoptions	WERROR="-Werror"
27
28options 	HZ=1000
29#options 	SCHED_ULE		# ULE scheduler
30options 	SCHED_ULE		# ULE scheduler
31options 	PREEMPTION		# Enable kernel thread preemption
32options 	INET			# InterNETworking
33options 	INET6			# IPv6 communications protocols
34options 	SCTP			# Stream Control Transmission Protocol
35options 	FFS			# Berkeley Fast Filesystem
36options 	SOFTUPDATES		# Enable FFS soft updates support
37options 	UFS_ACL			# Support for access control lists
38options 	UFS_DIRHASH		# Improve performance on big directories
39options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
40options 	QUOTA			# Enable disk quotas for UFS
41options 	NFSCL			# New Network Filesystem Client
42options 	NFSLOCKD		# Network Lock Manager
43options 	NFS_ROOT		# NFS usable as /, requires NFSCL
44options 	MSDOSFS			# MSDOS Filesystem
45options 	CD9660			# ISO 9660 Filesystem
46options 	PROCFS			# Process filesystem (requires PSEUDOFS)
47options 	PSEUDOFS		# Pseudo-filesystem framework
48options 	TMPFS			# Efficient memory filesystem
49options 	GEOM_PART_GPT		# GUID Partition Tables
50options 	GEOM_PART_BSD		# BSD partition scheme
51options 	GEOM_PART_MBR		# MBR partition scheme
52options 	KTRACE			# ktrace(1) support
53options 	SYSVSHM			# SYSV-style shared memory
54options 	SYSVMSG			# SYSV-style message queues
55options 	SYSVSEM			# SYSV-style semaphores
56options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
57options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
58options 	VFP			# Enable floating point hardware support
59options 	SMP			# Enable multiple cores
60
61# Debugging for use in -current
62makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
63#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
64options 	ALT_BREAK_TO_DEBUGGER
65options 	KDB			# Enable kernel debugger support
66# For minimum debugger support (stable branch) use:
67options 	KDB_TRACE		# Print a stack trace for a panic
68# For full debugger support use this instead:
69options 	DDB			# Enable the kernel debugger
70options 	GDB
71#options 	INVARIANTS		# Enable calls of extra sanity checking
72#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
73#options 	WITNESS			# Enable checks to detect deadlocks and cycles
74#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
75#options 	WITNESS_KDB
76#options 	DIAGNOSTIC
77#options 	KTR
78#options 	KTR_VERBOSE=0
79#options 	KTR_ENTRIES=16384
80#options 	KTR_MASK=(KTR_SPARE2)
81#options 	KTR_COMPILE=KTR_ALL
82
83# NFS root from boopt/dhcp
84options 	BOOTP
85options 	BOOTP_NFSROOT
86options 	BOOTP_NFSV3
87options 	BOOTP_WIRED_TO=mge0
88
89options 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
90
91options 	MUTEX_NOINLINE
92options 	RWLOCK_NOINLINE
93options 	NO_FFS_SNAPSHOT
94options 	NO_SWAPPING
95
96# Pseudo devices
97device		random
98device		pty
99device		loop
100device		md
101
102# USB
103options 	USB_DEBUG		# enable debug msgs
104device		usb
105device		ehci
106device		umass
107device		scbus
108device		pass
109device		da
110
111# SATA
112device		mvs
113
114# Serial ports
115device		uart
116
117# I2C (TWSI)
118device		iic
119device		iicbus
120
121#Network
122device		ether
123device		mge			# Marvell Gigabit Ethernet controller
124device		mii
125device		e1000phy
126device		bpf
127options 	DEVICE_POLLING
128device		vlan
129
130#PCI/PCIE
131device		pci
132
133# Flattened Device Tree
134options 	FDT			# Configure using FDT/DTB data
135options 	FDT_DTB_STATIC
136makeoptions	FDT_DTS_FILE=db78460.dts
137