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 2265c3de4eSIan Lepore 2365c3de4eSIan Leporeinclude "std.armv6" 247a898819SOleksandr Tymoshenkoinclude "../mv/armadaxp/std.mv78x60" 257a898819SOleksandr Tymoshenko 267a898819SOleksandr Tymoshenkooptions SOC_MV_ARMADAXP 277a898819SOleksandr Tymoshenko 287a898819SOleksandr Tymoshenkomakeoptions WERROR="-Werror" 297a898819SOleksandr Tymoshenko 300c08f785SAndrew Turneroptions HZ=1000 31fbf1ef48SIan Leporeoptions SCHED_ULE # ULE scheduler 320c08f785SAndrew Turneroptions SMP # Enable multiple cores 337a898819SOleksandr Tymoshenko 340c08f785SAndrew Turner# Debugging for use in -current 350c08f785SAndrew Turnermakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 360c08f785SAndrew Turner#options VERBOSE_SYSINIT # Enable verbose sysinit messages 377a898819SOleksandr Tymoshenkooptions ALT_BREAK_TO_DEBUGGER 380c08f785SAndrew Turneroptions KDB # Enable kernel debugger support 390c08f785SAndrew Turner# For minimum debugger support (stable branch) use: 400c08f785SAndrew Turneroptions KDB_TRACE # Print a stack trace for a panic 410c08f785SAndrew Turner# For full debugger support use this instead: 420c08f785SAndrew Turneroptions DDB # Enable the kernel debugger 437a898819SOleksandr Tymoshenkooptions GDB 447a898819SOleksandr Tymoshenko#options INVARIANTS # Enable calls of extra sanity checking 457a898819SOleksandr Tymoshenko#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 460c08f785SAndrew Turner#options WITNESS # Enable checks to detect deadlocks and cycles 470c08f785SAndrew Turner#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 480c08f785SAndrew Turner#options WITNESS_KDB 490c08f785SAndrew Turner#options DIAGNOSTIC 507a898819SOleksandr Tymoshenko#options KTR 517a898819SOleksandr Tymoshenko#options KTR_VERBOSE=0 527a898819SOleksandr Tymoshenko#options KTR_ENTRIES=16384 537a898819SOleksandr Tymoshenko#options KTR_MASK=(KTR_SPARE2) 547a898819SOleksandr Tymoshenko#options KTR_COMPILE=KTR_ALL 550c08f785SAndrew Turner 560c08f785SAndrew Turner# NFS root from boopt/dhcp 570c08f785SAndrew Turneroptions BOOTP 580c08f785SAndrew Turneroptions BOOTP_NFSROOT 590c08f785SAndrew Turneroptions BOOTP_NFSV3 600c08f785SAndrew Turneroptions BOOTP_WIRED_TO=mge0 610c08f785SAndrew Turner 620c08f785SAndrew Turneroptions ROOTDEVNAME=\"ufs:/dev/da0p1\" 630c08f785SAndrew Turner 640c08f785SAndrew Turneroptions MUTEX_NOINLINE 650c08f785SAndrew Turneroptions RWLOCK_NOINLINE 660c08f785SAndrew Turneroptions NO_FFS_SNAPSHOT 670c08f785SAndrew Turneroptions NO_SWAPPING 687a898819SOleksandr Tymoshenko 697a898819SOleksandr Tymoshenko# Pseudo devices 707a898819SOleksandr Tymoshenkodevice random 717a898819SOleksandr Tymoshenkodevice pty 727a898819SOleksandr Tymoshenkodevice loop 737a898819SOleksandr Tymoshenkodevice md 747a898819SOleksandr Tymoshenko 757a898819SOleksandr Tymoshenko# USB 767a898819SOleksandr Tymoshenkooptions USB_DEBUG # enable debug msgs 777a898819SOleksandr Tymoshenkodevice usb 787a898819SOleksandr Tymoshenkodevice ehci 797a898819SOleksandr Tymoshenkodevice umass 807a898819SOleksandr Tymoshenkodevice scbus 817a898819SOleksandr Tymoshenkodevice pass 827a898819SOleksandr Tymoshenkodevice da 837a898819SOleksandr Tymoshenko 847a898819SOleksandr Tymoshenko# SATA 85be445686SZbigniew Bodekdevice mvs 867a898819SOleksandr Tymoshenko 877a898819SOleksandr Tymoshenko# Serial ports 887a898819SOleksandr Tymoshenkodevice uart 897a898819SOleksandr Tymoshenko 907a898819SOleksandr Tymoshenko# I2C (TWSI) 917a898819SOleksandr Tymoshenkodevice iic 927a898819SOleksandr Tymoshenkodevice iicbus 93*aa8dbafaSAndrew Turnerdevice twsi 947a898819SOleksandr Tymoshenko 957a898819SOleksandr Tymoshenko#Network 967a898819SOleksandr Tymoshenkodevice ether 977a898819SOleksandr Tymoshenkodevice mge # Marvell Gigabit Ethernet controller 987a898819SOleksandr Tymoshenkodevice mii 993c71b84fSZbigniew Bodekdevice mdio 1007a898819SOleksandr Tymoshenkodevice e1000phy 1017a898819SOleksandr Tymoshenkodevice bpf 1027a898819SOleksandr Tymoshenkooptions DEVICE_POLLING 1037a898819SOleksandr Tymoshenkodevice vlan 1047a898819SOleksandr Tymoshenko 1054c641b9aSGrzegorz Bernacki#PCI/PCIE 1064c641b9aSGrzegorz Bernackidevice pci 1074c641b9aSGrzegorz Bernacki 1080c08f785SAndrew Turner# Flattened Device Tree 1090c08f785SAndrew Turneroptions FDT # Configure using FDT/DTB data 1107a898819SOleksandr Tymoshenkooptions FDT_DTB_STATIC 111d65cdf4bSGrzegorz Bernackimakeoptions FDT_DTS_FILE=db78460.dts 112