RPI-B revision 284094
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: stable/10/sys/arm/conf/RPI-B 284094 2015-06-06 18:49:02Z ian $ 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 48266328Sianoptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 49266328Sianoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 50266328Sianoptions KTRACE # ktrace(1) support 51266328Sianoptions SYSVSHM # SYSV-style shared memory 52266328Sianoptions SYSVMSG # SYSV-style message queues 53266328Sianoptions SYSVSEM # SYSV-style semaphores 54278699Sianoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 55239922Sgonzooptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 56278699Sianoptions FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 57278699Sianoptions VFP # Enable floating point hardware support 58239922Sgonzo 59278699Sian# Debugging for use in -current 60278699Sianmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 61278699Sianoptions BREAK_TO_DEBUGGER 62278700Sianoptions ALT_BREAK_TO_DEBUGGER 63278699Sian#options VERBOSE_SYSINIT # Enable verbose sysinit messages 64278699Sianoptions KDB # Enable kernel debugger support 65278699Sian# For minimum debugger support (stable branch) use: 66278699Sian#options KDB_TRACE # Print a stack trace for a panic 67278699Sian# For full debugger support use this instead: 68278699Sianoptions DDB # Enable the kernel debugger 69278699Sianoptions INVARIANTS # Enable calls of extra sanity checking 70278699Sianoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 71278699Sian#options WITNESS # Enable checks to detect deadlocks and cycles 72278699Sian#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 73278699Sian#options DIAGNOSTIC 74239922Sgonzo 75278699Sian# NFS root from boopt/dhcp 76278699Sian#options BOOTP 77278699Sian#options BOOTP_NFSROOT 78278699Sian#options BOOTP_COMPAT 79278699Sian#options BOOTP_NFSV3 80278699Sian#options BOOTP_WIRED_TO=ue0 81278699Sian 82278699Sian#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 83278699Sian 84239922Sgonzodevice bpf 85239922Sgonzodevice loop 86239922Sgonzodevice ether 87239922Sgonzodevice uart 88278699Siandevice pty 89278699Siandevice snp 90239922Sgonzodevice pl011 91239922Sgonzo 92243701Sgonzo# Comment following lines for boot console on serial port 93266022Siandevice vt 94243701Sgonzodevice kbdmux 95243701Sgonzodevice ukbd 96239922Sgonzo 97242321Sgonzodevice sdhci 98242321Sgonzodevice mmc 99242321Sgonzodevice mmcsd 100242321Sgonzo 101243465Sgonzodevice gpio 102243465Sgonzodevice gpioled 103243465Sgonzo 104261078Sloos# I2C 105261078Sloosdevice iic 106261078Sloosdevice iicbus 107261078Sloosdevice bcm2835_bsc 108261078Sloos 109239922Sgonzooptions KDB 110266328Sianoptions DDB # Enable the kernel debugger 111271428Sian#options INVARIANTS # Enable calls of extra sanity checking 112271428Sian#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 113239922Sgonzo 114239922Sgonzodevice md 115266328Siandevice random # Entropy device 116239922Sgonzo 117240483Shselasky# USB support 118240483Shselaskydevice usb 119240483Shselaskyoptions USB_DEBUG 120266328Siandevice dwcotg # DWC OTG controller 121239922Sgonzo 122240483Shselasky# USB storage support 123240483Shselaskydevice scbus 124240483Shselaskydevice da 125240483Shselaskydevice umass 126239922Sgonzo 127240483Shselasky# USB ethernet support 128240483Shselaskydevice smcphy 129240483Shselaskydevice mii 130240483Shselaskydevice smsc 131239922Sgonzo 132259325Sian# SPI 133259325Siandevice spibus 134259325Siandevice bcm2835_spi 135259325Sian 136239922Sgonzo# Flattened Device Tree 137278699Sianoptions FDT # Configure using FDT/DTB data 138247304Skientzle# Note: DTB is normally loaded and modified by RPi boot loader, then 139247304Skientzle# handed to kernel via U-Boot and ubldr. 140278699Sian#options FDT_DTB_STATIC 141284094Sian#makeoptions FDT_DTS_FILE=rpi.dts 142284094Sianmakeoptions MODULES_EXTRA=dtb/rpi 143