xref: /freebsd/sys/arm/conf/ARMADAXP (revision 595e514d0df2bac5b813d35f83e32875dbf16a83)
1#
2# Custom kernel for Marvell Armada XP
3#
4# $FreeBSD$
5#
6
7ident		MV-88F78XX0
8include		"../mv/armadaxp/std.mv78x60"
9
10options 	SOC_MV_ARMADAXP
11makeoptions	MODULES_OVERRIDE=""
12
13makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
14makeoptions	WERROR="-Werror"
15
16#options 	SCHED_ULE		#ULE scheduler
17options 	SCHED_4BSD		#4BSD scheduler
18options 	INET			#InterNETworking
19options 	INET6			#IPv6 communications protocols
20options 	FFS			#Berkeley Fast Filesystem
21options 	NFSCL			#Network Filesystem Client
22options 	NFSLOCKD		#Network Lock Manager
23options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
24options 	BOOTP
25options 	BOOTP_NFSROOT
26options 	BOOTP_NFSV3
27options 	BOOTP_WIRED_TO=mge0
28
29options 	GEOM_PART_GPT
30options 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
31
32options 	SYSVSHM			#SYSV-style shared memory
33options 	SYSVMSG			#SYSV-style message queues
34options 	SYSVSEM			#SYSV-style semaphores
35options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
36options 	MUTEX_NOINLINE
37options 	RWLOCK_NOINLINE
38options 	NO_FFS_SNAPSHOT
39options 	NO_SWAPPING
40
41options 	SMP
42
43# Debugging
44#options 	VERBOSE_SYSINIT
45options 	ALT_BREAK_TO_DEBUGGER
46options 	DDB
47options 	GDB
48#options 	DIAGNOSTIC
49#options 	INVARIANTS		#Enable calls of extra sanity checking
50#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
51options 	KDB
52options 	KDB_TRACE
53#options 	KTR
54#options 	KTR_VERBOSE=0
55#options 	KTR_ENTRIES=16384
56#options 	KTR_MASK=(KTR_SPARE2)
57#options 	KTR_COMPILE=KTR_ALL
58#options 	WITNESS			#Enable checks to detect deadlocks and cycles
59#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
60#options 	WITNESS_KDB
61
62# Pseudo devices
63device		random
64device		pty
65device		loop
66device		md
67
68# USB
69options 	USB_DEBUG		# enable debug msgs
70device		usb
71device		ehci
72device		umass
73device		scbus
74device		pass
75device		da
76
77# SATA
78device		ata
79#device		mvs
80
81# Serial ports
82device		uart
83
84# I2C (TWSI)
85device		iic
86device		iicbus
87
88#Network
89device		ether
90device		mge			# Marvell Gigabit Ethernet controller
91device		mii
92device		e1000phy
93device		bpf
94options 	HZ=1000
95options 	DEVICE_POLLING
96device		vlan
97
98#PCI/PCIE
99device		pci
100
101#FDT
102options 	FDT
103options 	FDT_DTB_STATIC
104makeoptions	FDT_DTS_FILE=db78460.dts
105