]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/IMX53
Add an elf not so kgdb detects the kernel as a FreeBSD elf file. The
[FreeBSD/FreeBSD.git] / sys / arm / conf / IMX53
1 # Kernel configuration for i.MX53 boards
2 #
3 # For more information on this file, please read the config(5) manual page,
4 # and/or the handbook section on Kernel Configuration Files:
5 #
6 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7 #
8 # The handbook is also available locally in /usr/share/doc/handbook
9 # if you've installed the doc distribution, otherwise always see the
10 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11 # latest information.
12 #
13 # An exhaustive list of options and more detailed explanations of the
14 # device lines is also present in the ../../conf/NOTES and NOTES files.
15 # If you are in doubt as to the purpose or necessity of a line, check first
16 # in NOTES.
17 #
18 # $FreeBSD$
19
20 ident           IMX53
21
22 include         "../freescale/imx/std.imx53"
23
24 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
25 #options        DEBUG
26
27 options         SCHED_4BSD              # 4BSD 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        MD_ROOT                 # MD is a potential root device
38 options         NFSCL                   # New Network Filesystem Client
39 #options        NFSD                    # New Network Filesystem Server
40 options         NFSLOCKD                # Network Lock Manager
41 options         NFS_ROOT                # NFS usable as /, requires NFSCL
42 options         TMPFS                   # Efficient memory filesystem
43 options         MSDOSFS                 # MSDOS Filesystem
44 options         CD9660                  # ISO 9660 Filesystem
45 #options        PROCFS                  # Process filesystem (requires PSEUDOFS)
46 options         PSEUDOFS                # Pseudo-filesystem framework
47 options         GEOM_PART_BSD           # BSD partition scheme
48 options         GEOM_PART_MBR           # MBR partition scheme
49 options         GEOM_PART_GPT           # GUID Partition Tables.
50 options         GEOM_LABEL              # Provides labelization
51 #options        COMPAT_FREEBSD5         # Compatible with FreeBSD5
52 #options        COMPAT_FREEBSD6         # Compatible with FreeBSD6
53 #options        COMPAT_FREEBSD7         # Compatible with FreeBSD7
54 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
55 options         KTRACE                  # ktrace(1) support
56 options         SYSVSHM                 # SYSV-style shared memory
57 options         SYSVMSG                 # SYSV-style message queues
58 options         SYSVSEM                 # SYSV-style semaphores
59 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
61 options         VFP                     # vfp/neon
62
63 # kernel/memory size reduction
64 #options        MUTEX_NOINLINE
65 #options        NO_FFS_SNAPSHOT
66 #options        NO_SWAPPING
67 #options        NO_SYSCTL_DESCR
68 #options        RWLOCK_NOINLINE
69
70 # Debugging support.  Always need this:
71 options         KDB                     # Enable kernel debugger support.
72 # For minimum debugger support (stable branch) use:
73 #options        KDB_TRACE               # Print a stack trace for a panic.
74 # For full debugger support use this instead:
75 options         DDB                     # Support DDB.
76 #options        GDB                     # Support remote GDB.
77 options         DEADLKRES               # Enable the deadlock resolver
78 options         INVARIANTS              # Enable calls of extra sanity checking
79 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
80 options         WITNESS                 # Enable checks to detect deadlocks and cycles
81
82 # The `bpf' device enables the Berkeley Packet Filter.
83 # Be aware of the administrative consequences of enabling this!
84 # Note that 'bpf' is required for DHCP.
85 device          bpf                     # Berkeley packet filter
86
87 # Pseudo devices.
88 device          loop                    # Network loopback
89 device          random                  # Entropy device
90 device          ether                   # Ethernet support
91 #device         vlan                    # 802.1Q VLAN support
92 #device         tun                     # Packet tunnel.
93 device          md                      # Memory "disks"
94 #device         gif                     # IPv6 and IPv4 tunneling
95 #device         faith                   # IPv6-to-IPv4 relaying (translation)
96 #device         firmware                # firmware assist module
97
98 # Ethernet
99 device          ffec                    # Freescale Fast Ethernet Controller
100 device          miibus                  # Standard mii bus
101
102 # Serial (COM) ports
103 device          uart                    # Multi-uart driver
104 options         ALT_BREAK_TO_DEBUGGER
105
106 device          ata
107 device          atapci                  # Only for helper functions
108 device          imxata
109 options         ATA_STATIC_ID           # Static device numbering
110
111 device          gpio
112 device          gpioled
113
114 device          fsliic
115 device          iic
116 device          iicbus
117
118 # SCSI peripherals
119 device          scbus                   # SCSI bus (required for ATA/SCSI)
120 device          da                      # Direct Access (disks)
121 device          cd                      # CD
122 device          pass                    # Passthrough device (direct ATA/SCSI access)
123
124 # USB support
125 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
126 options         USB_DEBUG               # enable debug msgs
127 device          ehci                    # OHCI USB interface
128 device          usb                     # USB Bus (required)
129 device          umass                   # Disks/Mass storage - Requires scbus and da
130 device          uhid                    # "Human Interface Devices"
131 #device         ukbd                    # Allow keyboard like HIDs to control console
132 device          ums
133
134 # USB Ethernet, requires miibus
135 #device         miibus
136 #device         aue                     # ADMtek USB Ethernet
137 #device         axe                     # ASIX Electronics USB Ethernet
138 #device         cdce                    # Generic USB over Ethernet
139 #device         cue                     # CATC USB Ethernet
140 #device         kue                     # Kawasaki LSI USB Ethernet
141 #device         rue                     # RealTek RTL8150 USB Ethernet
142 #device         udav                    # Davicom DM9601E USB
143
144 # USB Wireless
145 #device         rum                     # Ralink Technology RT2501USB wireless NICs
146
147 # Watchdog timer.
148 # WARNING: can't be disabled!!!
149 device          imxwdt                  # Watchdog
150
151 # Wireless NIC cards
152 device          wlan                    # 802.11 support
153 device          wlan_wep                # 802.11 WEP support
154 device          wlan_ccmp               # 802.11 CCMP support
155 device          wlan_tkip               # 802.11 TKIP support
156 device          wlan_amrr               # AMRR transmit rate control algorithm
157
158 # MMC
159 #device         sdhci                   # SD controller
160 #device         mmc                     # SD/MMC protocol
161 #device         mmcsd                   # SDCard disk device
162
163
164 # Flattened Device Tree
165 options         FDT
166
167 # NOTE: serial console will be disabled if syscons enabled
168 # Uncomment following lines for framebuffer/syscons support
169 #device         sc
170 #device         vt
171 #device         kbdmux
172 #options         SC_DFLT_FONT           # compile font in
173 #makeoptions     SC_DFLT_FONT=cp437