RPI-B revision 296373
1239922Sgonzo# 2239922Sgonzo# RPI-B -- Custom configuration for the Raspberry Pi 3239922Sgonzo# 4239922Sgonzo# For more information on this file, please read the config(5) manual page, 5239922Sgonzo# 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 15239922Sgonzo# device lines is also present in the ../../conf/NOTES and NOTES files. 16239922Sgonzo# If you are in doubt as to the purpose or necessity of a line, check first 17239922Sgonzo# in NOTES. 18239922Sgonzo# 19239922Sgonzo# $FreeBSD: releng/10.3/sys/arm/conf/RPI-B 287082 2015-08-23 20:50:22Z ian $ 20239922Sgonzo 21239922Sgonzoident RPI-B 22253355Srpaulo 23239922Sgonzoinclude "../broadcom/bcm2835/std.rpi" 24239922Sgonzo 25239922Sgonzooptions HZ=100 26239922Sgonzooptions SCHED_4BSD # 4BSD scheduler 27239922Sgonzooptions PREEMPTION # Enable kernel thread preemption 28239922Sgonzooptions INET # InterNETworking 29252432Srpaulooptions INET6 # IPv6 communications protocols 30252473Stuexenoptions SCTP # Stream Control Transmission Protocol 31239922Sgonzooptions FFS # Berkeley Fast Filesystem 32239922Sgonzooptions SOFTUPDATES # Enable FFS soft updates support 33239922Sgonzooptions UFS_ACL # Support for access control lists 34239922Sgonzooptions UFS_DIRHASH # Improve performance on big directories 35247304Skientzleoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 36239922Sgonzooptions QUOTA # Enable disk quotas for UFS 37239922Sgonzooptions NFSCL # New Network Filesystem Client 38243701Sgonzooptions NFSLOCKD # Network Lock Manager 39243701Sgonzooptions NFS_ROOT # NFS usable as /, requires NFSCL 40240572Sjmgoptions MSDOSFS # MSDOS Filesystem 41240572Sjmgoptions CD9660 # ISO 9660 Filesystem 42240572Sjmgoptions PROCFS # Process filesystem (requires PSEUDOFS) 43240572Sjmgoptions PSEUDOFS # Pseudo-filesystem framework 44240572Sjmgoptions TMPFS # Efficient memory filesystem 45240572Sjmgoptions GEOM_PART_GPT # GUID Partition Tables 46239922Sgonzooptions GEOM_PART_BSD # BSD partition scheme 47239922Sgonzooptions GEOM_PART_MBR # MBR partition scheme 48239922Sgonzooptions GEOM_LABEL # Provides labelization 49239922Sgonzooptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 50239922Sgonzooptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 51239922Sgonzooptions KTRACE # ktrace(1) support 52239922Sgonzooptions SYSVSHM # SYSV-style shared memory 53239922Sgonzooptions SYSVMSG # SYSV-style message queues 54239922Sgonzooptions SYSVSEM # SYSV-style semaphores 55239922Sgonzooptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 56242321Sgonzooptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 57239922Sgonzooptions FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 58239922Sgonzooptions VFP # Enable floating point hardware support 59239922Sgonzo 60239922Sgonzo# Debugging for use in -current 61239922Sgonzomakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 62239922Sgonzooptions ALT_BREAK_TO_DEBUGGER 63239922Sgonzo#options VERBOSE_SYSINIT # Enable verbose sysinit messages 64239922Sgonzooptions KDB # Enable kernel debugger support 65239922Sgonzo# For minimum debugger support (stable branch) use: 66239922Sgonzo#options KDB_TRACE # Print a stack trace for a panic 67239922Sgonzo# For full debugger support use this instead: 68243701Sgonzooptions DDB # Enable the kernel debugger 69243701Sgonzooptions INVARIANTS # Enable calls of extra sanity checking 70243701Sgonzooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 71243701Sgonzo#options WITNESS # Enable checks to detect deadlocks and cycles 72243701Sgonzo#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 73243701Sgonzo#options DIAGNOSTIC 74239922Sgonzo 75242321Sgonzo# NFS root from boopt/dhcp 76242321Sgonzo#options BOOTP 77242321Sgonzo#options BOOTP_NFSROOT 78242321Sgonzo#options BOOTP_COMPAT 79243465Sgonzo#options BOOTP_NFSV3 80243465Sgonzo#options BOOTP_WIRED_TO=ue0 81243465Sgonzo 82239922Sgonzo#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 83239922Sgonzo 84239922Sgonzodevice bpf 85239922Sgonzodevice loop 86239922Sgonzodevice ether 87239922Sgonzodevice uart 88239922Sgonzodevice pty 89239922Sgonzodevice snp 90240483Shselaskydevice pl011 91240483Shselasky 92240483Shselasky# Comment following lines for boot console on serial port 93240483Shselaskydevice vt 94239922Sgonzodevice kbdmux 95240483Shselaskydevice ukbd 96240483Shselasky 97240483Shselaskydevice sdhci 98240483Shselaskydevice mmc 99239922Sgonzodevice mmcsd 100240483Shselasky 101240483Shselaskydevice gpio 102240483Shselaskydevice gpioled 103240483Shselasky 104239922Sgonzo# I2C 105259325Siandevice iic 106259325Siandevice iicbus 107259325Siandevice bcm2835_bsc 108259325Sian 109239922Sgonzooptions KDB 110239922Sgonzooptions DDB # Enable the kernel debugger 111247304Skientzle#options INVARIANTS # Enable calls of extra sanity checking 112247304Skientzle#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 113247304Skientzle 114252440Srpaulodevice md 115252522Sandrewdevice random # Entropy device 116254461Sandrew 117# USB support 118device usb 119options USB_DEBUG 120device dwcotg # DWC OTG controller 121 122# USB storage support 123device scbus 124device da 125device umass 126 127# USB ethernet support 128device smcphy 129device mii 130device smsc 131 132# SPI 133device spibus 134device bcm2835_spi 135 136# Flattened Device Tree 137options FDT # Configure using FDT/DTB data 138# Note: DTB is normally loaded and modified by RPi boot loader, then 139# handed to kernel via U-Boot and ubldr. 140#options FDT_DTB_STATIC 141#makeoptions FDT_DTS_FILE=rpi.dts 142makeoptions MODULES_EXTRA=dtb/rpi 143