IMX53 revision 276003
1276003Sandrew#
2271220Sandrew# Kernel configuration for i.MX53 boards
3271220Sandrew#
4271220Sandrew# For more information on this file, please read the config(5) manual page,
5271220Sandrew# and/or the handbook section on Kernel Configuration Files:
6271220Sandrew#
7271220Sandrew#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8271220Sandrew#
9271220Sandrew# The handbook is also available locally in /usr/share/doc/handbook
10271220Sandrew# if you've installed the doc distribution, otherwise always see the
11271220Sandrew# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12271220Sandrew# latest information.
13271220Sandrew#
14271220Sandrew# An exhaustive list of options and more detailed explanations of the
15271220Sandrew# device lines is also present in the ../../conf/NOTES and NOTES files.
16271220Sandrew# If you are in doubt as to the purpose or necessity of a line, check first
17271220Sandrew# in NOTES.
18271220Sandrew#
19271220Sandrew# $FreeBSD: head/sys/arm/conf/IMX53 276003 2014-12-21 11:37:00Z andrew $
20271220Sandrew
21271220Sandrewident		IMX53
22271220Sandrew
23271220Sandrewinclude 	"../freescale/imx/std.imx53"
24271220Sandrew
25271220Sandrewoptions 	SCHED_4BSD		# 4BSD scheduler
26276003Sandrewoptions 	PREEMPTION		# Enable kernel thread preemption
27271220Sandrewoptions 	INET			# InterNETworking
28271220Sandrewoptions 	INET6			# IPv6 communications protocols
29276003Sandrewoptions 	SCTP			# Stream Control Transmission Protocol
30271220Sandrewoptions 	FFS			# Berkeley Fast Filesystem
31271220Sandrewoptions 	SOFTUPDATES		# Enable FFS soft updates support
32271220Sandrewoptions 	UFS_ACL			# Support for access control lists
33271220Sandrewoptions 	UFS_DIRHASH		# Improve performance on big directories
34271220Sandrewoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
35276003Sandrewoptions 	QUOTA			# Enable disk quotas for UFS
36271220Sandrewoptions 	NFSCL			# New Network Filesystem Client
37271220Sandrew#options 	NFSD			# New Network Filesystem Server
38271220Sandrewoptions 	NFSLOCKD		# Network Lock Manager
39271220Sandrewoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
40271220Sandrewoptions 	MSDOSFS			# MSDOS Filesystem
41271220Sandrewoptions 	CD9660			# ISO 9660 Filesystem
42276003Sandrewoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
43271220Sandrewoptions 	PSEUDOFS		# Pseudo-filesystem framework
44276003Sandrewoptions 	TMPFS			# Efficient memory filesystem
45276003Sandrewoptions 	GEOM_PART_GPT		# GUID Partition Tables
46271220Sandrewoptions 	GEOM_PART_BSD		# BSD partition scheme
47271220Sandrewoptions 	GEOM_PART_MBR		# MBR partition scheme
48271220Sandrewoptions 	GEOM_LABEL		# Provides labelization
49271220Sandrew#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
50271220Sandrew#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
51271220Sandrew#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
52271220Sandrewoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
53271220Sandrewoptions 	KTRACE			# ktrace(1) support
54271220Sandrewoptions 	SYSVSHM			# SYSV-style shared memory
55271220Sandrewoptions 	SYSVMSG			# SYSV-style message queues
56271220Sandrewoptions 	SYSVSEM			# SYSV-style semaphores
57271220Sandrewoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58276003Sandrewoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
59271220Sandrewoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
60276003Sandrewoptions 	VFP			# Enable floating point hardware support
61271220Sandrew
62276003Sandrew# Debugging for use in -current
63276003Sandrewmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
64276003Sandrewoptions 	KDB			# Enable kernel debugger support
65276003Sandrew# For minimum debugger support (stable branch) use:
66276003Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic
67276003Sandrew# For full debugger support use this instead:
68276003Sandrewoptions 	DDB			# Enable the kernel debugger
69276003Sandrew#options 	GDB			# Support remote GDB
70276003Sandrewoptions 	DEADLKRES		# Enable the deadlock resolver
71276003Sandrewoptions 	INVARIANTS		# Enable calls of extra sanity checking
72276003Sandrewoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
73276003Sandrewoptions 	WITNESS			# Enable checks to detect deadlocks and cycles
74276003Sandrew#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
75276003Sandrew
76271220Sandrew# kernel/memory size reduction
77271220Sandrew#options 	MUTEX_NOINLINE
78271220Sandrew#options 	NO_FFS_SNAPSHOT
79271220Sandrew#options 	NO_SWAPPING
80271220Sandrew#options 	NO_SYSCTL_DESCR
81271220Sandrew#options 	RWLOCK_NOINLINE
82271220Sandrew
83271220Sandrew# The `bpf' device enables the Berkeley Packet Filter.
84271220Sandrew# Be aware of the administrative consequences of enabling this!
85271220Sandrew# Note that 'bpf' is required for DHCP.
86271220Sandrewdevice		bpf			# Berkeley packet filter
87271220Sandrew
88271220Sandrew# Pseudo devices.
89271220Sandrewdevice		loop			# Network loopback
90271220Sandrewdevice		random			# Entropy device
91271220Sandrewdevice		ether			# Ethernet support
92271220Sandrew#device		vlan			# 802.1Q VLAN support
93271220Sandrew#device		tun			# Packet tunnel.
94271220Sandrewdevice		md			# Memory "disks"
95271220Sandrew#device		gif			# IPv6 and IPv4 tunneling
96271220Sandrew#device		firmware		# firmware assist module
97271220Sandrew
98271220Sandrew# Ethernet
99271220Sandrewdevice		ffec			# Freescale Fast Ethernet Controller
100271220Sandrewdevice		miibus			# Standard mii bus
101271220Sandrew
102271220Sandrew# Serial (COM) ports
103271220Sandrewdevice		uart			# Multi-uart driver
104271220Sandrewoptions 	ALT_BREAK_TO_DEBUGGER
105271220Sandrew
106271220Sandrewdevice		ata
107271220Sandrewdevice		atapci			# Only for helper functions
108271220Sandrewdevice		imxata
109271220Sandrewoptions 	ATA_STATIC_ID		# Static device numbering
110271220Sandrew
111271220Sandrewdevice		gpio
112271220Sandrewdevice		gpioled
113271220Sandrew
114271220Sandrewdevice		fsliic
115271220Sandrewdevice		iic
116271220Sandrewdevice		iicbus
117271220Sandrew
118271220Sandrew# SCSI peripherals
119271220Sandrewdevice		scbus			# SCSI bus (required for ATA/SCSI)
120271220Sandrewdevice		da			# Direct Access (disks)
121271220Sandrewdevice		cd			# CD
122271220Sandrewdevice		pass			# Passthrough device (direct ATA/SCSI access)
123271220Sandrew
124271220Sandrew# USB support
125271220Sandrewoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
126271220Sandrewoptions 	USB_DEBUG		# enable debug msgs
127271220Sandrewdevice		ehci			# OHCI USB interface
128271220Sandrewdevice		usb			# USB Bus (required)
129271220Sandrewdevice		umass			# Disks/Mass storage - Requires scbus and da
130271220Sandrewdevice		uhid			# "Human Interface Devices"
131271220Sandrew#device		ukbd			# Allow keyboard like HIDs to control console
132271220Sandrewdevice		ums
133271220Sandrew
134271220Sandrew# USB Ethernet, requires miibus
135271220Sandrew#device		miibus
136271220Sandrew#device		aue			# ADMtek USB Ethernet
137271220Sandrew#device		axe			# ASIX Electronics USB Ethernet
138271220Sandrew#device		cdce			# Generic USB over Ethernet
139271220Sandrew#device		cue			# CATC USB Ethernet
140271220Sandrew#device		kue			# Kawasaki LSI USB Ethernet
141271220Sandrew#device		rue			# RealTek RTL8150 USB Ethernet
142271220Sandrew#device		udav			# Davicom DM9601E USB
143271220Sandrew
144271220Sandrew# USB Wireless
145271220Sandrew#device		rum			# Ralink Technology RT2501USB wireless NICs
146271220Sandrew
147271220Sandrew# Watchdog timer.
148271220Sandrew# WARNING: can't be disabled!!!
149271220Sandrewdevice		imxwdt			# Watchdog
150271220Sandrew
151271220Sandrew# Wireless NIC cards
152271220Sandrewdevice		wlan			# 802.11 support
153271220Sandrewdevice		wlan_wep		# 802.11 WEP support
154271220Sandrewdevice		wlan_ccmp		# 802.11 CCMP support
155271220Sandrewdevice		wlan_tkip		# 802.11 TKIP support
156271220Sandrewdevice		wlan_amrr		# AMRR transmit rate control algorithm
157271220Sandrew
158271220Sandrew# MMC
159271220Sandrew#device  	sdhci			# SD controller
160271220Sandrew#device  	mmc			# SD/MMC protocol
161271220Sandrew#device  	mmcsd			# SDCard disk device
162271220Sandrew
163271220Sandrew
164271220Sandrew# Flattened Device Tree
165276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
166271220Sandrew
167271220Sandrew# NOTE: serial console will be disabled if syscons enabled
168271220Sandrew# Uncomment following lines for framebuffer/syscons support
169271220Sandrew#device		sc
170271220Sandrew#device		vt
171271220Sandrew#device		kbdmux
172271220Sandrew#options         SC_DFLT_FONT		# compile font in
173271220Sandrew#makeoptions     SC_DFLT_FONT=cp437
174