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