IMX6 revision 286944
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 286944 2015-08-19 21:04:50Z 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
29#options 	NFSD			# Network Filesystem Server
30options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
31options 	PLATFORM
32options 	SMP			# Enable multiple cores
33
34# Debugging for use in -current
35makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
36options 	KDB			# Enable kernel debugger support
37# For minimum debugger support (stable branch) use:
38#options 	KDB_TRACE		# Print a stack trace for a panic
39# For full debugger support use this instead:
40options 	DDB			# Enable the kernel debugger
41#options 	GDB			# Support remote GDB.
42# Other debugging options...
43options 	ALT_BREAK_TO_DEBUGGER	# Use <CR><tilde><ctrl-b> to enter debugger.
44#options 	DEADLKRES		# Enable the deadlock resolver
45#options 	INVARIANTS		# Enable calls of extra sanity checking
46#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
47#options 	WITNESS			# Enable checks to detect deadlocks and cycles
48#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
49#options 	DIAGNOSTIC
50
51# NFS root from boopt/dhcp
52#options 	BOOTP
53#options 	BOOTP_NFSROOT
54#options 	BOOTP_COMPAT
55#options 	BOOTP_NFSV3
56#options 	BOOTP_WIRED_TO=ffec0
57
58# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
59options 	ROOTDEVNAME=\"ufs:mmcsd0s2a\"
60
61# Interrupt controller
62device		gic
63
64# Pseudo devices.
65device		loop			# Network loopback
66device		random			# Entropy device
67device		vlan			# 802.1Q VLAN support
68device		tun			# Packet tunnel.
69device		md			# Memory "disks"
70#device		gif			# IPv6 and IPv4 tunneling
71#device		firmware		# firmware assist module
72device		ether			# Ethernet support
73device		miibus			# Required for ethernet
74device	 	bpf			# Berkeley packet filter (required for DHCP)
75
76# General-purpose input/output
77device		gpio
78
79# Serial (COM) ports
80device		uart			# Multi-uart driver
81
82# SDCard
83device		sdhci			# SD controller
84device		mmc			# SD/MMC protocol
85device		mmcsd			# SDCard disk device
86
87# SCSI peripherals
88device		scbus			# SCSI bus (required for ATA/SCSI)
89device		da			# Direct Access (disks)
90device		cd			# CD
91device		pass			# Passthrough device (direct ATA/SCSI access)
92
93# USB support
94#options 	USB_DEBUG		# enable debug msgs
95device		ehci			# OHCI USB interface
96device		usb			# USB Bus (required)
97device		umass			# Disks/Mass storage - Requires scbus and da
98device		uhid			# "Human Interface Devices"
99device		u3g			# USB modems
100#device		ukbd			# Allow keyboard like HIDs to control console
101#device		ums			# USB mouse
102
103# USB Ethernet, requires miibus
104#device		aue			# ADMtek USB Ethernet
105#device		axe			# ASIX Electronics USB Ethernet
106#device		cdce			# Generic USB over Ethernet
107#device		cue			# CATC USB Ethernet
108#device		kue			# Kawasaki LSI USB Ethernet
109#device		rue			# RealTek RTL8150 USB Ethernet
110#device		udav			# Davicom DM9601E USB
111
112# USB Wireless
113#device		rum			# Ralink Technology RT2501USB wireless NICs
114
115# Wireless NIC cards
116#device		wlan			# 802.11 support
117#device		wlan_wep		# 802.11 WEP support
118#device		wlan_ccmp		# 802.11 CCMP support
119#device		wlan_tkip		# 802.11 TKIP support
120#device		wlan_amrr		# AMRR transmit rate control algorithm
121
122# NOTE: serial console will be disabled if syscons enabled
123# Uncomment following lines for framebuffer/syscons support
124# Wandboard has no video console support yet.
125#device		sc
126#device		kbdmux
127#options 	SC_DFLT_FONT		# compile font in
128#makeoptions	SC_DFLT_FONT=cp437
129
130# Flattened Device Tree
131options 	FDT			# Configure using FDT/DTB data
132makeoptions	MODULES_EXTRA=dtb/imx6
133
134# SoC-specific devices
135device		ffec			# Freescale Fast Ethernet Controller
136device		fsliic			# Freescale i2c/iic
137device		iic			# iic protocol
138device		iicbus			# iic bus
139device		imxwdt			# Watchdog. WARNING: can't be disabled!!!
140
141