SOCKIT-BERI revision 276003
1276003Sandrew# 2273278Sbr# Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC). 3273278Sbr# 4273278Sbr# For more information on this file, please read the config(5) manual page, 5273278Sbr# and/or the handbook section on Kernel Configuration Files: 6273278Sbr# 7273278Sbr# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8273278Sbr# 9273278Sbr# The handbook is also available locally in /usr/share/doc/handbook 10273278Sbr# if you've installed the doc distribution, otherwise always see the 11273278Sbr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12273278Sbr# latest information. 13273278Sbr# 14273278Sbr# An exhaustive list of options and more detailed explanations of the 15273278Sbr# device lines is also present in the ../../conf/NOTES and NOTES files. 16273278Sbr# If you are in doubt as to the purpose or necessity of a line, check first 17273278Sbr# in NOTES. 18273278Sbr# 19273278Sbr# $FreeBSD: head/sys/arm/conf/SOCKIT-BERI 276003 2014-12-21 11:37:00Z andrew $ 20273278Sbr 21273278Sbrident SOCKIT-BERI 22273278Sbrinclude "../altera/socfpga/std.socfpga" 23273278Sbr 24273278Sbrmakeoptions MODULES_OVERRIDE="" 25273278Sbr 26273278Sbrmakeoptions WERROR="-Werror" 27273278Sbr 28273278Sbroptions HZ=100 29273278Sbroptions SCHED_4BSD # 4BSD scheduler 30276003Sandrewoptions PREEMPTION # Enable kernel thread preemption 31273278Sbroptions INET # InterNETworking 32273278Sbroptions INET6 # IPv6 communications protocols 33276003Sandrewoptions SCTP # Stream Control Transmission Protocol 34273278Sbroptions FFS # Berkeley Fast Filesystem 35276003Sandrewoptions SOFTUPDATES # Enable FFS soft updates support 36273278Sbroptions UFS_ACL # Support for access control lists 37273278Sbroptions UFS_DIRHASH # Improve performance on big directories 38276003Sandrewoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 39276003Sandrewoptions QUOTA # Enable disk quotas for UFS 40276003Sandrewoptions NFSCL # New Network Filesystem Client 41276003Sandrewoptions NFSLOCKD # Network Lock Manager 42276003Sandrewoptions NFS_ROOT # NFS usable as /, requires NFSCL 43273278Sbroptions MSDOSFS # MSDOS Filesystem 44273278Sbroptions CD9660 # ISO 9660 Filesystem 45273278Sbroptions PROCFS # Process filesystem (requires PSEUDOFS) 46273278Sbroptions PSEUDOFS # Pseudo-filesystem framework 47276003Sandrewoptions TMPFS # Efficient memory filesystem 48276003Sandrewoptions GEOM_PART_GPT # GUID Partition Tables 49276003Sandrewoptions GEOM_PART_BSD # BSD partition scheme 50276003Sandrewoptions GEOM_PART_MBR # MBR partition scheme 51273278Sbroptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 52273278Sbroptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 53276003Sandrewoptions KTRACE # ktrace(1) support 54273278Sbroptions SYSVSHM # SYSV-style shared memory 55273278Sbroptions SYSVMSG # SYSV-style message queues 56273278Sbroptions SYSVSEM # SYSV-style semaphores 57276003Sandrewoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 58276003Sandrewoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 59276003Sandrewoptions FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 60276003Sandrewoptions VFP # Enable floating point hardware support 61276003Sandrewoptions SMP # Enable multiple cores 62273278Sbr 63276003Sandrew# Debugging for use in -current 64273278Sbrmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 65273278Sbroptions BREAK_TO_DEBUGGER 66273278Sbr#options VERBOSE_SYSINIT # Enable verbose sysinit messages 67276003Sandrewoptions KDB # Enable kernel debugger support 68276003Sandrew# For minimum debugger support (stable branch) use: 69276003Sandrew#options KDB_TRACE # Print a stack trace for a panic 70276003Sandrew# For full debugger support use this instead: 71273278Sbroptions DDB # Enable the kernel debugger 72273278Sbroptions INVARIANTS # Enable calls of extra sanity checking 73273278Sbroptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 74273278Sbr#options WITNESS # Enable checks to detect deadlocks and cycles 75273278Sbr#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 76273278Sbr#options DIAGNOSTIC 77273278Sbr 78276003Sandrew# NFS root from boopt/dhcp 79276003Sandrew#options BOOTP 80273278Sbr#options BOOTP_NFSROOT 81273278Sbr#options BOOTP_COMPAT 82273278Sbr#options BOOTP_NFSV3 83273278Sbr#options BOOTP_WIRED_TO=ue0 84273278Sbr 85276003Sandrewoptions ROOTDEVNAME=\"ufs:/dev/mmcsd0s4\" 86276003Sandrew 87276003Sandrew# MMC/SD/SDIO Card slot support 88273278Sbrdevice mmc # mmc/sd bus 89273278Sbrdevice mmcsd # mmc/sd flash cards 90273278Sbrdevice dwmmc 91273278Sbr 92273278Sbr# Pseudo devices 93273278Sbr 94273278Sbrdevice loop 95273278Sbrdevice random 96273278Sbrdevice pty 97273278Sbrdevice md 98273278Sbrdevice gpio 99273278Sbr 100273278Sbr# USB support 101273278Sbroptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 102273278Sbrdevice usb 103273278Sbroptions USB_DEBUG 104273278Sbr#options USB_REQ_DEBUG 105273278Sbr#options USB_VERBOSE 106273278Sbr#device musb 107273278Sbrdevice dwcotg 108273278Sbr 109273278Sbrdevice umass 110273278Sbrdevice scbus # SCSI bus (required for ATA/SCSI) 111273278Sbrdevice da # Direct Access (disks) 112273278Sbrdevice pass 113273278Sbr 114273278Sbr# Serial ports 115273278Sbrdevice uart 116273278Sbrdevice uart_ns8250 117273278Sbr 118273278Sbr# I2C (TWSI) 119273278Sbrdevice iic 120273278Sbrdevice iicbus 121273278Sbr 122273278Sbr# SPI 123273278Sbrdevice spibus 124273278Sbr 125273278Sbr# BERI specific 126273278Sbrdevice beri_ring 127273469Sbrdevice beri_mem 128275050Sbrdevice beri_vtblk 129275647Sbrdevice vtbe 130275050Sbrdevice altera_pio 131273278Sbr 132273278Sbr# Ethernet 133273278Sbrdevice ether 134273278Sbrdevice mii 135273278Sbrdevice smsc 136273278Sbrdevice smscphy 137273278Sbrdevice dwc 138273380Sbrdevice micphy 139273278Sbr 140273278Sbr# USB ethernet support, requires miibus 141273278Sbrdevice miibus 142273278Sbrdevice axe # ASIX Electronics USB Ethernet 143273278Sbrdevice bpf # Berkeley packet filter 144273278Sbr 145276003Sandrew# Flattened Device Tree 146276003Sandrewoptions FDT # Configure using FDT/DTB data 147273278Sbroptions FDT_DTB_STATIC 148273278Sbrmakeoptions FDT_DTS_FILE=socfpga-sockit-beri.dts 149