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