1239279Sgonzo# 2239279Sgonzo# Custom kernel for Marvell Armada XP 3239279Sgonzo# 4278699Sian# For more information on this file, please read the config(5) manual page, 5278699Sian# and/or the handbook section on Kernel Configuration Files: 6278699Sian# 7278699Sian# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8278699Sian# 9278699Sian# The handbook is also available locally in /usr/share/doc/handbook 10278699Sian# if you've installed the doc distribution, otherwise always see the 11278699Sian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12278699Sian# latest information. 13278699Sian# 14278699Sian# An exhaustive list of options and more detailed explanations of the 15278699Sian# device lines is also present in the ../../conf/NOTES and NOTES files. 16278699Sian# If you are in doubt as to the purpose or necessity of a line, check first 17278699Sian# in NOTES. 18278699Sian# 19239279Sgonzo# $FreeBSD: releng/10.3/sys/arm/conf/ARMADAXP 283387 2015-05-24 14:57:17Z ian $ 20239279Sgonzo 21239279Sgonzoident MV-88F78XX0 22239279Sgonzoinclude "../mv/armadaxp/std.mv78x60" 23239279Sgonzo 24239279Sgonzooptions SOC_MV_ARMADAXP 25239279Sgonzo 26239279Sgonzomakeoptions WERROR="-Werror" 27239279Sgonzo 28278699Sianoptions HZ=1000 29266328Sian#options SCHED_ULE # ULE scheduler 30278677Sianoptions SCHED_ULE # ULE scheduler 31278699Sianoptions PREEMPTION # Enable kernel thread preemption 32266328Sianoptions INET # InterNETworking 33266328Sianoptions INET6 # IPv6 communications protocols 34278699Sianoptions SCTP # Stream Control Transmission Protocol 35266328Sianoptions FFS # Berkeley Fast Filesystem 36278699Sianoptions SOFTUPDATES # Enable FFS soft updates support 37278699Sianoptions UFS_ACL # Support for access control lists 38278699Sianoptions UFS_DIRHASH # Improve performance on big directories 39278699Sianoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 40278699Sianoptions QUOTA # Enable disk quotas for UFS 41278699Sianoptions NFSCL # New Network Filesystem Client 42266328Sianoptions NFSLOCKD # Network Lock Manager 43278699Sianoptions NFS_ROOT # NFS usable as /, requires NFSCL 44278699Sianoptions MSDOSFS # MSDOS Filesystem 45278699Sianoptions CD9660 # ISO 9660 Filesystem 46278699Sianoptions PROCFS # Process filesystem (requires PSEUDOFS) 47278699Sianoptions PSEUDOFS # Pseudo-filesystem framework 48266331Sianoptions TMPFS # Efficient memory filesystem 49278699Sianoptions GEOM_PART_GPT # GUID Partition Tables 50266328Sianoptions GEOM_PART_BSD # BSD partition scheme 51266328Sianoptions GEOM_PART_MBR # MBR partition scheme 52278699Sianoptions KTRACE # ktrace(1) support 53266328Sianoptions SYSVSHM # SYSV-style shared memory 54266328Sianoptions SYSVMSG # SYSV-style message queues 55266328Sianoptions SYSVSEM # SYSV-style semaphores 56278699Sianoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 57278699Sianoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 58278699Sianoptions VFP # Enable floating point hardware support 59278699Sianoptions SMP # Enable multiple cores 60239279Sgonzo 61278699Sian# Debugging for use in -current 62278699Sianmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 63278699Sian#options VERBOSE_SYSINIT # Enable verbose sysinit messages 64239279Sgonzooptions ALT_BREAK_TO_DEBUGGER 65278699Sianoptions KDB # Enable kernel debugger support 66278699Sian# For minimum debugger support (stable branch) use: 67278699Sianoptions KDB_TRACE # Print a stack trace for a panic 68278699Sian# For full debugger support use this instead: 69278699Sianoptions DDB # Enable the kernel debugger 70239279Sgonzooptions GDB 71266328Sian#options INVARIANTS # Enable calls of extra sanity checking 72266328Sian#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 73278699Sian#options WITNESS # Enable checks to detect deadlocks and cycles 74278699Sian#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 75278699Sian#options WITNESS_KDB 76278699Sian#options DIAGNOSTIC 77239279Sgonzo#options KTR 78239279Sgonzo#options KTR_VERBOSE=0 79239279Sgonzo#options KTR_ENTRIES=16384 80239279Sgonzo#options KTR_MASK=(KTR_SPARE2) 81239279Sgonzo#options KTR_COMPILE=KTR_ALL 82239279Sgonzo 83278699Sian# NFS root from boopt/dhcp 84278699Sianoptions BOOTP 85278699Sianoptions BOOTP_NFSROOT 86278699Sianoptions BOOTP_NFSV3 87278699Sianoptions BOOTP_WIRED_TO=mge0 88278699Sian 89278699Sianoptions ROOTDEVNAME=\"ufs:/dev/da0p1\" 90278699Sian 91278699Sianoptions MUTEX_NOINLINE 92278699Sianoptions RWLOCK_NOINLINE 93278699Sianoptions NO_FFS_SNAPSHOT 94278699Sianoptions NO_SWAPPING 95278699Sian 96239279Sgonzo# Pseudo devices 97239279Sgonzodevice random 98239279Sgonzodevice pty 99239279Sgonzodevice loop 100239279Sgonzodevice md 101239279Sgonzo 102239279Sgonzo# USB 103239279Sgonzooptions USB_DEBUG # enable debug msgs 104239279Sgonzodevice usb 105239279Sgonzodevice ehci 106239279Sgonzodevice umass 107239279Sgonzodevice scbus 108239279Sgonzodevice pass 109239279Sgonzodevice da 110239279Sgonzo 111239279Sgonzo# SATA 112266046Siandevice mvs 113239279Sgonzo 114239279Sgonzo# Serial ports 115239279Sgonzodevice uart 116239279Sgonzo 117239279Sgonzo# I2C (TWSI) 118239279Sgonzodevice iic 119239279Sgonzodevice iicbus 120239279Sgonzo 121239279Sgonzo#Network 122239279Sgonzodevice ether 123239279Sgonzodevice mge # Marvell Gigabit Ethernet controller 124239279Sgonzodevice mii 125239279Sgonzodevice e1000phy 126239279Sgonzodevice bpf 127240572Sjmgoptions DEVICE_POLLING 128239279Sgonzodevice vlan 129239279Sgonzo 130240490Sgber#PCI/PCIE 131240490Sgberdevice pci 132240490Sgber 133278699Sian# Flattened Device Tree 134278699Sianoptions FDT # Configure using FDT/DTB data 135239279Sgonzooptions FDT_DTB_STATIC 136240488Sgbermakeoptions FDT_DTS_FILE=db78460.dts 137