1278699Sian#
2248557Sray# Kernel configuration for Efika MX Smarttop/Smartbook boards
3248557Sray#
4248557Sray# For more information on this file, please read the config(5) manual page,
5248557Sray# and/or the handbook section on Kernel Configuration Files:
6248557Sray#
7248557Sray#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8248557Sray#
9248557Sray# The handbook is also available locally in /usr/share/doc/handbook
10248557Sray# if you've installed the doc distribution, otherwise always see the
11248557Sray# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12248557Sray# latest information.
13248557Sray#
14248557Sray# An exhaustive list of options and more detailed explanations of the
15248557Sray# device lines is also present in the ../../conf/NOTES and NOTES files.
16248557Sray# If you are in doubt as to the purpose or necessity of a line, check first
17248557Sray# in NOTES.
18248557Sray#
19248557Sray# $FreeBSD: releng/10.3/sys/arm/conf/EFIKA_MX 287082 2015-08-23 20:50:22Z ian $
20248557Sray
21248557Srayident		EFIKA_MX
22248557Sray
23253746Sianinclude 	"../freescale/imx/std.imx51"
24248557Sray
25283368Sianmakeoptions	WITHOUT_MODULES="ahc"
26248557Sray
27248557Srayoptions 	SCHED_4BSD		# 4BSD scheduler
28278699Sianoptions 	PREEMPTION		# Enable kernel thread preemption
29248557Srayoptions 	INET			# InterNETworking
30278699Sianoptions 	INET6			# IPv6 communications protocols
31278699Sianoptions 	SCTP			# Stream Control Transmission Protocol
32248557Srayoptions 	FFS			# Berkeley Fast Filesystem
33248557Srayoptions 	SOFTUPDATES		# Enable FFS soft updates support
34248557Srayoptions 	UFS_ACL			# Support for access control lists
35248557Srayoptions 	UFS_DIRHASH		# Improve performance on big directories
36248557Srayoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
37278699Sianoptions 	QUOTA			# Enable disk quotas for UFS
38248557Sray#options 	MD_ROOT			# MD is a potential root device
39248557Srayoptions 	NFSCL			# New Network Filesystem Client
40248557Sray#options 	NFSD			# New Network Filesystem Server
41248557Srayoptions 	NFSLOCKD		# Network Lock Manager
42248557Srayoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
43248557Srayoptions 	MSDOSFS			# MSDOS Filesystem
44248557Srayoptions 	CD9660			# ISO 9660 Filesystem
45278699Sianoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
46248557Srayoptions 	PSEUDOFS		# Pseudo-filesystem framework
47278699Sianoptions 	TMPFS			# Efficient memory filesystem
48278699Sianoptions 	GEOM_PART_GPT		# GUID Partition Tables
49266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
50266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
51248557Srayoptions 	GEOM_LABEL		# Provides labelization
52248557Sray#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
53248557Sray#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
54248557Sray#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
55248557Srayoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
56248557Srayoptions 	KTRACE			# ktrace(1) support
57248557Srayoptions 	SYSVSHM			# SYSV-style shared memory
58248557Srayoptions 	SYSVMSG			# SYSV-style message queues
59248557Srayoptions 	SYSVSEM			# SYSV-style semaphores
60248557Srayoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61278699Sianoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
62248557Srayoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
63278699Sianoptions 	VFP			# Enable floating point hardware support
64248557Sray
65278699Sian# Debugging for use in -current
66278699Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
67287082Sianoptions 	ALT_BREAK_TO_DEBUGGER
68278699Sian#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
69278699Sianoptions 	KDB			# Enable kernel debugger support
70278699Sian# For minimum debugger support (stable branch) use:
71278699Sian#options 	KDB_TRACE		# Print a stack trace for a panic
72278699Sian# For full debugger support use this instead:
73278699Sianoptions 	DDB			# Enable the kernel debugger
74278699Sian#options 	GDB			# Support remote GDB
75278699Sianoptions 	DEADLKRES		# Enable the deadlock resolver
76278699Sianoptions 	INVARIANTS		# Enable calls of extra sanity checking
77278699Sianoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
78278699Sianoptions 	WITNESS			# Enable checks to detect deadlocks and cycles
79278699Sian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
80278699Sian
81278699Sian# NFS root from boopt/dhcp
82248557Sray#options 	BOOTP
83278699Sian#options 	BOOTP_NFSROOT
84248557Sray#options 	BOOTP_COMPAT
85248557Sray#options 	BOOTP_NFSV3
86248557Sray#options 	BOOTP_WIRED_TO=ue0
87278699Sian
88248557Srayoptions 	ROOTDEVNAME=\"ufs:ada0s2a\"
89248557Sray
90248557Sray
91248557Sray# kernel/memory size reduction
92248557Sray#options 	MUTEX_NOINLINE
93248557Sray#options 	NO_FFS_SNAPSHOT
94248557Sray#options 	NO_SWAPPING
95248557Sray#options 	NO_SYSCTL_DESCR
96248557Sray#options 	RWLOCK_NOINLINE
97248557Sray
98248557Sray# Debugging support.  Always need this:
99248557Srayoptions 	KDB			# Enable kernel debugger support.
100248557Sray# For minimum debugger support (stable branch) use:
101248557Sray#options 	KDB_TRACE		# Print a stack trace for a panic.
102248557Sray# For full debugger support use this instead:
103248557Srayoptions 	DDB			# Support DDB.
104248557Sray#options 	GDB			# Support remote GDB.
105271428Sian#options 	DEADLKRES		# Enable the deadlock resolver
106271428Sian#options 	INVARIANTS		# Enable calls of extra sanity checking
107271428Sian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
108271428Sian#options 	WITNESS			# Enable checks to detect deadlocks and cycles
109248557Sray
110248557Sray# The `bpf' device enables the Berkeley Packet Filter.
111248557Sray# Be aware of the administrative consequences of enabling this!
112248557Sray# Note that 'bpf' is required for DHCP.
113266328Siandevice		bpf			# Berkeley packet filter
114248557Sray
115248557Sray# Pseudo devices.
116266328Siandevice		loop			# Network loopback
117266328Siandevice		random			# Entropy device
118266328Siandevice		ether			# Ethernet support
119266328Sian#device		vlan			# 802.1Q VLAN support
120266328Sian#device		tun			# Packet tunnel.
121266328Sian#device		md			# Memory "disks"
122266328Sian#device		gif			# IPv6 and IPv4 tunneling
123266328Sian#device		faith			# IPv6-to-IPv4 relaying (translation)
124266328Sian#device		firmware		# firmware assist module
125248557Sray
126248557Sray# Serial (COM) ports
127266328Siandevice		uart			# Multi-uart driver
128248557Srayoptions 	ALT_BREAK_TO_DEBUGGER
129248557Sray
130248557Sraydevice		ata
131266328Siandevice		atapci			# Only for helper functions
132248557Sraydevice		imxata
133266328Sianoptions 	ATA_STATIC_ID		# Static device numbering
134248557Sray
135248557Sraydevice		gpio
136248557Sraydevice		gpioled
137248557Sray
138248557Sraydevice		fsliic
139248557Sraydevice		iic
140248557Sraydevice		iicbus
141248557Sray
142248557Sray# SCSI peripherals
143278676Siandevice		scbus			# SCSI bus (required for ATA/SCSI)
144266328Siandevice		da			# Direct Access (disks)
145266328Siandevice		cd			# CD
146278676Siandevice		pass			# Passthrough device (direct ATA/SCSI access)
147248557Sray
148248557Sray# USB support
149266162Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
150266328Sian#options 	USB_DEBUG		# enable debug msgs
151266328Siandevice		ehci			# OHCI USB interface
152266328Siandevice		usb			# USB Bus (required)
153266328Siandevice		umass			# Disks/Mass storage - Requires scbus and da
154266328Siandevice		uhid			# "Human Interface Devices"
155248557Sraydevice		u3g
156248557Sray
157248557Sray# USB Ethernet, requires miibus
158248557Sraydevice		miibus
159266328Siandevice		aue			# ADMtek USB Ethernet
160266328Siandevice		axe			# ASIX Electronics USB Ethernet
161266328Siandevice		cdce			# Generic USB over Ethernet
162266328Siandevice		cue			# CATC USB Ethernet
163266328Siandevice		kue			# Kawasaki LSI USB Ethernet
164266328Siandevice		rue			# RealTek RTL8150 USB Ethernet
165266328Siandevice		udav			# Davicom DM9601E USB
166248557Sray
167248557Sray# USB Wireless
168266328Siandevice		rum			# Ralink Technology RT2501USB wireless NICs
169248557Sray
170248557Sray# Watchdog timer.
171248557Sray# WARNING: can't be disabled!!!
172266328Siandevice		imxwdt			# Watchdog
173248557Sray
174248557Sray# Wireless NIC cards
175266328Siandevice		wlan			# 802.11 support
176266328Siandevice		wlan_wep		# 802.11 WEP support
177266328Siandevice		wlan_ccmp		# 802.11 CCMP support
178266328Siandevice		wlan_tkip		# 802.11 TKIP support
179266328Siandevice		wlan_amrr		# AMRR transmit rate control algorithm
180248557Sray
181248557Sray# Flattened Device Tree
182278699Sianoptions 	FDT			# Configure using FDT/DTB data
183278699Sianoptions 	FDT_DTB_STATIC
184278699Sianmakeoptions	FDT_DTS_FILE=efikamx.dts
185248557Sray
186248557Sray# NOTE: serial console will be disabled if syscons enabled
187248557Sray# Uncomment following lines for framebuffer/syscons support
188248557Sraydevice		sc
189248557Sraydevice		kbdmux
190283368Sianoptions 	SC_DFLT_FONT		# compile font in
191283368Sianmakeoptions	SC_DFLT_FONT=cp437
192266328Siandevice		ukbd			# Allow keyboard like HIDs to control console
193248557Sraydevice		ums
194