CUBIEBOARD revision 253845
1245450Sganbold# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
2245450Sganbold# platform, check out http://www.cubieboard.org
3245450Sganbold#
4245450Sganbold# For more information on this file, please read the handbook section on
5245450Sganbold# Kernel Configuration Files:
6245450Sganbold#
7245450Sganbold#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8245450Sganbold#
9245450Sganbold# The handbook is also available locally in /usr/share/doc/handbook
10245450Sganbold# if you've installed the doc distribution, otherwise always see the
11245450Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12245450Sganbold# latest information.
13245450Sganbold#
14245450Sganbold# An exhaustive list of options and more detailed explanations of the
15245450Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files.
16245450Sganbold# If you are in doubt as to the purpose or necessity of a line, check first
17245450Sganbold# in NOTES.
18245450Sganbold#
19245450Sganbold# $FreeBSD: head/sys/arm/conf/CUBIEBOARD 253845 2013-07-31 17:21:18Z obrien $
20245450Sganbold
21245450Sganboldident		CUBIEBOARD
22245450Sganbold
23245450Sganboldinclude		"../allwinner/std.a10"
24245450Sganbold
25245450Sganboldmakeoptions	MODULES_OVERRIDE=""
26245450Sganboldmakeoptions	WITHOUT_MODULES="ahc"
27245450Sganbold
28245450Sganboldoptions 	HZ=100
29245450Sganboldoptions 	SCHED_4BSD		#4BSD scheduler
30245450Sganboldoptions 	INET			#InterNETworking
31245450Sganboldoptions 	INET6			#IPv6 communications protocols
32245450Sganboldoptions 	FFS			#Berkeley Fast Filesystem
33245450Sganboldoptions 	SOFTUPDATES		#Enable FFS soft updates support
34245450Sganboldoptions 	UFS_ACL			#Support for access control lists
35245450Sganboldoptions 	UFS_DIRHASH		#Improve performance on big directories
36245450Sganboldoptions 	MSDOSFS			#MSDOS Filesystem
37245450Sganboldoptions 	CD9660			#ISO 9660 Filesystem
38245450Sganboldoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
39245450Sganboldoptions 	PSEUDOFS		#Pseudo-filesystem framework
40245450Sganboldoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
41245450Sganboldoptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
42245450Sganboldoptions 	KTRACE			#ktrace(1) support
43245450Sganboldoptions 	SYSVSHM			#SYSV-style shared memory
44245450Sganboldoptions 	SYSVMSG			#SYSV-style message queues
45245450Sganboldoptions 	SYSVSEM			#SYSV-style semaphores
46245450Sganboldoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47245450Sganboldoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
48245450Sganboldoptions 	PREEMPTION
49245450Sganboldoptions 	FREEBSD_BOOT_LOADER
50245450Sganbold
51245450Sganbold# Debugging
52245450Sganboldmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
53245450Sganboldoptions 	BREAK_TO_DEBUGGER
54245450Sganbold#options 	VERBOSE_SYSINIT		#Enable verbose sysinit messages
55245450Sganboldoptions 	KDB
56245450Sganboldoptions 	DDB			#Enable the kernel debugger
57245450Sganboldoptions 	INVARIANTS		#Enable calls of extra sanity checking
58245450Sganboldoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
59245450Sganboldoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
60245450Sganboldoptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
61245450Sganbold#options 	DIAGNOSTIC
62245450Sganbold
63245450Sganbold# NFS support
64245450Sganbold#options 	NFSCL
65245450Sganbold#options 	NFSSERVER		#Network Filesystem Server
66245450Sganbold#options 	NFSCLIENT		#Network Filesystem Client
67245450Sganbold
68245450Sganbold# Uncomment this for NFS root
69245450Sganbold#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
70245450Sganbold#options 	BOOTP_NFSROOT
71245450Sganbold#options 	BOOTP_COMPAT
72245450Sganbold#options 	BOOTP
73245450Sganbold#options 	BOOTP_NFSV3
74245450Sganbold#options 	BOOTP_WIRED_TO=cpsw0
75245450Sganbold
76245450Sganbold# MMC/SD/SDIO card slot support
77245450Sganbold#device		mmc			# mmc/sd bus
78245450Sganbold#device		mmcsd			# mmc/sd flash cards
79245450Sganbold
80245450Sganbold# Boot device is 2nd slice on MMC/SD card
81246057Sganboldoptions		ROOTDEVNAME=\"ufs:/dev/da0s2\"
82245450Sganbold
83245450Sganbold# ATA controllers
84245450Sganbold#device		ahci		# AHCI-compatible SATA controllers
85245450Sganbold#device		ata		# Legacy ATA/SATA controllers
86245450Sganbold#options	ATA_STATIC_ID	# Static device numbering
87245450Sganbold
88245450Sganbold# Console and misc
89247520Sganbolddevice		uart
90247520Sganbolddevice		uart_ns8250
91245450Sganbolddevice		pty
92245450Sganbolddevice		snp
93245450Sganbolddevice		md
94245450Sganbolddevice		random			# Entropy device
95245450Sganbold
96245450Sganbold# I2C support
97245450Sganbold#device		iicbus
98245450Sganbold#device		iic
99245450Sganbold
100245450Sganbold# GPIO
101246342Sganbolddevice		gpio
102245450Sganbold
103245450Sganbolddevice		scbus			# SCSI bus (required for SCSI)
104245450Sganbolddevice		da			# Direct Access (disks)
105245450Sganbolddevice		pass
106245450Sganbold
107245450Sganbold# USB support
108246057Sganbolddevice		usb
109246057Sganboldoptions 	USB_DEBUG
110245450Sganbold#options 	USB_REQ_DEBUG
111245450Sganbold#options 	USB_VERBOSE
112245450Sganbold#device		uhci
113245450Sganbold#device		ohci
114246057Sganbolddevice		ehci
115245450Sganbold
116246057Sganbolddevice		umass
117245450Sganbold
118245450Sganbold# Ethernet
119245450Sganbolddevice		loop
120245450Sganbolddevice		ether
121245450Sganbolddevice		mii
122245450Sganbolddevice		smscphy
123245450Sganbold#device		cpsw
124245450Sganbolddevice		bpf
125245450Sganbold
126245450Sganbold# USB ethernet support, requires miibus
127245450Sganbolddevice		miibus
128245450Sganbold
129245450Sganbold# Flattened Device Tree
130245450Sganboldoptions		FDT
131245450Sganboldoptions		FDT_DTB_STATIC
132245450Sganboldmakeoptions	FDT_DTS_FILE=cubieboard.dts
133253845Sobrien
134