IMX6 revision 282499
1#
2# Kernel configuration for Freescale i.MX6 systems.
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: head/sys/arm/conf/IMX6 282499 2015-05-05 16:09:25Z ian $
20
21ident		IMX6
22include		"std.armv6"
23include 	"../freescale/imx/std.imx6"
24
25options 	SOC_IMX6
26
27options 	HZ=500			# Scheduling quantum is 2 milliseconds.
28options 	SCHED_ULE		# ULE scheduler
29options 	PREEMPTION		# Enable kernel thread preemption
30options 	INET			# InterNETworking
31options 	INET6			# IPv6 communications protocols
32options 	SCTP			# Stream Control Transmission Protocol
33options 	FFS			# Berkeley Fast Filesystem
34options 	SOFTUPDATES		# Enable FFS soft updates support
35options 	UFS_ACL			# Support for access control lists
36options 	UFS_DIRHASH		# Improve performance on big directories
37options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
38options 	QUOTA			# Enable disk quotas for UFS
39options 	NFSCL			# Network Filesystem Client
40#options 	NFSD			# 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
52options 	KTRACE			# ktrace(1) support
53options 	SYSVSHM			# SYSV-style shared memory
54options 	SYSVMSG			# SYSV-style message queues
55options 	SYSVSEM			# SYSV-style semaphores
56options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
57options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
58options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
59options 	PLATFORM
60options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
61options 	VFP			# Enable floating point hardware support
62options 	SMP			# Enable multiple cores
63
64# Debugging for use in -current
65makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
66options 	KDB			# Enable kernel debugger support
67# For minimum debugger support (stable branch) use:
68#options 	KDB_TRACE		# Print a stack trace for a panic
69# For full debugger support use this instead:
70options 	DDB			# Enable the kernel debugger
71#options 	GDB			# Support remote GDB.
72# Other debugging options...
73options 	ALT_BREAK_TO_DEBUGGER	# Use <CR><tilde><ctrl-b> to enter debugger.
74#options 	DEADLKRES		# Enable the deadlock resolver
75#options 	INVARIANTS		# Enable calls of extra sanity checking
76#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
77#options 	WITNESS			# Enable checks to detect deadlocks and cycles
78#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
79#options 	DIAGNOSTIC
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=ffec0
87
88# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
89options 	ROOTDEVNAME=\"ufs:mmcsd0s2a\"
90
91# Pseudo devices.
92device		loop			# Network loopback
93device		random			# Entropy device
94device		vlan			# 802.1Q VLAN support
95device		tun			# Packet tunnel.
96device		md			# Memory "disks"
97#device		gif			# IPv6 and IPv4 tunneling
98#device		firmware		# firmware assist module
99device		ether			# Ethernet support
100device		miibus			# Required for ethernet
101device	 	bpf			# Berkeley packet filter (required for DHCP)
102
103# General-purpose input/output
104device		gpio
105
106# Serial (COM) ports
107device		uart			# Multi-uart driver
108
109# SDCard
110device		sdhci			# SD controller
111device		mmc			# SD/MMC protocol
112device		mmcsd			# SDCard disk device
113
114# SCSI peripherals
115device		scbus			# SCSI bus (required for ATA/SCSI)
116device		da			# Direct Access (disks)
117device		cd			# CD
118device		pass			# Passthrough device (direct ATA/SCSI access)
119
120# USB support
121#options 	USB_DEBUG		# enable debug msgs
122device		ehci			# OHCI USB interface
123device		usb			# USB Bus (required)
124device		umass			# Disks/Mass storage - Requires scbus and da
125device		uhid			# "Human Interface Devices"
126device		u3g			# USB modems
127#device		ukbd			# Allow keyboard like HIDs to control console
128#device		ums			# USB mouse
129
130# USB Ethernet, requires miibus
131#device		aue			# ADMtek USB Ethernet
132#device		axe			# ASIX Electronics USB Ethernet
133#device		cdce			# Generic USB over Ethernet
134#device		cue			# CATC USB Ethernet
135#device		kue			# Kawasaki LSI USB Ethernet
136#device		rue			# RealTek RTL8150 USB Ethernet
137#device		udav			# Davicom DM9601E USB
138
139# USB Wireless
140#device		rum			# Ralink Technology RT2501USB wireless NICs
141
142# Wireless NIC cards
143#device		wlan			# 802.11 support
144#device		wlan_wep		# 802.11 WEP support
145#device		wlan_ccmp		# 802.11 CCMP support
146#device		wlan_tkip		# 802.11 TKIP support
147#device		wlan_amrr		# AMRR transmit rate control algorithm
148
149# NOTE: serial console will be disabled if syscons enabled
150# Uncomment following lines for framebuffer/syscons support
151# Wandboard has no video console support yet.
152#device		sc
153#device		kbdmux
154#options 	SC_DFLT_FONT		# compile font in
155#makeoptions	SC_DFLT_FONT=cp437
156
157# Flattened Device Tree
158options 	FDT			# Configure using FDT/DTB data
159makeoptions	MODULES_EXTRA=dtb/imx6
160
161# SoC-specific devices
162device		ffec			# Freescale Fast Ethernet Controller
163device		fsliic			# Freescale i2c/iic
164device		iic			# iic protocol
165device		iicbus			# iic bus
166#device		imxwdt			# Watchdog. WARNING: can't be disabled!!!
167
168