2 # RPI-B -- Custom configuration for the Raspberry Pi
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
24 include "../broadcom/bcm2835/std.rpi"
25 include "../broadcom/bcm2835/std.bcm2835"
30 options SCHED_4BSD # 4BSD scheduler
33 # Debugging for use in -current
34 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
35 options ALT_BREAK_TO_DEBUGGER
36 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
37 options KDB # Enable kernel debugger support
38 # For minimum debugger support (stable branch) use:
39 #options KDB_TRACE # Print a stack trace for a panic
40 # For full debugger support use this instead:
41 options DDB # Enable the kernel debugger
42 options INVARIANTS # Enable calls of extra sanity checking
43 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
44 #options WITNESS # Enable checks to detect deadlocks and cycles
45 #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
48 # NFS root from boopt/dhcp
50 #options BOOTP_NFSROOT
53 #options BOOTP_WIRED_TO=ue0
55 #options ROOTDEVNAME=\"ufs:mmcsd0s2\"
65 # Comment following lines for boot console on serial port
83 device random # Entropy device
88 device dwcotg # DWC OTG controller
95 # USB ethernet support
107 # Flattened Device Tree
108 options FDT # Configure using FDT/DTB data
109 # Note: DTB is normally loaded and modified by RPi boot loader, then
110 # handed to kernel via U-Boot and ubldr.
111 #options FDT_DTB_STATIC
112 #makeoptions FDT_DTS_FILE=rpi.dts
113 makeoptions MODULES_EXTRA=dtb/rpi