RPI-B revision 282499
1# 2# RPI-B -- Custom configuration for the Raspberry Pi 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: head/sys/arm/conf/RPI-B 282499 2015-05-05 16:09:25Z ian $ 20 21ident RPI-B 22 23include "std.armv6" 24include "../broadcom/bcm2835/std.rpi" 25include "../broadcom/bcm2835/std.bcm2835" 26 27options HZ=100 28options SCHED_4BSD # 4BSD scheduler 29options PREEMPTION # Enable kernel thread preemption 30options INET # InterNETworking 31options INET6 # IPv6 communications protocols 32options SCTP # Stream Control Transmission Protocol 33options FFS # Berkeley Fast Filesystem 34options SOFTUPDATES # Enable FFS soft updates support 35options UFS_ACL # Support for access control lists 36options UFS_DIRHASH # Improve performance on big directories 37options UFS_GJOURNAL # Enable gjournal-based UFS journaling 38options QUOTA # Enable disk quotas for UFS 39options NFSCL # Network Filesystem Client 40options NFSLOCKD # Network Lock Manager 41options NFS_ROOT # NFS usable as /, requires NFSCL 42options MSDOSFS # MSDOS Filesystem 43options CD9660 # ISO 9660 Filesystem 44options PROCFS # Process filesystem (requires PSEUDOFS) 45options PSEUDOFS # Pseudo-filesystem framework 46options TMPFS # Efficient memory filesystem 47options GEOM_PART_GPT # GUID Partition Tables 48options GEOM_PART_BSD # BSD partition scheme 49options GEOM_PART_MBR # MBR partition scheme 50options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 51options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 52options KTRACE # ktrace(1) support 53options SYSVSHM # SYSV-style shared memory 54options SYSVMSG # SYSV-style message queues 55options SYSVSEM # SYSV-style semaphores 56options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 57options KBD_INSTALL_CDEV # install a CDEV entry in /dev 58options PLATFORM 59options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 60options VFP # Enable floating point hardware support 61 62# Debugging for use in -current 63makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 64options BREAK_TO_DEBUGGER 65options ALT_BREAK_TO_DEBUGGER 66#options VERBOSE_SYSINIT # Enable verbose sysinit messages 67options KDB # Enable kernel debugger support 68# For minimum debugger support (stable branch) use: 69#options KDB_TRACE # Print a stack trace for a panic 70# For full debugger support use this instead: 71options DDB # Enable the kernel debugger 72options INVARIANTS # Enable calls of extra sanity checking 73options 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 DIAGNOSTIC 77 78# NFS root from boopt/dhcp 79#options BOOTP 80#options BOOTP_NFSROOT 81#options BOOTP_COMPAT 82#options BOOTP_NFSV3 83#options BOOTP_WIRED_TO=ue0 84 85#options ROOTDEVNAME=\"ufs:mmcsd0s2\" 86 87device bpf 88device loop 89device ether 90device uart 91device pty 92device snp 93device pl011 94 95# Comment following lines for boot console on serial port 96device vt 97device kbdmux 98device ukbd 99 100device sdhci 101device mmc 102device mmcsd 103 104device gpio 105device gpioled 106 107# I2C 108device iic 109device iicbus 110device bcm2835_bsc 111 112device md 113device random # Entropy device 114 115# USB support 116device usb 117options USB_DEBUG 118device dwcotg # DWC OTG controller 119 120# USB storage support 121device scbus 122device da 123device umass 124 125# USB ethernet support 126device smcphy 127device mii 128device smsc 129 130# SPI 131device spibus 132device bcm2835_spi 133 134device vchiq 135device sound 136 137# Flattened Device Tree 138options FDT # Configure using FDT/DTB data 139# Note: DTB is normally loaded and modified by RPi boot loader, then 140# handed to kernel via U-Boot and ubldr. 141#options FDT_DTB_STATIC 142#makeoptions FDT_DTS_FILE=rpi.dts 143makeoptions MODULES_EXTRA=dtb/rpi 144