IMX53 revision 276177
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 276177 2014-12-24 12:26:43Z 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
59276177Sandrewoptions 	PLATFORM
60271220Sandrewoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
61276003Sandrewoptions 	VFP			# Enable floating point hardware support
62271220Sandrew
63276003Sandrew# Debugging for use in -current
64276003Sandrewmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
65276003Sandrewoptions 	KDB			# Enable kernel debugger support
66276003Sandrew# For minimum debugger support (stable branch) use:
67276003Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic
68276003Sandrew# For full debugger support use this instead:
69276003Sandrewoptions 	DDB			# Enable the kernel debugger
70276003Sandrew#options 	GDB			# Support remote GDB
71276003Sandrewoptions 	DEADLKRES		# Enable the deadlock resolver
72276003Sandrewoptions 	INVARIANTS		# Enable calls of extra sanity checking
73276003Sandrewoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
74276003Sandrewoptions 	WITNESS			# Enable checks to detect deadlocks and cycles
75276003Sandrew#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
76276003Sandrew
77271220Sandrew# kernel/memory size reduction
78271220Sandrew#options 	MUTEX_NOINLINE
79271220Sandrew#options 	NO_FFS_SNAPSHOT
80271220Sandrew#options 	NO_SWAPPING
81271220Sandrew#options 	NO_SYSCTL_DESCR
82271220Sandrew#options 	RWLOCK_NOINLINE
83271220Sandrew
84271220Sandrew# The `bpf' device enables the Berkeley Packet Filter.
85271220Sandrew# Be aware of the administrative consequences of enabling this!
86271220Sandrew# Note that 'bpf' is required for DHCP.
87271220Sandrewdevice		bpf			# Berkeley packet filter
88271220Sandrew
89271220Sandrew# Pseudo devices.
90271220Sandrewdevice		loop			# Network loopback
91271220Sandrewdevice		random			# Entropy device
92271220Sandrewdevice		ether			# Ethernet support
93271220Sandrew#device		vlan			# 802.1Q VLAN support
94271220Sandrew#device		tun			# Packet tunnel.
95271220Sandrewdevice		md			# Memory "disks"
96271220Sandrew#device		gif			# IPv6 and IPv4 tunneling
97271220Sandrew#device		firmware		# firmware assist module
98271220Sandrew
99271220Sandrew# Ethernet
100271220Sandrewdevice		ffec			# Freescale Fast Ethernet Controller
101271220Sandrewdevice		miibus			# Standard mii bus
102271220Sandrew
103271220Sandrew# Serial (COM) ports
104271220Sandrewdevice		uart			# Multi-uart driver
105271220Sandrewoptions 	ALT_BREAK_TO_DEBUGGER
106271220Sandrew
107271220Sandrewdevice		ata
108271220Sandrewdevice		atapci			# Only for helper functions
109271220Sandrewdevice		imxata
110271220Sandrewoptions 	ATA_STATIC_ID		# Static device numbering
111271220Sandrew
112271220Sandrewdevice		gpio
113271220Sandrewdevice		gpioled
114271220Sandrew
115271220Sandrewdevice		fsliic
116271220Sandrewdevice		iic
117271220Sandrewdevice		iicbus
118271220Sandrew
119271220Sandrew# SCSI peripherals
120271220Sandrewdevice		scbus			# SCSI bus (required for ATA/SCSI)
121271220Sandrewdevice		da			# Direct Access (disks)
122271220Sandrewdevice		cd			# CD
123271220Sandrewdevice		pass			# Passthrough device (direct ATA/SCSI access)
124271220Sandrew
125271220Sandrew# USB support
126271220Sandrewoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
127271220Sandrewoptions 	USB_DEBUG		# enable debug msgs
128271220Sandrewdevice		ehci			# OHCI USB interface
129271220Sandrewdevice		usb			# USB Bus (required)
130271220Sandrewdevice		umass			# Disks/Mass storage - Requires scbus and da
131271220Sandrewdevice		uhid			# "Human Interface Devices"
132271220Sandrew#device		ukbd			# Allow keyboard like HIDs to control console
133271220Sandrewdevice		ums
134271220Sandrew
135271220Sandrew# USB Ethernet, requires miibus
136271220Sandrew#device		miibus
137271220Sandrew#device		aue			# ADMtek USB Ethernet
138271220Sandrew#device		axe			# ASIX Electronics USB Ethernet
139271220Sandrew#device		cdce			# Generic USB over Ethernet
140271220Sandrew#device		cue			# CATC USB Ethernet
141271220Sandrew#device		kue			# Kawasaki LSI USB Ethernet
142271220Sandrew#device		rue			# RealTek RTL8150 USB Ethernet
143271220Sandrew#device		udav			# Davicom DM9601E USB
144271220Sandrew
145271220Sandrew# USB Wireless
146271220Sandrew#device		rum			# Ralink Technology RT2501USB wireless NICs
147271220Sandrew
148271220Sandrew# Watchdog timer.
149271220Sandrew# WARNING: can't be disabled!!!
150271220Sandrewdevice		imxwdt			# Watchdog
151271220Sandrew
152271220Sandrew# Wireless NIC cards
153271220Sandrewdevice		wlan			# 802.11 support
154271220Sandrewdevice		wlan_wep		# 802.11 WEP support
155271220Sandrewdevice		wlan_ccmp		# 802.11 CCMP support
156271220Sandrewdevice		wlan_tkip		# 802.11 TKIP support
157271220Sandrewdevice		wlan_amrr		# AMRR transmit rate control algorithm
158271220Sandrew
159271220Sandrew# MMC
160271220Sandrew#device  	sdhci			# SD controller
161271220Sandrew#device  	mmc			# SD/MMC protocol
162271220Sandrew#device  	mmcsd			# SDCard disk device
163271220Sandrew
164271220Sandrew
165271220Sandrew# Flattened Device Tree
166276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
167271220Sandrew
168271220Sandrew# NOTE: serial console will be disabled if syscons enabled
169271220Sandrew# Uncomment following lines for framebuffer/syscons support
170271220Sandrew#device		sc
171271220Sandrew#device		vt
172271220Sandrew#device		kbdmux
173276004Sandrew#options 	SC_DFLT_FONT		# compile font in
174276004Sandrew#makeoptions	SC_DFLT_FONT=cp437
175