]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/IMX6
Add the SMP support for Raspberry Pi 2 (BCM2836).
[FreeBSD/FreeBSD.git] / sys / arm / conf / IMX6
1 #
2 # Kernel configuration for Freescale i.MX6 systems.
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           IMX6
22 include         "std.armv6"
23 include         "../freescale/imx/std.imx6"
24
25 options         SOC_IMX6
26
27 options         HZ=500                  # Scheduling quantum is 2 milliseconds.
28 options         SCHED_ULE               # ULE scheduler
29 #options        NFSD                    # Network Filesystem Server
30 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
31 options         PLATFORM
32 options         SMP                     # Enable multiple cores
33
34 # Debugging for use in -current
35 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
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        GDB                     # Support remote GDB.
42 # Other debugging options...
43 options         ALT_BREAK_TO_DEBUGGER   # Use <CR><tilde><ctrl-b> to enter debugger.
44 #options        DEADLKRES               # Enable the deadlock resolver
45 #options        INVARIANTS              # Enable calls of extra sanity checking
46 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
47 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
48 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
49 #options        DIAGNOSTIC
50
51 # NFS root from boopt/dhcp
52 #options        BOOTP
53 #options        BOOTP_NFSROOT
54 #options        BOOTP_COMPAT
55 #options        BOOTP_NFSV3
56 #options        BOOTP_WIRED_TO=ffec0
57
58 # U-Boot stuff lives on slice 1, FreeBSD on slice 2.
59 options         ROOTDEVNAME=\"ufs:mmcsd0s2a\"
60
61 # Pseudo devices.
62 device          loop                    # Network loopback
63 device          random                  # Entropy device
64 device          vlan                    # 802.1Q VLAN support
65 device          tun                     # Packet tunnel.
66 device          md                      # Memory "disks"
67 #device         gif                     # IPv6 and IPv4 tunneling
68 #device         firmware                # firmware assist module
69 device          ether                   # Ethernet support
70 device          miibus                  # Required for ethernet
71 device          bpf                     # Berkeley packet filter (required for DHCP)
72
73 # General-purpose input/output
74 device          gpio
75
76 # Serial (COM) ports
77 device          uart                    # Multi-uart driver
78
79 # SDCard
80 device          sdhci                   # SD controller
81 device          mmc                     # SD/MMC protocol
82 device          mmcsd                   # SDCard disk device
83
84 # SCSI peripherals
85 device          scbus                   # SCSI bus (required for ATA/SCSI)
86 device          da                      # Direct Access (disks)
87 device          cd                      # CD
88 device          pass                    # Passthrough device (direct ATA/SCSI access)
89
90 # USB support
91 #options        USB_DEBUG               # enable debug msgs
92 device          ehci                    # OHCI USB interface
93 device          usb                     # USB Bus (required)
94 device          umass                   # Disks/Mass storage - Requires scbus and da
95 device          uhid                    # "Human Interface Devices"
96 device          u3g                     # USB modems
97 #device         ukbd                    # Allow keyboard like HIDs to control console
98 #device         ums                     # USB mouse
99
100 # USB Ethernet, requires miibus
101 #device         aue                     # ADMtek USB Ethernet
102 #device         axe                     # ASIX Electronics USB Ethernet
103 #device         cdce                    # Generic USB over Ethernet
104 #device         cue                     # CATC USB Ethernet
105 #device         kue                     # Kawasaki LSI USB Ethernet
106 #device         rue                     # RealTek RTL8150 USB Ethernet
107 #device         udav                    # Davicom DM9601E USB
108
109 # USB Wireless
110 #device         rum                     # Ralink Technology RT2501USB wireless NICs
111
112 # Wireless NIC cards
113 #device         wlan                    # 802.11 support
114 #device         wlan_wep                # 802.11 WEP support
115 #device         wlan_ccmp               # 802.11 CCMP support
116 #device         wlan_tkip               # 802.11 TKIP support
117 #device         wlan_amrr               # AMRR transmit rate control algorithm
118
119 # NOTE: serial console will be disabled if syscons enabled
120 # Uncomment following lines for framebuffer/syscons support
121 # Wandboard has no video console support yet.
122 #device         sc
123 #device         kbdmux
124 #options        SC_DFLT_FONT            # compile font in
125 #makeoptions    SC_DFLT_FONT=cp437
126
127 # Flattened Device Tree
128 options         FDT                     # Configure using FDT/DTB data
129 makeoptions     MODULES_EXTRA=dtb/imx6
130
131 # SoC-specific devices
132 device          ffec                    # Freescale Fast Ethernet Controller
133 device          fsliic                  # Freescale i2c/iic
134 device          iic                     # iic protocol
135 device          iicbus                  # iic bus
136 #device         imxwdt                  # Watchdog. WARNING: can't be disabled!!!
137