xref: /freebsd/sys/arm/conf/ARMADAXP (revision 6ae1554a5d9b318f8ad53ccc39fa5a961403da73)
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
22
23include 	"std.armv6"
24include 	"../mv/armadaxp/std.mv78x60"
25
26options 	SOC_MV_ARMADAXP
27
28makeoptions	WERROR="-Werror"
29
30options 	HZ=1000
31options 	SCHED_ULE		# ULE scheduler
32options 	SMP			# Enable multiple cores
33
34# Debugging for use in -current
35makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
36#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
37options 	ALT_BREAK_TO_DEBUGGER
38options 	KDB			# Enable kernel debugger support
39# For minimum debugger support (stable branch) use:
40options 	KDB_TRACE		# Print a stack trace for a panic
41# For full debugger support use this instead:
42options 	DDB			# Enable the kernel debugger
43options 	GDB
44#options 	INVARIANTS		# Enable calls of extra sanity checking
45#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
46#options 	WITNESS			# Enable checks to detect deadlocks and cycles
47#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
48#options 	WITNESS_KDB
49#options 	DIAGNOSTIC
50#options 	KTR
51#options 	KTR_VERBOSE=0
52#options 	KTR_ENTRIES=16384
53#options 	KTR_MASK=(KTR_SPARE2)
54#options 	KTR_COMPILE=KTR_ALL
55
56# NFS root from boopt/dhcp
57options 	BOOTP
58options 	BOOTP_NFSROOT
59options 	BOOTP_NFSV3
60options 	BOOTP_WIRED_TO=mge0
61
62options 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
63
64options 	MUTEX_NOINLINE
65options 	RWLOCK_NOINLINE
66options 	NO_FFS_SNAPSHOT
67options 	NO_SWAPPING
68
69# Pseudo devices
70device		random
71device		pty
72device		loop
73device		md
74
75# USB
76options 	USB_DEBUG		# enable debug msgs
77device		usb
78device		ehci
79device		umass
80device		scbus
81device		pass
82device		da
83
84# SATA
85device		mvs
86
87# Serial ports
88device		uart
89
90# I2C (TWSI)
91device		iic
92device		iicbus
93
94#Network
95device		ether
96device		mge			# Marvell Gigabit Ethernet controller
97device		mii
98device		e1000phy
99device		bpf
100options 	DEVICE_POLLING
101device		vlan
102
103#PCI/PCIE
104device		pci
105
106# Flattened Device Tree
107options 	FDT			# Configure using FDT/DTB data
108options 	FDT_DTB_STATIC
109makeoptions	FDT_DTS_FILE=db78460.dts
110