1#
2# Kernel configuration for Vybrid Family boards.
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$
20
21ident		VYBRID
22include		"../freescale/vybrid/std.vybrid"
23
24makeoptions	WERROR="-Werror"
25
26options 	HZ=100
27options 	SCHED_4BSD		# 4BSD scheduler
28options 	PREEMPTION		# Enable kernel thread preemption
29options 	INET			# InterNETworking
30options 	INET6			# IPv6 communications protocols
31options 	SCTP			# Stream Control Transmission Protocol
32options 	FFS			# Berkeley Fast Filesystem
33options 	SOFTUPDATES		# Enable FFS soft updates support
34options 	UFS_ACL			# Support for access control lists
35options 	UFS_DIRHASH		# Improve performance on big directories
36options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
37options 	QUOTA			# Enable disk quotas for UFS
38options 	NFSCL			# New Network Filesystem Client
39options 	NFSLOCKD		# Network Lock Manager
40options 	NFS_ROOT		# NFS usable as /, requires NFSCL
41options 	MSDOSFS			# MSDOS Filesystem
42options 	CD9660			# ISO 9660 Filesystem
43#options 	NANDFS			# NAND Filesystem
44options 	PROCFS			# Process filesystem (requires PSEUDOFS)
45options 	PSEUDOFS		# Pseudo-filesystem framework
46options 	TMPFS			# Efficient memory filesystem
47options 	GEOM_PART_GPT		# GUID Partition Tables
48options 	GEOM_PART_BSD		# BSD partition scheme
49options 	GEOM_PART_MBR		# MBR partition scheme
50options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
51options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
52options 	KTRACE			# ktrace(1) support
53options 	SYSVSHM			# SYSV-style shared memory
54options 	SYSVMSG			# SYSV-style message queues
55options 	SYSVSEM			# SYSV-style semaphores
56options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
57options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
58options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
59options 	VFP			# Enable floating point hardware support
60#options 	SMP			# Enable multiple cores
61
62# Debugging for use in -current
63makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
64options 	ALT_BREAK_TO_DEBUGGER
65#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
66options 	KDB			# Enable kernel debugger support
67# For minimum debugger support (stable branch) use:
68#options 	KDB_TRACE		# Print a stack trace for a panic
69# For full debugger support use this instead:
70options 	DDB			# Enable the kernel debugger
71#options 	INVARIANTS		# Enable calls of extra sanity checking
72#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
73#options 	WITNESS			# Enable checks to detect deadlocks and cycles
74#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
75#options 	DIAGNOSTIC
76
77# NFS root from boopt/dhcp
78#options 	BOOTP
79#options 	BOOTP_NFSROOT
80#options 	BOOTP_COMPAT
81#options 	BOOTP_NFSV3
82#options 	BOOTP_WIRED_TO=ffec0
83
84#options 	ROOTDEVNAME=\"nfs:10.5.0.1:/tftpboot/cosmic\"
85#options 	ROOTDEVNAME=\"nandfs:/dev/gnand0s.root\"
86options 	ROOTDEVNAME=\"ufs:/dev/da0\"
87
88options 	MUTEX_NOINLINE
89options 	RWLOCK_NOINLINE
90options 	NO_FFS_SNAPSHOT
91options 	NO_SWAPPING
92
93# MMC/SD/SDIO Card slot support
94device		mmc			# mmc/sd bus
95device		mmcsd			# mmc/sd flash cards
96device		sdhci			# generic sdhci
97
98# Pseudo devices
99
100device		loop
101device		random
102device		pty
103device		md
104device		gpio
105
106# USB support
107options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
108device		usb
109options 	USB_DEBUG
110#options 	USB_REQ_DEBUG
111#options 	USB_VERBOSE
112#device		musb
113device		ehci
114#device		ohci
115
116device		umass
117device		scbus			# SCSI bus (required for ATA/SCSI)
118device		da			# Direct Access (disks)
119device		pass
120
121# SATA
122#device		ata
123#device		atadisk
124#device		mvs
125
126device		nand
127
128# Serial ports
129device		uart
130
131# I2C (TWSI)
132device		iic
133device		iicbus
134
135# Ethernet
136device		ether
137device		ffec
138
139# USB ethernet support, requires miibus
140device		miibus
141device		axe			# ASIX Electronics USB Ethernet
142device		bpf			# Berkeley packet filter
143
144device		sound
145
146# Framebuffer
147device		vt
148device		kbdmux
149options 	SC_DFLT_FONT		# compile font in
150makeoptions	SC_DFLT_FONT=cp437
151device		ukbd
152
153# Flattened Device Tree
154options 	FDT			# Configure using FDT/DTB data
155