xref: /freebsd/sys/arm/conf/ARMADAXP (revision 3e32dff52c088c13972d4cb60ab757dfca5e60c0)
17a898819SOleksandr Tymoshenko#
27a898819SOleksandr Tymoshenko# Custom kernel for Marvell Armada XP
37a898819SOleksandr Tymoshenko#
40c08f785SAndrew Turner# For more information on this file, please read the config(5) manual page,
50c08f785SAndrew Turner# and/or the handbook section on Kernel Configuration Files:
67a898819SOleksandr Tymoshenko#
70c08f785SAndrew Turner#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
80c08f785SAndrew Turner#
90c08f785SAndrew Turner# The handbook is also available locally in /usr/share/doc/handbook
100c08f785SAndrew Turner# if you've installed the doc distribution, otherwise always see the
110c08f785SAndrew Turner# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
120c08f785SAndrew Turner# latest information.
130c08f785SAndrew Turner#
140c08f785SAndrew Turner# An exhaustive list of options and more detailed explanations of the
150c08f785SAndrew Turner# device lines is also present in the ../../conf/NOTES and NOTES files.
160c08f785SAndrew Turner# If you are in doubt as to the purpose or necessity of a line, check first
170c08f785SAndrew Turner# in NOTES.
180c08f785SAndrew Turner#
190c08f785SAndrew 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
290c08f785SAndrew Turneroptions 	HZ=1000
307a898819SOleksandr Tymoshenko#options 	SCHED_ULE		# ULE scheduler
31fbf1ef48SIan Leporeoptions 	SCHED_ULE		# ULE scheduler
320c08f785SAndrew Turneroptions 	PREEMPTION		# Enable kernel thread preemption
337a898819SOleksandr Tymoshenkooptions 	INET			# InterNETworking
347a898819SOleksandr Tymoshenkooptions 	INET6			# IPv6 communications protocols
350c08f785SAndrew Turneroptions 	SCTP			# Stream Control Transmission Protocol
367a898819SOleksandr Tymoshenkooptions 	FFS			# Berkeley Fast Filesystem
370c08f785SAndrew Turneroptions 	SOFTUPDATES		# Enable FFS soft updates support
380c08f785SAndrew Turneroptions 	UFS_ACL			# Support for access control lists
390c08f785SAndrew Turneroptions 	UFS_DIRHASH		# Improve performance on big directories
400c08f785SAndrew Turneroptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
410c08f785SAndrew Turneroptions 	QUOTA			# Enable disk quotas for UFS
42*3e32dff5SJohn Baldwinoptions 	NFSCL			# Network Filesystem Client
437a898819SOleksandr Tymoshenkooptions 	NFSLOCKD		# Network Lock Manager
440c08f785SAndrew Turneroptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
450c08f785SAndrew Turneroptions 	MSDOSFS			# MSDOS Filesystem
460c08f785SAndrew Turneroptions 	CD9660			# ISO 9660 Filesystem
470c08f785SAndrew Turneroptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
480c08f785SAndrew Turneroptions 	PSEUDOFS		# Pseudo-filesystem framework
496f5f9035SIan Leporeoptions 	TMPFS			# Efficient memory filesystem
500c08f785SAndrew Turneroptions 	GEOM_PART_GPT		# GUID Partition Tables
516f5f9035SIan Leporeoptions 	GEOM_PART_BSD		# BSD partition scheme
526f5f9035SIan Leporeoptions 	GEOM_PART_MBR		# MBR partition scheme
530c08f785SAndrew 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
570c08f785SAndrew Turneroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
580c08f785SAndrew Turneroptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
590c08f785SAndrew Turneroptions 	VFP			# Enable floating point hardware support
600c08f785SAndrew Turneroptions 	SMP			# Enable multiple cores
617a898819SOleksandr Tymoshenko
620c08f785SAndrew Turner# Debugging for use in -current
630c08f785SAndrew Turnermakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
640c08f785SAndrew Turner#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
657a898819SOleksandr Tymoshenkooptions 	ALT_BREAK_TO_DEBUGGER
660c08f785SAndrew Turneroptions 	KDB			# Enable kernel debugger support
670c08f785SAndrew Turner# For minimum debugger support (stable branch) use:
680c08f785SAndrew Turneroptions 	KDB_TRACE		# Print a stack trace for a panic
690c08f785SAndrew Turner# For full debugger support use this instead:
700c08f785SAndrew 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
740c08f785SAndrew Turner#options 	WITNESS			# Enable checks to detect deadlocks and cycles
750c08f785SAndrew Turner#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
760c08f785SAndrew Turner#options 	WITNESS_KDB
770c08f785SAndrew 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
830c08f785SAndrew Turner
840c08f785SAndrew Turner# NFS root from boopt/dhcp
850c08f785SAndrew Turneroptions 	BOOTP
860c08f785SAndrew Turneroptions 	BOOTP_NFSROOT
870c08f785SAndrew Turneroptions 	BOOTP_NFSV3
880c08f785SAndrew Turneroptions 	BOOTP_WIRED_TO=mge0
890c08f785SAndrew Turner
900c08f785SAndrew Turneroptions 	ROOTDEVNAME=\"ufs:/dev/da0p1\"
910c08f785SAndrew Turner
920c08f785SAndrew Turneroptions 	MUTEX_NOINLINE
930c08f785SAndrew Turneroptions 	RWLOCK_NOINLINE
940c08f785SAndrew Turneroptions 	NO_FFS_SNAPSHOT
950c08f785SAndrew 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
1340c08f785SAndrew Turner# Flattened Device Tree
1350c08f785SAndrew Turneroptions 	FDT			# Configure using FDT/DTB data
1367a898819SOleksandr Tymoshenkooptions 	FDT_DTB_STATIC
137d65cdf4bSGrzegorz Bernackimakeoptions	FDT_DTS_FILE=db78460.dts
138