1278699Sian# 2239922Sgonzo# RPI-B -- Custom configuration for the Raspberry Pi 3239922Sgonzo# 4278699Sian# For more information on this file, please read the config(5) manual page, 5278699Sian# and/or the handbook section on Kernel Configuration Files: 6239922Sgonzo# 7239922Sgonzo# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8239922Sgonzo# 9239922Sgonzo# The handbook is also available locally in /usr/share/doc/handbook 10239922Sgonzo# if you've installed the doc distribution, otherwise always see the 11239922Sgonzo# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12239922Sgonzo# latest information. 13239922Sgonzo# 14239922Sgonzo# 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 17239922Sgonzo# in NOTES. 18239922Sgonzo# 19239922Sgonzo# $FreeBSD: releng/10.2/sys/arm/conf/RPI-B 285132 2015-07-04 14:50:32Z gjb $ 20239922Sgonzo 21239922Sgonzoident RPI-B 22239922Sgonzo 23253355Srpauloinclude "../broadcom/bcm2835/std.rpi" 24239922Sgonzo 25239922Sgonzooptions HZ=100 26266328Sianoptions SCHED_4BSD # 4BSD scheduler 27278699Sianoptions PREEMPTION # Enable kernel thread preemption 28266328Sianoptions INET # InterNETworking 29266328Sianoptions INET6 # IPv6 communications protocols 30266331Sianoptions SCTP # Stream Control Transmission Protocol 31266328Sianoptions FFS # Berkeley Fast Filesystem 32266328Sianoptions SOFTUPDATES # Enable FFS soft updates support 33266328Sianoptions UFS_ACL # Support for access control lists 34266328Sianoptions UFS_DIRHASH # Improve performance on big directories 35278699Sianoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 36278699Sianoptions QUOTA # Enable disk quotas for UFS 37278699Sianoptions NFSCL # New Network Filesystem Client 38278699Sianoptions NFSLOCKD # Network Lock Manager 39278699Sianoptions NFS_ROOT # NFS usable as /, requires NFSCL 40278699Sianoptions MSDOSFS # MSDOS Filesystem 41278699Sianoptions CD9660 # ISO 9660 Filesystem 42278699Sianoptions PROCFS # Process filesystem (requires PSEUDOFS) 43278699Sianoptions PSEUDOFS # Pseudo-filesystem framework 44278699Sianoptions TMPFS # Efficient memory filesystem 45278699Sianoptions GEOM_PART_GPT # GUID Partition Tables 46266328Sianoptions GEOM_PART_BSD # BSD partition scheme 47266328Sianoptions GEOM_PART_MBR # MBR partition scheme 48285132Sgjboptions GEOM_LABEL # Provides labelization 49266328Sianoptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 50266328Sianoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 51266328Sianoptions KTRACE # ktrace(1) support 52266328Sianoptions SYSVSHM # SYSV-style shared memory 53266328Sianoptions SYSVMSG # SYSV-style message queues 54266328Sianoptions SYSVSEM # SYSV-style semaphores 55278699Sianoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 56239922Sgonzooptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 57278699Sianoptions FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 58278699Sianoptions VFP # Enable floating point hardware support 59239922Sgonzo 60278699Sian# Debugging for use in -current 61278699Sianmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 62278699Sianoptions BREAK_TO_DEBUGGER 63278700Sianoptions ALT_BREAK_TO_DEBUGGER 64278699Sian#options VERBOSE_SYSINIT # Enable verbose sysinit messages 65278699Sianoptions KDB # Enable kernel debugger support 66278699Sian# For minimum debugger support (stable branch) use: 67278699Sian#options KDB_TRACE # Print a stack trace for a panic 68278699Sian# For full debugger support use this instead: 69278699Sianoptions DDB # Enable the kernel debugger 70278699Sianoptions INVARIANTS # Enable calls of extra sanity checking 71278699Sianoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 72278699Sian#options WITNESS # Enable checks to detect deadlocks and cycles 73278699Sian#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 74278699Sian#options DIAGNOSTIC 75239922Sgonzo 76278699Sian# NFS root from boopt/dhcp 77278699Sian#options BOOTP 78278699Sian#options BOOTP_NFSROOT 79278699Sian#options BOOTP_COMPAT 80278699Sian#options BOOTP_NFSV3 81278699Sian#options BOOTP_WIRED_TO=ue0 82278699Sian 83278699Sian#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 84278699Sian 85239922Sgonzodevice bpf 86239922Sgonzodevice loop 87239922Sgonzodevice ether 88239922Sgonzodevice uart 89278699Siandevice pty 90278699Siandevice snp 91239922Sgonzodevice pl011 92239922Sgonzo 93243701Sgonzo# Comment following lines for boot console on serial port 94266022Siandevice vt 95243701Sgonzodevice kbdmux 96243701Sgonzodevice ukbd 97239922Sgonzo 98242321Sgonzodevice sdhci 99242321Sgonzodevice mmc 100242321Sgonzodevice mmcsd 101242321Sgonzo 102243465Sgonzodevice gpio 103243465Sgonzodevice gpioled 104243465Sgonzo 105261078Sloos# I2C 106261078Sloosdevice iic 107261078Sloosdevice iicbus 108261078Sloosdevice bcm2835_bsc 109261078Sloos 110239922Sgonzooptions KDB 111266328Sianoptions DDB # Enable the kernel debugger 112271428Sian#options INVARIANTS # Enable calls of extra sanity checking 113271428Sian#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 114239922Sgonzo 115239922Sgonzodevice md 116266328Siandevice random # Entropy device 117239922Sgonzo 118240483Shselasky# USB support 119240483Shselaskydevice usb 120240483Shselaskyoptions USB_DEBUG 121266328Siandevice dwcotg # DWC OTG controller 122239922Sgonzo 123240483Shselasky# USB storage support 124240483Shselaskydevice scbus 125240483Shselaskydevice da 126240483Shselaskydevice umass 127239922Sgonzo 128240483Shselasky# USB ethernet support 129240483Shselaskydevice smcphy 130240483Shselaskydevice mii 131240483Shselaskydevice smsc 132239922Sgonzo 133259325Sian# SPI 134259325Siandevice spibus 135259325Siandevice bcm2835_spi 136259325Sian 137239922Sgonzo# Flattened Device Tree 138278699Sianoptions FDT # Configure using FDT/DTB data 139247304Skientzle# Note: DTB is normally loaded and modified by RPi boot loader, then 140247304Skientzle# handed to kernel via U-Boot and ubldr. 141278699Sian#options FDT_DTB_STATIC 142284094Sian#makeoptions FDT_DTS_FILE=rpi.dts 143284094Sianmakeoptions MODULES_EXTRA=dtb/rpi 144