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