EFIKA_MX revision 287082
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: stable/10/sys/arm/conf/EFIKA_MX 287082 2015-08-23 20:50:22Z ian $
20
21ident		EFIKA_MX
22
23include 	"../freescale/imx/std.imx51"
24
25makeoptions	WITHOUT_MODULES="ahc"
26
27options 	SCHED_4BSD		# 4BSD scheduler
28options 	PREEMPTION		# Enable kernel thread preemption
29options 	INET			# InterNETworking
30options 	INET6			# IPv6 communications protocols
31options 	SCTP			# Stream Control Transmission Protocol
32options 	FFS			# Berkeley Fast Filesystem
33options 	SOFTUPDATES		# Enable FFS soft updates support
34options 	UFS_ACL			# Support for access control lists
35options 	UFS_DIRHASH		# Improve performance on big directories
36options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
37options 	QUOTA			# Enable disk quotas for UFS
38#options 	MD_ROOT			# MD is a potential root device
39options 	NFSCL			# New Network Filesystem Client
40#options 	NFSD			# New Network Filesystem Server
41options 	NFSLOCKD		# Network Lock Manager
42options 	NFS_ROOT		# NFS usable as /, requires NFSCL
43options 	MSDOSFS			# MSDOS Filesystem
44options 	CD9660			# ISO 9660 Filesystem
45options 	PROCFS			# Process filesystem (requires PSEUDOFS)
46options 	PSEUDOFS		# Pseudo-filesystem framework
47options 	TMPFS			# Efficient memory filesystem
48options 	GEOM_PART_GPT		# GUID Partition Tables
49options 	GEOM_PART_BSD		# BSD partition scheme
50options 	GEOM_PART_MBR		# MBR partition scheme
51options 	GEOM_LABEL		# Provides labelization
52#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
53#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
54#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
55options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
56options 	KTRACE			# ktrace(1) support
57options 	SYSVSHM			# SYSV-style shared memory
58options 	SYSVMSG			# SYSV-style message queues
59options 	SYSVSEM			# SYSV-style semaphores
60options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
62options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
63options 	VFP			# Enable floating point hardware support
64
65# Debugging for use in -current
66makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
67options 	ALT_BREAK_TO_DEBUGGER
68#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
69options 	KDB			# Enable kernel debugger support
70# For minimum debugger support (stable branch) use:
71#options 	KDB_TRACE		# Print a stack trace for a panic
72# For full debugger support use this instead:
73options 	DDB			# Enable the kernel debugger
74#options 	GDB			# Support remote GDB
75options 	DEADLKRES		# Enable the deadlock resolver
76options 	INVARIANTS		# Enable calls of extra sanity checking
77options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
78options 	WITNESS			# Enable checks to detect deadlocks and cycles
79#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
80
81# NFS root from boopt/dhcp
82#options 	BOOTP
83#options 	BOOTP_NFSROOT
84#options 	BOOTP_COMPAT
85#options 	BOOTP_NFSV3
86#options 	BOOTP_WIRED_TO=ue0
87
88options 	ROOTDEVNAME=\"ufs:ada0s2a\"
89
90
91# kernel/memory size reduction
92#options 	MUTEX_NOINLINE
93#options 	NO_FFS_SNAPSHOT
94#options 	NO_SWAPPING
95#options 	NO_SYSCTL_DESCR
96#options 	RWLOCK_NOINLINE
97
98# Debugging support.  Always need this:
99options 	KDB			# Enable kernel debugger support.
100# For minimum debugger support (stable branch) use:
101#options 	KDB_TRACE		# Print a stack trace for a panic.
102# For full debugger support use this instead:
103options 	DDB			# Support DDB.
104#options 	GDB			# Support remote GDB.
105#options 	DEADLKRES		# Enable the deadlock resolver
106#options 	INVARIANTS		# Enable calls of extra sanity checking
107#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
108#options 	WITNESS			# Enable checks to detect deadlocks and cycles
109
110# The `bpf' device enables the Berkeley Packet Filter.
111# Be aware of the administrative consequences of enabling this!
112# Note that 'bpf' is required for DHCP.
113device		bpf			# Berkeley packet filter
114
115# Pseudo devices.
116device		loop			# Network loopback
117device		random			# Entropy device
118device		ether			# Ethernet support
119#device		vlan			# 802.1Q VLAN support
120#device		tun			# Packet tunnel.
121#device		md			# Memory "disks"
122#device		gif			# IPv6 and IPv4 tunneling
123#device		faith			# IPv6-to-IPv4 relaying (translation)
124#device		firmware		# firmware assist module
125
126# Serial (COM) ports
127device		uart			# Multi-uart driver
128options 	ALT_BREAK_TO_DEBUGGER
129
130device		ata
131device		atapci			# Only for helper functions
132device		imxata
133options 	ATA_STATIC_ID		# Static device numbering
134
135device		gpio
136device		gpioled
137
138device		fsliic
139device		iic
140device		iicbus
141
142# SCSI peripherals
143device		scbus			# SCSI bus (required for ATA/SCSI)
144device		da			# Direct Access (disks)
145device		cd			# CD
146device		pass			# Passthrough device (direct ATA/SCSI access)
147
148# USB support
149options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
150#options 	USB_DEBUG		# enable debug msgs
151device		ehci			# OHCI USB interface
152device		usb			# USB Bus (required)
153device		umass			# Disks/Mass storage - Requires scbus and da
154device		uhid			# "Human Interface Devices"
155device		u3g
156
157# USB Ethernet, requires miibus
158device		miibus
159device		aue			# ADMtek USB Ethernet
160device		axe			# ASIX Electronics USB Ethernet
161device		cdce			# Generic USB over Ethernet
162device		cue			# CATC USB Ethernet
163device		kue			# Kawasaki LSI USB Ethernet
164device		rue			# RealTek RTL8150 USB Ethernet
165device		udav			# Davicom DM9601E USB
166
167# USB Wireless
168device		rum			# Ralink Technology RT2501USB wireless NICs
169
170# Watchdog timer.
171# WARNING: can't be disabled!!!
172device		imxwdt			# Watchdog
173
174# Wireless NIC cards
175device		wlan			# 802.11 support
176device		wlan_wep		# 802.11 WEP support
177device		wlan_ccmp		# 802.11 CCMP support
178device		wlan_tkip		# 802.11 TKIP support
179device		wlan_amrr		# AMRR transmit rate control algorithm
180
181# Flattened Device Tree
182options 	FDT			# Configure using FDT/DTB data
183options 	FDT_DTB_STATIC
184makeoptions	FDT_DTS_FILE=efikamx.dts
185
186# NOTE: serial console will be disabled if syscons enabled
187# Uncomment following lines for framebuffer/syscons support
188device		sc
189device		kbdmux
190options 	SC_DFLT_FONT		# compile font in
191makeoptions	SC_DFLT_FONT=cp437
192device		ukbd			# Allow keyboard like HIDs to control console
193device		ums
194