CUBIEBOARD revision 245450
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 245450 2013-01-15 08:26:16Z ganbold $
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
81245450Sganbold#options	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_CAM		# Handle legacy controllers with CAM
87245450Sganbold#options	ATA_STATIC_ID	# Static device numbering
88245450Sganbold
89245450Sganbold# Console and misc
90245450Sganbold#device		uart
91245450Sganbold#device		uart_ns8250
92245450Sganbolddevice		pty
93245450Sganbolddevice		snp
94245450Sganbolddevice		md
95245450Sganbolddevice		random			# Entropy device
96245450Sganbold
97245450Sganbold# I2C support
98245450Sganbold#device		iicbus
99245450Sganbold#device		iic
100245450Sganbold
101245450Sganbold# GPIO
102245450Sganbold#device		gpio
103245450Sganbold
104245450Sganbolddevice		scbus			# SCSI bus (required for SCSI)
105245450Sganbolddevice		da			# Direct Access (disks)
106245450Sganbolddevice		pass
107245450Sganbold
108245450Sganbold# USB support
109245450Sganbold#device		usb
110245450Sganbold#options 	USB_DEBUG
111245450Sganbold#options 	USB_REQ_DEBUG
112245450Sganbold#options 	USB_VERBOSE
113245450Sganbold#device		uhci
114245450Sganbold#device		ohci
115245450Sganbold#device		ehci
116245450Sganbold
117245450Sganbold#device		umass
118245450Sganbold
119245450Sganbold# Ethernet
120245450Sganbolddevice		loop
121245450Sganbolddevice		ether
122245450Sganbolddevice		mii
123245450Sganbolddevice		smscphy
124245450Sganbold#device		cpsw
125245450Sganbolddevice		bpf
126245450Sganbold
127245450Sganbold# USB ethernet support, requires miibus
128245450Sganbolddevice		miibus
129245450Sganbold
130245450Sganbold# Flattened Device Tree
131245450Sganboldoptions		FDT
132245450Sganboldoptions		FDT_DTB_STATIC
133245450Sganboldmakeoptions	FDT_DTS_FILE=cubieboard.dts
134245450Sganbold
135