1# 2# Custom kernel for Marvell Armada XP 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ../../conf/NOTES and NOTES files. 16# If you are in doubt as to the purpose or necessity of a line, check first 17# in NOTES. 18# 19# $FreeBSD$ 20 21ident MV-88F78XX0 22 23include "std.armv6" 24include "../mv/armadaxp/std.mv78x60" 25 26options SOC_MV_ARMADAXP 27 28makeoptions WERROR="-Werror" 29 30options HZ=1000 31#options SCHED_ULE # ULE scheduler 32options SCHED_ULE # ULE scheduler 33options PREEMPTION # Enable kernel thread preemption 34options INET # InterNETworking 35options INET6 # IPv6 communications protocols 36options SCTP # Stream Control Transmission Protocol 37options FFS # Berkeley Fast Filesystem 38options SOFTUPDATES # Enable FFS soft updates support 39options UFS_ACL # Support for access control lists 40options UFS_DIRHASH # Improve performance on big directories 41options UFS_GJOURNAL # Enable gjournal-based UFS journaling 42options QUOTA # Enable disk quotas for UFS 43options NFSCL # Network Filesystem Client 44options NFSLOCKD # Network Lock Manager 45options NFS_ROOT # NFS usable as /, requires NFSCL 46options MSDOSFS # MSDOS Filesystem 47options CD9660 # ISO 9660 Filesystem 48options PROCFS # Process filesystem (requires PSEUDOFS) 49options PSEUDOFS # Pseudo-filesystem framework 50options TMPFS # Efficient memory filesystem 51options GEOM_PART_GPT # GUID Partition Tables 52options GEOM_PART_BSD # BSD partition scheme 53options GEOM_PART_MBR # MBR partition scheme 54options KTRACE # ktrace(1) support 55options SYSVSHM # SYSV-style shared memory 56options SYSVMSG # SYSV-style message queues 57options SYSVSEM # SYSV-style semaphores 58options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 59options KBD_INSTALL_CDEV # install a CDEV entry in /dev 60options VFP # Enable floating point hardware support 61options SMP # Enable multiple cores 62 63# Debugging for use in -current 64makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 65#options VERBOSE_SYSINIT # Enable verbose sysinit messages 66options ALT_BREAK_TO_DEBUGGER 67options KDB # Enable kernel debugger support 68# For minimum debugger support (stable branch) use: 69options KDB_TRACE # Print a stack trace for a panic 70# For full debugger support use this instead: 71options DDB # Enable the kernel debugger 72options GDB 73#options INVARIANTS # Enable calls of extra sanity checking 74#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 75#options WITNESS # Enable checks to detect deadlocks and cycles 76#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 77#options WITNESS_KDB 78#options DIAGNOSTIC 79#options KTR 80#options KTR_VERBOSE=0 81#options KTR_ENTRIES=16384 82#options KTR_MASK=(KTR_SPARE2) 83#options KTR_COMPILE=KTR_ALL 84 85# NFS root from boopt/dhcp 86options BOOTP 87options BOOTP_NFSROOT 88options BOOTP_NFSV3 89options BOOTP_WIRED_TO=mge0 90 91options ROOTDEVNAME=\"ufs:/dev/da0p1\" 92 93options MUTEX_NOINLINE 94options RWLOCK_NOINLINE 95options NO_FFS_SNAPSHOT 96options NO_SWAPPING 97 98# Pseudo devices 99device random 100device pty 101device loop 102device md 103 104# USB 105options USB_DEBUG # enable debug msgs 106device usb 107device ehci 108device umass 109device scbus 110device pass 111device da 112 113# SATA 114device mvs 115 116# Serial ports 117device uart 118 119# I2C (TWSI) 120device iic 121device iicbus 122 123#Network 124device ether 125device mge # Marvell Gigabit Ethernet controller 126device mii 127device e1000phy 128device bpf 129options DEVICE_POLLING 130device vlan 131 132#PCI/PCIE 133device pci 134 135# Flattened Device Tree 136options FDT # Configure using FDT/DTB data 137options FDT_DTB_STATIC 138makeoptions FDT_DTS_FILE=db78460.dts 139