IMX6 revision 289537
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 289537 2015-10-18 19:54:11Z ian $
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
66# Pseudo devices.
67device		loop			# Network loopback
68device		random			# Entropy device
69device		vlan			# 802.1Q VLAN support
70device		tun			# Packet tunnel.
71device		md			# Memory "disks"
72#device		gif			# IPv6 and IPv4 tunneling
73#device		firmware		# firmware assist module
74device		ether			# Ethernet support
75device		miibus			# Required for ethernet
76device	 	bpf			# Berkeley packet filter (required for DHCP)
77
78# General-purpose input/output
79device		gpio
80
81# Serial (COM) ports
82device		uart			# Multi-uart driver
83
84# SDCard
85device		sdhci			# SD controller
86device		mmc			# SD/MMC protocol
87device		mmcsd			# SDCard disk device
88
89# SCSI peripherals
90device		scbus			# SCSI bus (required for ATA/SCSI)
91device		da			# Direct Access (disks)
92device		cd			# CD
93device		pass			# Passthrough device (direct ATA/SCSI access)
94
95# USB support
96#options 	USB_DEBUG		# enable debug msgs
97device		ehci			# OHCI USB interface
98device		usb			# USB Bus (required)
99device		umass			# Disks/Mass storage - Requires scbus and da
100device		uhid			# "Human Interface Devices"
101device		u3g			# USB modems
102#device		ukbd			# Allow keyboard like HIDs to control console
103#device		ums			# USB mouse
104
105# USB Ethernet, requires miibus
106#device		aue			# ADMtek USB Ethernet
107#device		axe			# ASIX Electronics USB Ethernet
108#device		cdce			# Generic USB over Ethernet
109#device		cue			# CATC USB Ethernet
110#device		kue			# Kawasaki LSI USB Ethernet
111#device		rue			# RealTek RTL8150 USB Ethernet
112#device		udav			# Davicom DM9601E USB
113
114# USB Wireless
115#device		rum			# Ralink Technology RT2501USB wireless NICs
116
117# Wireless NIC cards
118#device		wlan			# 802.11 support
119#device		wlan_wep		# 802.11 WEP support
120#device		wlan_ccmp		# 802.11 CCMP support
121#device		wlan_tkip		# 802.11 TKIP support
122#device		wlan_amrr		# AMRR transmit rate control algorithm
123
124# NOTE: serial console will be disabled if syscons enabled
125# Uncomment following lines for framebuffer/syscons support
126# Wandboard has no video console support yet.
127#device		sc
128#device		kbdmux
129#options 	SC_DFLT_FONT		# compile font in
130#makeoptions	SC_DFLT_FONT=cp437
131
132# Flattened Device Tree
133options 	FDT			# Configure using FDT/DTB data
134makeoptions	MODULES_EXTRA=dtb/imx6
135
136# SoC-specific devices
137device		ffec			# Freescale Fast Ethernet Controller
138device		fsliic			# Freescale i2c/iic
139device		iic			# iic protocol
140device		iicbus			# iic bus
141device		imxwdt			# Watchdog. WARNING: can't be disabled!!!
142
143