xref: /freebsd/sys/arm/conf/ARMADAXP (revision 0c08f785212f7afc61c2179c079c012012e9fbf4)
17a898819SOleksandr Tymoshenko#
27a898819SOleksandr Tymoshenko# Custom kernel for Marvell Armada XP
37a898819SOleksandr Tymoshenko#
4*0c08f785SAndrew Turner# For more information on this file, please read the config(5) manual page,
5*0c08f785SAndrew Turner# and/or the handbook section on Kernel Configuration Files:
67a898819SOleksandr Tymoshenko#
7*0c08f785SAndrew Turner#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8*0c08f785SAndrew Turner#
9*0c08f785SAndrew Turner# The handbook is also available locally in /usr/share/doc/handbook
10*0c08f785SAndrew Turner# if you've installed the doc distribution, otherwise always see the
11*0c08f785SAndrew Turner# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12*0c08f785SAndrew Turner# latest information.
13*0c08f785SAndrew Turner#
14*0c08f785SAndrew Turner# An exhaustive list of options and more detailed explanations of the
15*0c08f785SAndrew Turner# device lines is also present in the ../../conf/NOTES and NOTES files.
16*0c08f785SAndrew Turner# If you are in doubt as to the purpose or necessity of a line, check first
17*0c08f785SAndrew Turner# in NOTES.
18*0c08f785SAndrew Turner#
19*0c08f785SAndrew Turner# $FreeBSD$
207a898819SOleksandr Tymoshenko
217a898819SOleksandr Tymoshenkoident		MV-88F78XX0
227a898819SOleksandr Tymoshenkoinclude		"../mv/armadaxp/std.mv78x60"
237a898819SOleksandr Tymoshenko
247a898819SOleksandr Tymoshenkooptions 	SOC_MV_ARMADAXP
257a898819SOleksandr Tymoshenkomakeoptions	MODULES_OVERRIDE=""
267a898819SOleksandr Tymoshenko
277a898819SOleksandr Tymoshenkomakeoptions	WERROR="-Werror"
287a898819SOleksandr Tymoshenko
29*0c08f785SAndrew Turneroptions 	HZ=1000
307a898819SOleksandr Tymoshenko#options 	SCHED_ULE		# ULE scheduler
317a898819SOleksandr Tymoshenkooptions 	SCHED_4BSD		# 4BSD scheduler
32*0c08f785SAndrew Turneroptions 	PREEMPTION		# Enable kernel thread preemption
337a898819SOleksandr Tymoshenkooptions 	INET			# InterNETworking
347a898819SOleksandr Tymoshenkooptions 	INET6			# IPv6 communications protocols
35*0c08f785SAndrew Turneroptions 	SCTP			# Stream Control Transmission Protocol
367a898819SOleksandr Tymoshenkooptions 	FFS			# Berkeley Fast Filesystem
37*0c08f785SAndrew Turneroptions 	SOFTUPDATES		# Enable FFS soft updates support
38*0c08f785SAndrew Turneroptions 	UFS_ACL			# Support for access control lists
39*0c08f785SAndrew Turneroptions 	UFS_DIRHASH		# Improve performance on big directories
40*0c08f785SAndrew Turneroptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
41*0c08f785SAndrew Turneroptions 	QUOTA			# Enable disk quotas for UFS
42*0c08f785SAndrew Turneroptions 	NFSCL			# New Network Filesystem Client
437a898819SOleksandr Tymoshenkooptions 	NFSLOCKD		# Network Lock Manager
44*0c08f785SAndrew Turneroptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
45*0c08f785SAndrew Turneroptions 	MSDOSFS			# MSDOS Filesystem
46*0c08f785SAndrew Turneroptions 	CD9660			# ISO 9660 Filesystem
47*0c08f785SAndrew Turneroptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
48*0c08f785SAndrew Turneroptions 	PSEUDOFS		# Pseudo-filesystem framework
496f5f9035SIan Leporeoptions 	TMPFS			# Efficient memory filesystem
50*0c08f785SAndrew Turneroptions 	GEOM_PART_GPT		# GUID Partition Tables
516f5f9035SIan Leporeoptions 	GEOM_PART_BSD		# BSD partition scheme
526f5f9035SIan Leporeoptions 	GEOM_PART_MBR		# MBR partition scheme
53*0c08f785SAndrew Turneroptions 	KTRACE			# ktrace(1) support
547a898819SOleksandr Tymoshenkooptions 	SYSVSHM			# SYSV-style shared memory
557a898819SOleksandr Tymoshenkooptions 	SYSVMSG			# SYSV-style message queues
567a898819SOleksandr Tymoshenkooptions 	SYSVSEM			# SYSV-style semaphores
57*0c08f785SAndrew Turneroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58*0c08f785SAndrew Turneroptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
59*0c08f785SAndrew Turneroptions 	VFP			# Enable floating point hardware support
60*0c08f785SAndrew Turneroptions 	SMP			# Enable multiple cores
617a898819SOleksandr Tymoshenko
62*0c08f785SAndrew Turner# Debugging for use in -current
63*0c08f785SAndrew Turnermakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
64*0c08f785SAndrew Turner#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
657a898819SOleksandr Tymoshenkooptions 	ALT_BREAK_TO_DEBUGGER
66*0c08f785SAndrew Turneroptions 	KDB			# Enable kernel debugger support
67*0c08f785SAndrew Turner# For minimum debugger support (stable branch) use:
68*0c08f785SAndrew Turneroptions 	KDB_TRACE		# Print a stack trace for a panic
69*0c08f785SAndrew Turner# For full debugger support use this instead:
70*0c08f785SAndrew Turneroptions 	DDB			# Enable the kernel debugger
717a898819SOleksandr Tymoshenkooptions 	GDB
727a898819SOleksandr Tymoshenko#options 	INVARIANTS		# Enable calls of extra sanity checking
737a898819SOleksandr Tymoshenko#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
74*0c08f785SAndrew Turner#options 	WITNESS			# Enable checks to detect deadlocks and cycles
75*0c08f785SAndrew Turner#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
76*0c08f785SAndrew Turner#options 	WITNESS_KDB
77*0c08f785SAndrew Turner#options 	DIAGNOSTIC
787a898819SOleksandr Tymoshenko#options 	KTR
797a898819SOleksandr Tymoshenko#options 	KTR_VERBOSE=0
807a898819SOleksandr Tymoshenko#options 	KTR_ENTRIES=16384
817a898819SOleksandr Tymoshenko#options 	KTR_MASK=(KTR_SPARE2)
827a898819SOleksandr Tymoshenko#options 	KTR_COMPILE=KTR_ALL
83*0c08f785SAndrew Turner
84*0c08f785SAndrew Turner# NFS root from boopt/dhcp
85*0c08f785SAndrew Turneroptions 	BOOTP
86*0c08f785SAndrew Turneroptions 	BOOTP_NFSROOT
87*0c08f785SAndrew Turneroptions 	BOOTP_NFSV3
88*0c08f785SAndrew Turneroptions 	BOOTP_WIRED_TO=mge0
89*0c08f785SAndrew Turner
90*0c08f785SAndrew Turneroptions 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
91*0c08f785SAndrew Turner
92*0c08f785SAndrew Turneroptions 	MUTEX_NOINLINE
93*0c08f785SAndrew Turneroptions 	RWLOCK_NOINLINE
94*0c08f785SAndrew Turneroptions 	NO_FFS_SNAPSHOT
95*0c08f785SAndrew Turneroptions 	NO_SWAPPING
967a898819SOleksandr Tymoshenko
977a898819SOleksandr Tymoshenko# Pseudo devices
987a898819SOleksandr Tymoshenkodevice		random
997a898819SOleksandr Tymoshenkodevice		pty
1007a898819SOleksandr Tymoshenkodevice		loop
1017a898819SOleksandr Tymoshenkodevice		md
1027a898819SOleksandr Tymoshenko
1037a898819SOleksandr Tymoshenko# USB
1047a898819SOleksandr Tymoshenkooptions 	USB_DEBUG		# enable debug msgs
1057a898819SOleksandr Tymoshenkodevice		usb
1067a898819SOleksandr Tymoshenkodevice		ehci
1077a898819SOleksandr Tymoshenkodevice		umass
1087a898819SOleksandr Tymoshenkodevice		scbus
1097a898819SOleksandr Tymoshenkodevice		pass
1107a898819SOleksandr Tymoshenkodevice		da
1117a898819SOleksandr Tymoshenko
1127a898819SOleksandr Tymoshenko# SATA
113be445686SZbigniew Bodekdevice		mvs
1147a898819SOleksandr Tymoshenko
1157a898819SOleksandr Tymoshenko# Serial ports
1167a898819SOleksandr Tymoshenkodevice		uart
1177a898819SOleksandr Tymoshenko
1187a898819SOleksandr Tymoshenko# I2C (TWSI)
1197a898819SOleksandr Tymoshenkodevice		iic
1207a898819SOleksandr Tymoshenkodevice		iicbus
1217a898819SOleksandr Tymoshenko
1227a898819SOleksandr Tymoshenko#Network
1237a898819SOleksandr Tymoshenkodevice		ether
1247a898819SOleksandr Tymoshenkodevice		mge			# Marvell Gigabit Ethernet controller
1257a898819SOleksandr Tymoshenkodevice		mii
1267a898819SOleksandr Tymoshenkodevice		e1000phy
1277a898819SOleksandr Tymoshenkodevice		bpf
1287a898819SOleksandr Tymoshenkooptions 	DEVICE_POLLING
1297a898819SOleksandr Tymoshenkodevice		vlan
1307a898819SOleksandr Tymoshenko
1314c641b9aSGrzegorz Bernacki#PCI/PCIE
1324c641b9aSGrzegorz Bernackidevice		pci
1334c641b9aSGrzegorz Bernacki
134*0c08f785SAndrew Turner# Flattened Device Tree
135*0c08f785SAndrew Turneroptions 	FDT			# Configure using FDT/DTB data
1367a898819SOleksandr Tymoshenkooptions 	FDT_DTB_STATIC
137d65cdf4bSGrzegorz Bernackimakeoptions	FDT_DTS_FILE=db78460.dts
138