]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/IMX6
MFH: r281855-r282312
[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         "../freescale/imx/std.imx6"
23
24 options         SOC_IMX6
25
26 options         HZ=500                  # Scheduling quantum is 2 milliseconds.
27 options         SCHED_ULE               # ULE scheduler
28 options         PREEMPTION              # Enable kernel thread preemption
29 options         INET                    # InterNETworking
30 options         INET6                   # IPv6 communications protocols
31 options         SCTP                    # Stream Control Transmission Protocol
32 options         FFS                     # Berkeley Fast Filesystem
33 options         SOFTUPDATES             # Enable FFS soft updates support
34 options         UFS_ACL                 # Support for access control lists
35 options         UFS_DIRHASH             # Improve performance on big directories
36 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
37 options         QUOTA                   # Enable disk quotas for UFS
38 options         NFSCL                   # Network Filesystem Client
39 #options        NFSD                    # Network Filesystem Server
40 options         NFSLOCKD                # Network Lock Manager
41 options         NFS_ROOT                # NFS usable as /, requires NFSCL
42 options         MSDOSFS                 # MSDOS Filesystem
43 options         CD9660                  # ISO 9660 Filesystem
44 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
45 options         PSEUDOFS                # Pseudo-filesystem framework
46 options         TMPFS                   # Efficient memory filesystem
47 options         GEOM_PART_GPT           # GUID Partition Tables
48 options         GEOM_PART_BSD           # BSD partition scheme
49 options         GEOM_PART_MBR           # MBR partition scheme
50 options         GEOM_LABEL              # Provides labelization
51 options         KTRACE                  # ktrace(1) support
52 options         SYSVSHM                 # SYSV-style shared memory
53 options         SYSVMSG                 # SYSV-style message queues
54 options         SYSVSEM                 # SYSV-style semaphores
55 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
56 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
57 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
58 options         PLATFORM
59 options         FREEBSD_BOOT_LOADER     # Process metadata passed from loader(8)
60 options         VFP                     # Enable floating point hardware support
61 options         SMP                     # Enable multiple cores
62
63 # Debugging for use in -current
64 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
65 options         KDB                     # Enable kernel debugger support
66 # For minimum debugger support (stable branch) use:
67 #options        KDB_TRACE               # Print a stack trace for a panic
68 # For full debugger support use this instead:
69 options         DDB                     # Enable the kernel debugger
70 #options        GDB                     # Support remote GDB.
71 # Other debugging options...
72 options         ALT_BREAK_TO_DEBUGGER   # Use <CR><tilde><ctrl-b> to enter debugger.
73 #options        DEADLKRES               # Enable the deadlock resolver
74 #options        INVARIANTS              # Enable calls of extra sanity checking
75 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
76 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
77 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
78 #options        DIAGNOSTIC
79
80 # NFS root from boopt/dhcp
81 #options        BOOTP
82 #options        BOOTP_NFSROOT
83 #options        BOOTP_COMPAT
84 #options        BOOTP_NFSV3
85 #options        BOOTP_WIRED_TO=ffec0
86
87 # U-Boot stuff lives on slice 1, FreeBSD on slice 2.
88 options         ROOTDEVNAME=\"ufs:mmcsd0s2a\"
89
90 # Pseudo devices.
91 device          loop                    # Network loopback
92 device          random                  # Entropy device
93 device          vlan                    # 802.1Q VLAN support
94 device          tun                     # Packet tunnel.
95 device          md                      # Memory "disks"
96 #device         gif                     # IPv6 and IPv4 tunneling
97 #device         firmware                # firmware assist module
98 device          ether                   # Ethernet support
99 device          miibus                  # Required for ethernet
100 device          bpf                     # Berkeley packet filter (required for DHCP)
101
102 # General-purpose input/output
103 device          gpio
104
105 # Serial (COM) ports
106 device          uart                    # Multi-uart driver
107
108 # SDCard
109 device          sdhci                   # SD controller
110 device          mmc                     # SD/MMC protocol
111 device          mmcsd                   # SDCard disk device
112
113 # SCSI peripherals
114 device          scbus                   # SCSI bus (required for ATA/SCSI)
115 device          da                      # Direct Access (disks)
116 device          cd                      # CD
117 device          pass                    # Passthrough device (direct ATA/SCSI access)
118
119 # USB support
120 #options        USB_DEBUG               # enable debug msgs
121 device          ehci                    # OHCI USB interface
122 device          usb                     # USB Bus (required)
123 device          umass                   # Disks/Mass storage - Requires scbus and da
124 device          uhid                    # "Human Interface Devices"
125 device          u3g                     # USB modems
126 #device         ukbd                    # Allow keyboard like HIDs to control console
127 #device         ums                     # USB mouse
128
129 # USB Ethernet, requires miibus
130 #device         aue                     # ADMtek USB Ethernet
131 #device         axe                     # ASIX Electronics USB Ethernet
132 #device         cdce                    # Generic USB over Ethernet
133 #device         cue                     # CATC USB Ethernet
134 #device         kue                     # Kawasaki LSI USB Ethernet
135 #device         rue                     # RealTek RTL8150 USB Ethernet
136 #device         udav                    # Davicom DM9601E USB
137
138 # USB Wireless
139 #device         rum                     # Ralink Technology RT2501USB wireless NICs
140
141 # Wireless NIC cards
142 #device         wlan                    # 802.11 support
143 #device         wlan_wep                # 802.11 WEP support
144 #device         wlan_ccmp               # 802.11 CCMP support
145 #device         wlan_tkip               # 802.11 TKIP support
146 #device         wlan_amrr               # AMRR transmit rate control algorithm
147
148 # NOTE: serial console will be disabled if syscons enabled
149 # Uncomment following lines for framebuffer/syscons support
150 # Wandboard has no video console support yet.
151 #device         sc
152 #device         kbdmux
153 #options        SC_DFLT_FONT            # compile font in
154 #makeoptions    SC_DFLT_FONT=cp437
155
156 # Flattened Device Tree
157 options         FDT                     # Configure using FDT/DTB data
158 makeoptions     MODULES_EXTRA=dtb/imx6
159
160 # SoC-specific devices
161 device          ffec                    # Freescale Fast Ethernet Controller
162 device          fsliic                  # Freescale i2c/iic
163 device          iic                     # iic protocol
164 device          iicbus                  # iic bus
165 #device         imxwdt                  # Watchdog. WARNING: can't be disabled!!!
166