IMX53-QSB revision 266274
167754Smsmith# Kernel configuration for Freescale i.MX53 Quick Start Board
267754Smsmith#
3249112Sjkim# For more information on this file, please read the config(5) manual page,
467754Smsmith# and/or the handbook section on Kernel Configuration Files:
567754Smsmith#
667754Smsmith#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7217365Sjkim#
8306536Sjkim# The handbook is also available locally in /usr/share/doc/handbook
970243Smsmith# if you've installed the doc distribution, otherwise always see the
1067754Smsmith# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11217365Sjkim# latest information.
12217365Sjkim#
13217365Sjkim# An exhaustive list of options and more detailed explanations of the
14217365Sjkim# device lines is also present in the ../../conf/NOTES and NOTES files.
15217365Sjkim# If you are in doubt as to the purpose or necessity of a line, check first
16217365Sjkim# in NOTES.
17217365Sjkim#
18217365Sjkim# $FreeBSD: stable/10/sys/arm/conf/IMX53-QSB 266274 2014-05-16 23:27:18Z ian $
19217365Sjkim
20217365Sjkimident		IMX53-QSB
21217365Sjkim
22217365Sjkiminclude 	"../freescale/imx/std.imx53"
23217365Sjkim
24217365Sjkimmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
2567754Smsmith#options 	DEBUG
26217365Sjkim
27217365Sjkimoptions 	HZ=250			# 4ms scheduling quantum
28217365Sjkimoptions 	SCHED_4BSD		# 4BSD scheduler
2967754Smsmith#options 	PREEMPTION		# Enable kernel thread preemption
30217365Sjkimoptions 	INET			# InterNETworking
31217365Sjkimoptions 	INET6			# IPv6 communications protocols
32217365Sjkim#options 	SCTP			# Stream Control Transmission Protocol
33217365Sjkimoptions 	FFS			# Berkeley Fast Filesystem
34217365Sjkimoptions 	SOFTUPDATES		# Enable FFS soft updates support
35217365Sjkimoptions 	UFS_ACL			# Support for access control lists
36217365Sjkimoptions 	UFS_DIRHASH		# Improve performance on big directories
37217365Sjkimoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
38217365Sjkim#options 	MD_ROOT			# MD is a potential root device
39217365Sjkimoptions 	NFSCL			# New Network Filesystem Client
40217365Sjkim#options 	NFSD			# New Network Filesystem Server
41217365Sjkimoptions 	NFSLOCKD		# Network Lock Manager
42217365Sjkimoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
4367754Smsmithoptions 	MSDOSFS			# MSDOS Filesystem
44193341Sjkimoptions 	CD9660			# ISO 9660 Filesystem
45193341Sjkim#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
46193341Sjkimoptions 	PSEUDOFS		# Pseudo-filesystem framework
47193341Sjkimoptions 	GEOM_PART_GPT		# GUID Partition Tables.
48193341Sjkimoptions 	GEOM_LABEL		# Provides labelization
49193341Sjkim#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
50193341Sjkim#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
51193341Sjkim#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
52193341Sjkimoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
5367754Smsmithoptions 	KTRACE			# ktrace(1) support
5477424Smsmithoptions 	SYSVSHM			# SYSV-style shared memory
5591116Smsmithoptions 	SYSVMSG			# SYSV-style message queues
5667754Smsmithoptions 	SYSVSEM			# SYSV-style semaphores
57151937Sjkimoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
5867754Smsmithoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
59151937Sjkimoptions 	VFP			# vfp/neon
60151937Sjkim
61151937Sjkim# required for netbooting
62151937Sjkim#options 	BOOTP
63151937Sjkim#options 	BOOTP_COMPAT
64151937Sjkim#options 	BOOTP_NFSROOT
65151937Sjkim#options 	BOOTP_NFSV3
66151937Sjkim#options 	BOOTP_WIRED_TO=ue0
67151937Sjkim
68151937Sjkim#options 	ROOTDEVNAME=\"ufs:ada0s2a\"
69151937Sjkim
7067754Smsmith
7167754Smsmith# kernel/memory size reduction
7267754Smsmith#options 	MUTEX_NOINLINE
73151937Sjkim#options 	NO_FFS_SNAPSHOT
7467754Smsmith#options 	NO_SWAPPING
7567754Smsmith#options 	NO_SYSCTL_DESCR
7667754Smsmith#options 	RWLOCK_NOINLINE
7799679Siwasaki
7867754Smsmith# Debugging support.  Always need this:
79151937Sjkimoptions 	KDB			# Enable kernel debugger support.
8067754Smsmith# For minimum debugger support (stable branch) use:
8167754Smsmith#options 	KDB_TRACE		# Print a stack trace for a panic.
8267754Smsmith# For full debugger support use this instead:
8367754Smsmithoptions 	DDB			# Support DDB.
8467754Smsmith#options 	GDB			# Support remote GDB.
8567754Smsmith#options 	DEADLKRES		# Enable the deadlock resolver
8667754Smsmith#options 	INVARIANTS		# Enable calls of extra sanity checking
8767754Smsmith#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
8867754Smsmith#options 	WITNESS			# Enable checks to detect deadlocks and cycles
8967754Smsmith
9067754Smsmith# The `bpf' device enables the Berkeley Packet Filter.
9167754Smsmith# Be aware of the administrative consequences of enabling this!
9267754Smsmith# Note that 'bpf' is required for DHCP.
9367754Smsmithdevice		bpf		# Berkeley packet filter
9467754Smsmith
9567754Smsmith# Pseudo devices.
9667754Smsmithdevice		loop		# Network loopback
9767754Smsmithdevice		random		# Entropy device
98151937Sjkimdevice		ether		# Ethernet support
9967754Smsmith#device		vlan		# 802.1Q VLAN support
10099679Siwasaki#device		tun		# Packet tunnel.
10167754Smsmithdevice		md		# Memory "disks"
10299679Siwasaki#device		gif		# IPv6 and IPv4 tunneling
10399679Siwasaki#device		faith		# IPv6-to-IPv4 relaying (translation)
10499679Siwasaki#device		firmware	# firmware assist module
10599679Siwasaki
106151937Sjkim# Ethernet
107151937Sjkimdevice  	ffec		# Freescale Fast Ethernet Controller
10867754Smsmithdevice  	miibus		# Standard mii bus
10967754Smsmith
11067754Smsmith# Serial (COM) ports
11199679Siwasakidevice		uart		# Multi-uart driver
11267754Smsmithoptions 	ALT_BREAK_TO_DEBUGGER
113151937Sjkim
11467754Smsmith#device		ata
115151937Sjkim#device		atapci		# Only for helper functions
11699679Siwasaki#device		imxata
11799679Siwasaki#options 	ATA_STATIC_ID	# Static device numbering
11899679Siwasaki
11999679Siwasakidevice		iomux		# IO Multiplexor
12099679Siwasaki
12199679Siwasakidevice		gpio
12299679Siwasakidevice		gpioled
12367754Smsmith
12467754Smsmithdevice		fsliic
12567754Smsmithdevice		iic
12677424Smsmithdevice		iicbus
12777424Smsmith
12899679Siwasaki# SCSI peripherals
12967754Smsmithdevice		scbus		# SCSI bus (required for SCSI)
13067754Smsmithdevice		da		# Direct Access (disks)
131167802Sjkimdevice		cd		# CD
13267754Smsmithdevice		pass		# Passthrough device (direct SCSI access)
13367754Smsmith
13499679Siwasaki# USB support
13567754Smsmithoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
136193267Sjkim#options 	USB_DEBUG	# enable debug msgs
13767754Smsmithdevice		ehci		# OHCI USB interface
138167802Sjkimdevice		usb		# USB Bus (required)
139167802Sjkimdevice		umass		# Disks/Mass storage - Requires scbus and da
14099679Siwasaki#device		uhid		# "Human Interface Devices"
14167754Smsmith#device		ukbd		# Allow keyboard like HIDs to control console
14299679Siwasaki#device		ums
14384491Smsmith
14484491Smsmith# USB Ethernet, requires miibus
14584491Smsmith#device		miibus
14667754Smsmith#device		aue		# ADMtek USB Ethernet
14799679Siwasaki#device		axe		# ASIX Electronics USB Ethernet
14899679Siwasaki#device		cdce		# Generic USB over Ethernet
149102550Siwasaki#device		cue		# CATC USB Ethernet
15067754Smsmith#device		kue		# Kawasaki LSI USB Ethernet
15199679Siwasaki#device		rue		# RealTek RTL8150 USB Ethernet
15267754Smsmith#device		udav		# Davicom DM9601E USB
153167802Sjkim
154167802Sjkim# USB Wireless
155167802Sjkim#device		rum		# Ralink Technology RT2501USB wireless NICs
156167802Sjkim
15767754Smsmith# Watchdog timer.
15867754Smsmith# WARNING: can't be disabled!!!
15967754Smsmithdevice		imxwdt		# Watchdog
16067754Smsmith
16167754Smsmith# Wireless NIC cards
16299679Siwasakidevice		wlan		# 802.11 support
16399679Siwasakidevice		wlan_wep	# 802.11 WEP support
16467754Smsmithdevice		wlan_ccmp	# 802.11 CCMP support
16567754Smsmithdevice		wlan_tkip	# 802.11 TKIP support
16667754Smsmithdevice		wlan_amrr	# AMRR transmit rate control algorithm
16799679Siwasaki
16867754Smsmith# Flattened Device Tree
16977424Smsmithoptions         FDT
17077424Smsmithoptions         FDT_DTB_STATIC
17177424Smsmithmakeoptions     FDT_DTS_FILE=imx53-qsb.dts
17277424Smsmith
173151937Sjkim# NOTE: serial console will be disabled if syscons enabled
17499679Siwasaki# Uncomment following lines for framebuffer/syscons support
17599679Siwasaki#device		sc
176151937Sjkim#device		kbdmux
177151937Sjkim#options         SC_DFLT_FONT    # compile font in
178151937Sjkim#makeoptions     SC_DFLT_FONT=cp437
179151937Sjkim
180151937Sjkim