COSMIC revision 266086
1# Kernel configuration for Cosmic Board (Freescale Vybrid Family development board).
2#
3# For more information on this file, please read the config(5) manual page,
4# and/or the handbook section on Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD: stable/10/sys/arm/conf/COSMIC 266086 2014-05-14 20:17:31Z ian $
19
20ident		COSMIC
21
22include		"../freescale/vybrid/std.vybrid"
23
24makeoptions	MODULES_OVERRIDE=""
25makeoptions	WITHOUT_MODULES="ahc"
26
27makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
28makeoptions	WERROR="-Werror"
29
30options		HZ=100 ##
31options		SCHED_4BSD		#4BSD scheduler
32options		INET			#InterNETworking
33options		INET6			#IPv6 communications protocols
34options		FFS			#Berkeley Fast Filesystem
35options		SOFTUPDATES
36options		UFS_ACL			#Support for access control lists
37options		UFS_DIRHASH		#Improve performance on big directories
38options		MSDOSFS			#MSDOS Filesystem
39options		CD9660			#ISO 9660 Filesystem
40options		PROCFS			#Process filesystem (requires PSEUDOFS)
41options		PSEUDOFS		#Pseudo-filesystem framework
42#options		NANDFS			#NAND Filesystem
43options		TMPFS
44options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
45options		SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
46options		KTRACE
47options		SYSVSHM			#SYSV-style shared memory
48options		SYSVMSG			#SYSV-style message queues
49options		SYSVSEM			#SYSV-style semaphores
50options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
51options		KBD_INSTALL_CDEV
52options		PREEMPTION
53options		FREEBSD_BOOT_LOADER
54options 	VFP		# vfp/neon
55
56# Debugging
57makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
58options		BREAK_TO_DEBUGGER
59#options	VERBOSE_SYSINIT		#Enable verbose sysinit messages
60options		KDB
61options		DDB			#Enable the kernel debugger
62options		INVARIANTS		#Enable calls of extra sanity checking
63options		INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
64#options	WITNESS			#Enable checks to detect deadlocks and cycles
65#options	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
66options		DIAGNOSTIC
67
68# NFS support
69options		NFSCL			#Network Filesystem Client
70options		NFSLOCKD		#Network Lock Manager
71options		NFS_ROOT		#NFS usable as /, requires NFSCLIENT
72
73# Uncomment this for NFS root
74#options	NFS_ROOT		#NFS usable as /, requires NFSCL
75#options	BOOTP_NFSROOT
76#options	BOOTP_COMPAT
77#options	BOOTP
78#options	BOOTP_NFSV3
79#options	BOOTP_WIRED_TO=ffec0
80
81device		mmc			# mmc/sd bus
82device		mmcsd			# mmc/sd flash cards
83device		sdhci			# generic sdhci
84
85#options		ROOTDEVNAME=\"nfs:10.5.0.1:/tftpboot/cosmic\"
86#options		ROOTDEVNAME=\"nandfs:/dev/gnand0s.root\"
87options		ROOTDEVNAME=\"ufs:/dev/da0\"
88
89#options	SMP
90
91# Pseudo devices
92
93device		loop
94device		random
95device		pty
96device		md
97device		gpio
98
99# USB support
100options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
101device		usb
102options		USB_DEBUG
103#options	USB_REQ_DEBUG
104#options	USB_VERBOSE
105#device		musb
106device		ehci
107#device		ohci
108
109device		umass
110device		scbus			# SCSI bus (required for SCSI)
111device		da			# Direct Access (disks)
112device		pass
113
114# SATA
115#device		ata
116#device		atadisk
117#device		mvs
118
119device		nand
120
121# Serial ports
122device		uart
123
124# I2C (TWSI)
125#device		iic
126#device		iicbus
127
128# Ethernet
129device		ether
130device		ffec
131
132# USB ethernet support, requires miibus
133device		miibus
134device		axe			# ASIX Electronics USB Ethernet
135device		bpf			# Berkeley packet filter
136
137#FDT
138options		FDT
139options		FDT_DTB_STATIC
140makeoptions	FDT_DTS_FILE=vybrid-cosmic.dts
141