]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/EFIKA_MX
Start to reduce the diff between the Atmel kernel configs.
[FreeBSD/FreeBSD.git] / sys / arm / conf / EFIKA_MX
1 #
2 # Kernel configuration for Efika MX Smarttop/Smartbook boards
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           EFIKA_MX
22
23 include         "std.armv6"
24 include         "../freescale/imx/std.imx51"
25
26 makeoptions     WITHOUT_MODULES="ahc"
27
28 options         SOC_IMX51
29
30 options         SCHED_4BSD              # 4BSD scheduler
31 #options        MD_ROOT                 # MD is a potential root device
32 #options        NFSD                    # Network Filesystem Server
33 #options        COMPAT_FREEBSD5         # Compatible with FreeBSD5
34 #options        COMPAT_FREEBSD6         # Compatible with FreeBSD6
35 #options        COMPAT_FREEBSD7         # Compatible with FreeBSD7
36 options         PLATFORM
37 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
38
39 # Debugging for use in -current
40 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
41 options         BREAK_TO_DEBUGGER
42 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
43 options         KDB                     # Enable kernel debugger support
44 # For minimum debugger support (stable branch) use:
45 #options        KDB_TRACE               # Print a stack trace for a panic
46 # For full debugger support use this instead:
47 options         DDB                     # Enable the kernel debugger
48 #options        GDB                     # Support remote GDB
49 options         DEADLKRES               # Enable the deadlock resolver
50 options         INVARIANTS              # Enable calls of extra sanity checking
51 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
52 options         WITNESS                 # Enable checks to detect deadlocks and cycles
53 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
54
55 # NFS root from boopt/dhcp
56 #options        BOOTP
57 #options        BOOTP_NFSROOT
58 #options        BOOTP_COMPAT
59 #options        BOOTP_NFSV3
60 #options        BOOTP_WIRED_TO=ue0
61
62 options         ROOTDEVNAME=\"ufs:ada0s2a\"
63
64
65 # kernel/memory size reduction
66 #options        MUTEX_NOINLINE
67 #options        NO_FFS_SNAPSHOT
68 #options        NO_SWAPPING
69 #options        NO_SYSCTL_DESCR
70 #options        RWLOCK_NOINLINE
71
72 # The `bpf' device enables the Berkeley Packet Filter.
73 # Be aware of the administrative consequences of enabling this!
74 # Note that 'bpf' is required for DHCP.
75 device          bpf                     # Berkeley packet filter
76
77 # Pseudo devices.
78 device          loop                    # Network loopback
79 device          random                  # Entropy device
80 device          ether                   # Ethernet support
81 #device         vlan                    # 802.1Q VLAN support
82 #device         tun                     # Packet tunnel.
83 #device         md                      # Memory "disks"
84 #device         gif                     # IPv6 and IPv4 tunneling
85 #device         firmware                # firmware assist module
86
87 # Serial (COM) ports
88 device          uart                    # Multi-uart driver
89 options         ALT_BREAK_TO_DEBUGGER
90
91 device          ata
92 device          atapci                  # Only for helper functions
93 device          imxata
94 options         ATA_STATIC_ID           # Static device numbering
95
96 device          gpio
97 device          gpioled
98
99 device          fsliic
100 device          iic
101 device          iicbus
102
103 # SCSI peripherals
104 device          scbus                   # SCSI bus (required for ATA/SCSI)
105 device          da                      # Direct Access (disks)
106 device          cd                      # CD
107 device          pass                    # Passthrough device (direct ATA/SCSI access)
108
109 # USB support
110 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
111 #options        USB_DEBUG               # enable debug msgs
112 device          ehci                    # OHCI USB interface
113 device          usb                     # USB Bus (required)
114 device          umass                   # Disks/Mass storage - Requires scbus and da
115 device          uhid                    # "Human Interface Devices"
116 device          u3g
117
118 # USB Ethernet, requires miibus
119 device          miibus
120 device          aue                     # ADMtek USB Ethernet
121 device          axe                     # ASIX Electronics USB Ethernet
122 device          cdce                    # Generic USB over Ethernet
123 device          cue                     # CATC USB Ethernet
124 device          kue                     # Kawasaki LSI USB Ethernet
125 device          rue                     # RealTek RTL8150 USB Ethernet
126 device          udav                    # Davicom DM9601E USB
127
128 # USB Wireless
129 device          rum                     # Ralink Technology RT2501USB wireless NICs
130
131 # Watchdog timer.
132 # WARNING: can't be disabled!!!
133 device          imxwdt                  # Watchdog
134
135 # Wireless NIC cards
136 device          wlan                    # 802.11 support
137 device          wlan_wep                # 802.11 WEP support
138 device          wlan_ccmp               # 802.11 CCMP support
139 device          wlan_tkip               # 802.11 TKIP support
140 device          wlan_amrr               # AMRR transmit rate control algorithm
141
142 # Flattened Device Tree
143 options         FDT                     # Configure using FDT/DTB data
144 options         FDT_DTB_STATIC
145 makeoptions     FDT_DTS_FILE=efikamx.dts
146
147 # NOTE: serial console will be disabled if syscons enabled
148 # Uncomment following lines for framebuffer/syscons support
149 device          sc
150 device          kbdmux
151 options         SC_DFLT_FONT            # compile font in
152 makeoptions     SC_DFLT_FONT=cp437
153 device          ukbd                    # Allow keyboard like HIDs to control console
154 device          ums