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