]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/RPI2
MFH
[FreeBSD/FreeBSD.git] / sys / arm / conf / RPI2
1 #
2 # RPI2 -- Custom configuration for the Raspberry Pi 2
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$
20
21 ident           RPI2
22
23 include         "std.armv6"
24 include         "../broadcom/bcm2835/std.rpi"
25 include         "../broadcom/bcm2835/std.bcm2836"
26
27 options         INTRNG
28
29 options         HZ=100
30 options         SCHED_ULE               # ULE scheduler
31 options         SMP                     # Enable multiple cores
32 options         PLATFORM
33
34 # Debugging for use in -current
35 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
36 options         ALT_BREAK_TO_DEBUGGER
37 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
38 options         KDB                     # Enable kernel debugger support
39 # For minimum debugger support (stable branch) use:
40 #options        KDB_TRACE               # Print a stack trace for a panic
41 # For full debugger support use this instead:
42 options         DDB                     # Enable the kernel debugger
43 options         INVARIANTS              # Enable calls of extra sanity checking
44 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
45 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
46 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
47 #options        DIAGNOSTIC
48
49 # NFS root from boopt/dhcp
50 #options        BOOTP
51 #options        BOOTP_NFSROOT
52 #options        BOOTP_COMPAT
53 #options        BOOTP_NFSV3
54 #options        BOOTP_WIRED_TO=ue0
55
56 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
57
58 # ARM Generic Timer
59 device          generic_timer
60
61 device          bpf
62 device          loop
63 device          ether
64 device          uart
65 device          pty
66 device          snp
67 device          pl011
68
69 # Comment following lines for boot console on serial port
70 device          vt
71 device          kbdmux
72 device          ukbd
73
74 device          sdhci
75 device          mmc
76 device          mmcsd
77
78 device          gpio
79 device          gpioled
80
81 # I2C
82 device          iic
83 device          iicbus
84 device          bcm2835_bsc
85
86 device          md
87 device          random                  # Entropy device
88
89 # USB support
90 device          usb
91 options         USB_DEBUG
92 device          dwcotg                  # DWC OTG controller
93
94 # USB storage support
95 device          scbus
96 device          da
97 device          umass
98
99 # USB ethernet support
100 device          smcphy
101 device          mii
102 device          smsc
103
104 # SPI
105 device          spibus
106 device          bcm2835_spi
107
108 device          vchiq
109 device          sound
110
111 # Flattened Device Tree
112 options         FDT                     # Configure using FDT/DTB data
113 # Note:  DTB is normally loaded and modified by RPi boot loader, then
114 # handed to kernel via U-Boot and ubldr.
115 #options        FDT_DTB_STATIC
116 #makeoptions    FDT_DTS_FILE=rpi2.dts
117 makeoptions     MODULES_EXTRA=dtb/rpi