CUBIEBOARD revision 266274
1226031Sstas# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
2226031Sstas# platform, check out http://www.cubieboard.org
3226031Sstas#
4226031Sstas# For more information on this file, please read the handbook section on
5226031Sstas# Kernel Configuration Files:
6226031Sstas#
7226031Sstas#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8226031Sstas#
9226031Sstas# The handbook is also available locally in /usr/share/doc/handbook
10226031Sstas# if you've installed the doc distribution, otherwise always see the
11226031Sstas# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12226031Sstas# latest information.
13226031Sstas#
14226031Sstas# An exhaustive list of options and more detailed explanations of the
15226031Sstas# device lines is also present in the ../../conf/NOTES and NOTES files.
16226031Sstas# If you are in doubt as to the purpose or necessity of a line, check first
17226031Sstas# in NOTES.
18226031Sstas#
19226031Sstas# $FreeBSD: stable/10/sys/arm/conf/CUBIEBOARD 266274 2014-05-16 23:27:18Z ian $
20226031Sstas
21226031Sstasident		CUBIEBOARD
22226031Sstas
23226031Sstasinclude		"../allwinner/std.a10"
24226031Sstas
25226031Sstasmakeoptions	MODULES_OVERRIDE=""
26226031Sstasmakeoptions	WITHOUT_MODULES="ahc"
27226031Sstas
28226031Sstasoptions 	HZ=100
29226031Sstasoptions 	SCHED_4BSD		#4BSD scheduler
30226031Sstasoptions 	INET			#InterNETworking
31226031Sstasoptions 	INET6			#IPv6 communications protocols
32226031Sstasoptions 	FFS			#Berkeley Fast Filesystem
33226031Sstasoptions 	SOFTUPDATES		#Enable FFS soft updates support
34226031Sstasoptions 	UFS_ACL			#Support for access control lists
35226031Sstasoptions 	UFS_DIRHASH		#Improve performance on big directories
36226031Sstasoptions 	MSDOSFS			#MSDOS Filesystem
37226031Sstasoptions 	CD9660			#ISO 9660 Filesystem
38226031Sstasoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
39226031Sstasoptions 	PSEUDOFS		#Pseudo-filesystem framework
40226031Sstasoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
41226031Sstasoptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
42226031Sstasoptions 	KTRACE			#ktrace(1) support
43226031Sstasoptions 	SYSVSHM			#SYSV-style shared memory
44226031Sstasoptions 	SYSVMSG			#SYSV-style message queues
45226031Sstasoptions 	SYSVSEM			#SYSV-style semaphores
46226031Sstasoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47226031Sstasoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
48226031Sstasoptions 	PREEMPTION
49226031Sstasoptions 	FREEBSD_BOOT_LOADER
50226031Sstasoptions 	VFP		# vfp/neon
51226031Sstas
52226031Sstas# Debugging
53226031Sstasmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
54226031Sstasoptions 	BREAK_TO_DEBUGGER
55226031Sstas#options 	VERBOSE_SYSINIT		#Enable verbose sysinit messages
56226031Sstasoptions 	KDB
57226031Sstasoptions 	DDB			#Enable the kernel debugger
58226031Sstasoptions 	INVARIANTS		#Enable calls of extra sanity checking
59226031Sstasoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
60226031Sstasoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
61226031Sstasoptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
62226031Sstas#options 	DIAGNOSTIC
63226031Sstas
64226031Sstas# NFS support
65226031Sstas#options 	NFSCL
66226031Sstas#options 	NFSSERVER		#Network Filesystem Server
67226031Sstas#options 	NFSCLIENT		#Network Filesystem Client
68226031Sstas
69226031Sstas# Uncomment this for NFS root
70226031Sstas#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
71226031Sstas#options 	BOOTP_NFSROOT
72226031Sstas#options 	BOOTP_COMPAT
73226031Sstas#options 	BOOTP
74226031Sstas#options 	BOOTP_NFSV3
75226031Sstas#options 	BOOTP_WIRED_TO=cpsw0
76226031Sstas
77226031Sstas# MMC/SD/SDIO card slot support
78226031Sstas#device		mmc			# mmc/sd bus
79226031Sstas#device		mmcsd			# mmc/sd flash cards
80226031Sstas
81226031Sstas# Boot device is 2nd slice on MMC/SD card
82226031Sstasoptions		ROOTDEVNAME=\"ufs:/dev/da0s2\"
83226031Sstas
84226031Sstas# ATA controllers
85226031Sstas#device		ahci		# AHCI-compatible SATA controllers
86226031Sstas#device		ata		# Legacy ATA/SATA controllers
87226031Sstas#options	ATA_STATIC_ID	# Static device numbering
88226031Sstas
89226031Sstas# Console and misc
90226031Sstasdevice		uart
91226031Sstasdevice		uart_ns8250
92226031Sstasdevice		pty
93226031Sstasdevice		snp
94226031Sstasdevice		md
95226031Sstasdevice		random			# Entropy device
96226031Sstas
97226031Sstas# I2C support
98226031Sstas#device		iicbus
99226031Sstas#device		iic
100226031Sstas
101226031Sstas# GPIO
102226031Sstasdevice		gpio
103226031Sstas
104226031Sstasdevice		scbus			# SCSI bus (required for SCSI)
105226031Sstasdevice		da			# Direct Access (disks)
106226031Sstasdevice		pass
107226031Sstas
108226031Sstas# USB support
109226031Sstasoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
110226031Sstasdevice		usb
111226031Sstasoptions 	USB_DEBUG
112226031Sstas#options 	USB_REQ_DEBUG
113226031Sstas#options 	USB_VERBOSE
114226031Sstas#device		uhci
115226031Sstas#device		ohci
116226031Sstasdevice		ehci
117226031Sstas
118226031Sstasdevice		umass
119226031Sstas
120226031Sstas# Ethernet
121226031Sstasdevice		loop
122226031Sstasdevice		ether
123226031Sstasdevice		mii
124226031Sstasdevice		smscphy
125226031Sstas#device		cpsw
126226031Sstasdevice		bpf
127226031Sstas
128226031Sstasdevice		emac
129226031Sstas
130226031Sstas# USB ethernet support, requires miibus
131226031Sstasdevice		miibus
132226031Sstas
133226031Sstas# Flattened Device Tree
134226031Sstasoptions		FDT
135226031Sstasoptions		FDT_DTB_STATIC
136226031Sstasmakeoptions	FDT_DTS_FILE=cubieboard.dts
137226031Sstas
138226031Sstas