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