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