CUBIEBOARD2 revision 254056
1254056Sganbold# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
2254056Sganbold# platform, check out http://www.cubieboard.org
3254056Sganbold#
4254056Sganbold# For more information on this file, please read the handbook section on
5254056Sganbold# Kernel Configuration Files:
6254056Sganbold#
7254056Sganbold#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8254056Sganbold#
9254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook
10254056Sganbold# if you've installed the doc distribution, otherwise always see the
11254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12254056Sganbold# latest information.
13254056Sganbold#
14254056Sganbold# An exhaustive list of options and more detailed explanations of the
15254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files.
16254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first
17254056Sganbold# in NOTES.
18254056Sganbold#
19254056Sganbold# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 254056 2013-08-07 11:07:56Z ganbold $
20254056Sganbold
21254056Sganboldident		CUBIEBOARD2
22254056Sganbold
23254056Sganboldinclude 	"../allwinner/a20/std.a20"
24254056Sganbold
25254056Sganboldmakeoptions	MODULES_OVERRIDE=""
26254056Sganboldmakeoptions	WITHOUT_MODULES="ahc"
27254056Sganbold
28254056Sganboldoptions 	HZ=100
29254056Sganboldoptions 	SCHED_4BSD		#4BSD scheduler
30254056Sganboldoptions 	INET			#InterNETworking
31254056Sganboldoptions 	INET6			#IPv6 communications protocols
32254056Sganboldoptions 	FFS			#Berkeley Fast Filesystem
33254056Sganboldoptions 	SOFTUPDATES		#Enable FFS soft updates support
34254056Sganboldoptions 	UFS_ACL 		#Support for access control lists
35254056Sganboldoptions 	UFS_DIRHASH		#Improve performance on big directories
36254056Sganboldoptions 	MSDOSFS 		#MSDOS Filesystem
37254056Sganboldoptions 	CD9660			#ISO 9660 Filesystem
38254056Sganboldoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
39254056Sganboldoptions 	PSEUDOFS		#Pseudo-filesystem framework
40254056Sganboldoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
41254056Sganboldoptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
42254056Sganboldoptions 	KTRACE			#ktrace(1) support
43254056Sganboldoptions 	SYSVSHM 		#SYSV-style shared memory
44254056Sganboldoptions 	SYSVMSG 		#SYSV-style message queues
45254056Sganboldoptions 	SYSVSEM 		#SYSV-style semaphores
46254056Sganboldoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47254056Sganboldoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
48254056Sganboldoptions 	PREEMPTION
49254056Sganboldoptions 	FREEBSD_BOOT_LOADER
50254056Sganbold
51254056Sganbold# Debugging
52254056Sganboldmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
53254056Sganboldoptions 	BREAK_TO_DEBUGGER
54254056Sganbold#options 	VERBOSE_SYSINIT		#Enable verbose sysinit messages
55254056Sganboldoptions 	KDB
56254056Sganboldoptions 	DDB			#Enable the kernel debugger
57254056Sganboldoptions 	INVARIANTS		#Enable calls of extra sanity checking
58254056Sganboldoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
59254056Sganboldoptions 	WITNESS 		#Enable checks to detect deadlocks and cycles
60254056Sganboldoptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
61254056Sganbold#options 	DIAGNOSTIC
62254056Sganbold
63254056Sganbold# NFS support
64254056Sganbold#options 	NFSCL
65254056Sganbold#options 	NFSSERVER		#Network Filesystem Server
66254056Sganbold#options 	NFSCLIENT		#Network Filesystem Client
67254056Sganbold
68254056Sganbold# Uncomment this for NFS root
69254056Sganbold#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
70254056Sganbold#options 	BOOTP_NFSROOT
71254056Sganbold#options 	BOOTP_COMPAT
72254056Sganbold#options 	BOOTP
73254056Sganbold#options 	BOOTP_NFSV3
74254056Sganbold#options 	BOOTP_WIRED_TO=cpsw0
75254056Sganbold
76254056Sganbold# MMC/SD/SDIO card slot support
77254056Sganbold#device 	mmc			# mmc/sd bus
78254056Sganbold#device 	mmcsd			# mmc/sd flash cards
79254056Sganbold
80254056Sganbold# Boot device is 2nd slice on MMC/SD card
81254056Sganboldoptions 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
82254056Sganbold
83254056Sganbold# ATA controllers
84254056Sganbold#device 	ahci		# AHCI-compatible SATA controllers
85254056Sganbold#device 	ata		# Legacy ATA/SATA controllers
86254056Sganbold#options	ATA_STATIC_ID	# Static device numbering
87254056Sganbold
88254056Sganbold# Console and misc
89254056Sganbolddevice		uart
90254056Sganbolddevice		uart_ns8250
91254056Sganbolddevice		pty
92254056Sganbolddevice		snp
93254056Sganbolddevice		md
94254056Sganbolddevice		random			# Entropy device
95254056Sganbold
96254056Sganbold# I2C support
97254056Sganbold#device 	iicbus
98254056Sganbold#device 	iic
99254056Sganbold
100254056Sganbold# GPIO
101254056Sganbolddevice		gpio
102254056Sganbold
103254056Sganbolddevice		scbus			# SCSI bus (required for SCSI)
104254056Sganbolddevice		da			# Direct Access (disks)
105254056Sganbolddevice		pass
106254056Sganbold
107254056Sganbold# USB support
108254056Sganbolddevice		usb
109254056Sganboldoptions 	USB_DEBUG
110254056Sganbold#options 	USB_REQ_DEBUG
111254056Sganbold#options 	USB_VERBOSE
112254056Sganbold#device 	uhci
113254056Sganbold#device 	ohci
114254056Sganbolddevice		ehci
115254056Sganbold
116254056Sganbolddevice		umass
117254056Sganbold
118254056Sganbold# Ethernet
119254056Sganbolddevice		loop
120254056Sganbolddevice		ether
121254056Sganbolddevice		mii
122254056Sganbolddevice		smscphy
123254056Sganbold#device 	cpsw
124254056Sganbolddevice		bpf
125254056Sganbold
126254056Sganbold# USB ethernet support, requires miibus
127254056Sganbolddevice		miibus
128254056Sganbold
129254056Sganbold# Flattened Device Tree
130254056Sganboldoptions 	FDT
131254056Sganboldoptions 	FDT_DTB_STATIC
132254056Sganboldmakeoptions	FDT_DTS_FILE=cubieboard2.dts
133254056Sganbold
134