IMX6 revision 275961
1264137Sian# Kernel configuration for Freescale i.MX6 systems.
2257489Sian#
3257489Sian# For more information on this file, please read the config(5) manual page,
4257489Sian# and/or the handbook section on Kernel Configuration Files:
5257489Sian#
6257489Sian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7257489Sian#
8257489Sian# The handbook is also available locally in /usr/share/doc/handbook
9257489Sian# if you've installed the doc distribution, otherwise always see the
10257489Sian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11257489Sian# latest information.
12257489Sian#
13257489Sian# An exhaustive list of options and more detailed explanations of the
14257489Sian# device lines is also present in the ../../conf/NOTES and NOTES files.
15257489Sian# If you are in doubt as to the purpose or necessity of a line, check first
16257489Sian# in NOTES.
17257489Sian#
18257489Sian# $FreeBSD: head/sys/arm/conf/IMX6 275961 2014-12-20 18:15:23Z andrew $
19257489Sian
20262419Sianident		IMX6
21257489Sianinclude 	"../freescale/imx/std.imx6"
22257489Sian
23264137Sianoptions  	HZ=500			# Scheduling quantum is 2 milliseconds.
24275961Sandrewoptions 	SCHED_ULE		# ULE scheduler
25275961Sandrewoptions 	PREEMPTION		# Enable kernel thread preemption
26275961Sandrewoptions 	INET			# InterNETworking
27275961Sandrewoptions 	INET6			# IPv6 communications protocols
28275961Sandrewoptions 	SCTP			# Stream Control Transmission Protocol
29275961Sandrewoptions 	FFS			# Berkeley Fast Filesystem
30275961Sandrewoptions 	SOFTUPDATES		# Enable FFS soft updates support
31275961Sandrewoptions 	UFS_ACL			# Support for access control lists
32275961Sandrewoptions 	UFS_DIRHASH		# Improve performance on big directories
33275961Sandrewoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
34275961Sandrew#options 	MD_ROOT			# MD is a potential root device
35275961Sandrewoptions 	NFSCL			# New Network Filesystem Client
36275961Sandrew#options 	NFSD			# New Network Filesystem Server
37275961Sandrewoptions 	NFSLOCKD		# Network Lock Manager
38275961Sandrewoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
39263301Simpoptions 	TMPFS			# Efficient memory filesystem
40275961Sandrewoptions 	MSDOSFS			# MSDOS Filesystem
41275961Sandrewoptions 	CD9660			# ISO 9660 Filesystem
42275961Sandrew#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
43275961Sandrewoptions 	PSEUDOFS		# Pseudo-filesystem framework
44263245Simpoptions 	GEOM_PART_BSD		# BSD partition scheme
45263245Simpoptions 	GEOM_PART_MBR		# MBR partition scheme
46275961Sandrewoptions 	GEOM_PART_GPT		# GUID Partition Tables.
47275961Sandrewoptions 	GEOM_LABEL		# Provides labelization
48275961Sandrewoptions 	KTRACE			# ktrace(1) support
49275961Sandrewoptions 	SYSVSHM			# SYSV-style shared memory
50275961Sandrewoptions 	SYSVMSG			# SYSV-style message queues
51275961Sandrewoptions 	SYSVSEM			# SYSV-style semaphores
52275961Sandrewoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
53275961Sandrewoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
54257489Sian
55257489Sian# Debugging support.  Always need this:
56275961Sandrewoptions 	KDB			# Enable kernel debugger support.
57257489Sian# For minimum debugger support use KDB_TRACE, for interactive use DDB.
58275961Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic.
59275961Sandrewoptions 	DDB			# Support DDB.
60257489Sian# For full debugger support use this instead:
61275961Sandrew#options 	GDB			# Support remote GDB.
62257489Sian# Other debugging options...
63257489Sianmakeoptions  	DEBUG=-g		# Build kernel with gdb(1) debug symbols
64275961Sandrewoptions 	ALT_BREAK_TO_DEBUGGER	# Use <CR><tilde><ctrl-b> to enter debugger.
65275961Sandrew#options 	DEBUG
66275961Sandrew#options 	DEADLKRES		# Enable the deadlock resolver
67275961Sandrew#options 	INVARIANTS		# Enable calls of extra sanity checking
68275961Sandrew#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
69275961Sandrew#options 	WITNESS			# Enable checks to detect deadlocks and cycles
70257489Sian
71257489Sian# Pseudo devices.
72275961Sandrewdevice		loop			# Network loopback
73275961Sandrewdevice		random			# Entropy device
74275961Sandrewdevice		vlan			# 802.1Q VLAN support
75275961Sandrewdevice		tun			# Packet tunnel.
76275961Sandrewdevice		md			# Memory "disks"
77275961Sandrew#device		gif			# IPv6 and IPv4 tunneling
78275961Sandrew#device		firmware		# firmware assist module
79275961Sandrewdevice		ether			# Ethernet support
80275961Sandrewdevice		miibus			# Required for ethernet
81275961Sandrewdevice	 	bpf			# Berkeley packet filter (required for DHCP)
82257489Sian
83268834Sbr# General-purpose input/output
84268834Sbrdevice  	gpio
85268834Sbr
86257489Sian# Serial (COM) ports
87275961Sandrewdevice		uart			# Multi-uart driver
88257489Sian
89262354Sian# SDCard
90275961Sandrewdevice		sdhci			# SD controller
91275961Sandrewdevice		mmc			# SD/MMC protocol
92275961Sandrewdevice		mmcsd			# SDCard disk device
93257489Sian
94257489Sian# SCSI peripherals
95275961Sandrewdevice		scbus			# SCSI bus (required for ATA/SCSI)
96275961Sandrewdevice		da			# Direct Access (disks)
97275961Sandrewdevice		cd			# CD
98275961Sandrewdevice		pass			# Passthrough device (direct ATA/SCSI access)
99257489Sian
100257489Sian# USB support
101275961Sandrew#options 	USB_DEBUG		# enable debug msgs
102275961Sandrewdevice		ehci			# OHCI USB interface
103275961Sandrewdevice		usb			# USB Bus (required)
104275961Sandrewdevice		umass			# Disks/Mass storage - Requires scbus and da
105275961Sandrewdevice		uhid			# "Human Interface Devices"
106275961Sandrewdevice		u3g			# USB modems
107275961Sandrew#device		ukbd			# Allow keyboard like HIDs to control console
108275961Sandrew#device		ums			# USB mouse
109257489Sian
110268834Sbr# USB Ethernet, requires miibus
111275961Sandrew#device		aue			# ADMtek USB Ethernet
112275961Sandrew#device		axe			# ASIX Electronics USB Ethernet
113275961Sandrew#device		cdce			# Generic USB over Ethernet
114275961Sandrew#device		cue			# CATC USB Ethernet
115275961Sandrew#device		kue			# Kawasaki LSI USB Ethernet
116275961Sandrew#device		rue			# RealTek RTL8150 USB Ethernet
117275961Sandrew#device		udav			# Davicom DM9601E USB
118257489Sian
119257489Sian# USB Wireless
120275961Sandrew#device		rum			# Ralink Technology RT2501USB wireless NICs
121257489Sian
122257489Sian# Wireless NIC cards
123275961Sandrew#device		wlan			# 802.11 support
124275961Sandrew#device		wlan_wep		# 802.11 WEP support
125275961Sandrew#device		wlan_ccmp		# 802.11 CCMP support
126275961Sandrew#device		wlan_tkip		# 802.11 TKIP support
127275961Sandrew#device		wlan_amrr		# AMRR transmit rate control algorithm
128257489Sian
129257489Sian# NOTE: serial console will be disabled if syscons enabled
130257489Sian# Uncomment following lines for framebuffer/syscons support
131257489Sian# Wandboard has no video console support yet.
132275961Sandrew#device		sc
133275961Sandrew#device		kbdmux
134275961Sandrew#options 	SC_DFLT_FONT		# compile font in
135275961Sandrew#makeoptions	SC_DFLT_FONT=cp437
136257489Sian
137257489Sian# required for netbooting
138275961Sandrew#options 	BOOTP
139275961Sandrew#options 	BOOTP_COMPAT
140275961Sandrew#options	BOOTP_NFSROOT
141275961Sandrew#options 	BOOTP_NFSV3
142275961Sandrew#options 	BOOTP_WIRED_TO=ffec0
143257489Sian
144257489Sian# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
145275961Sandrewoptions 	ROOTDEVNAME=\"ufs:mmcsd0s2a\"
146257489Sian
147262354Sian# ARM and SoC-specific options
148275961Sandrewoptions 	FDT			# Configure using FDT/DTB data.
149275961Sandrewoptions 	SMP			# Enable multiple cores
150275961Sandrewoptions 	VFP			# Enable floating point hardware support
151275961Sandrewoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
152257489Sian
153262354Sian# SoC-specific devices
154275961Sandrewdevice		ffec			# Freescale Fast Ethernet Controller
155275961Sandrewdevice		fsliic			# Freescale i2c/iic
156275961Sandrewdevice		iic			# iic protocol
157275961Sandrewdevice		iicbus			# iic bus
158275961Sandrew#device		imxwdt			# Watchdog. WARNING: can't be disabled!!!
159257489Sian
160