CUBIEBOARD2 revision 266328
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: stable/10/sys/arm/conf/CUBIEBOARD2 266328 2014-05-17 16:46:15Z ian $
20254056Sganbold
21254056Sganboldident		CUBIEBOARD2
22254056Sganbold
23254056Sganboldinclude 	"../allwinner/a20/std.a20"
24254056Sganbold
25254056Sganboldmakeoptions	MODULES_OVERRIDE=""
26254056Sganboldmakeoptions	WITHOUT_MODULES="ahc"
27254056Sganbold
28254056Sganboldoptions 	HZ=100
29266328Sianoptions 	SCHED_4BSD		# 4BSD scheduler
30266328Sianoptions 	INET			# InterNETworking
31266328Sianoptions 	INET6			# IPv6 communications protocols
32266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
33266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
34266328Sianoptions		TMPFS			# Efficient memory filesystem
35266328Sianoptions 	FFS			# Berkeley Fast Filesystem
36266328Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
37266328Sianoptions 	UFS_ACL 		# Support for access control lists
38266328Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
39266328Sianoptions 	MSDOSFS 		# MSDOS Filesystem
40266328Sianoptions 	CD9660			# ISO 9660 Filesystem
41266328Sianoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
42266328Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
43266328Sianoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
44266328Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
45266328Sianoptions 	KTRACE			# ktrace(1) support
46266328Sianoptions 	SYSVSHM 		# SYSV-style shared memory
47266328Sianoptions 	SYSVMSG 		# SYSV-style message queues
48266328Sianoptions 	SYSVSEM 		# SYSV-style semaphores
49266328Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
50254056Sganboldoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
51254056Sganboldoptions 	PREEMPTION
52254056Sganboldoptions 	FREEBSD_BOOT_LOADER
53266328Sianoptions 	VFP			# vfp/neon
54254056Sganbold
55254056Sganbold# Debugging
56266328Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
57254056Sganboldoptions 	BREAK_TO_DEBUGGER
58266328Sian#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
59254056Sganboldoptions 	KDB
60266328Sianoptions 	DDB			# Enable the kernel debugger
61266328Sianoptions 	INVARIANTS		# Enable calls of extra sanity checking
62266328Sianoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
63266328Sianoptions 	WITNESS 		# Enable checks to detect deadlocks and cycles
64266328Sianoptions 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
65254056Sganbold#options 	DIAGNOSTIC
66254056Sganbold
67254056Sganbold# NFS support
68254056Sganbold#options 	NFSCL
69266328Sian#options 	NFSSERVER		# Network Filesystem Server
70266328Sian#options 	NFSCLIENT		# Network Filesystem Client
71254056Sganbold
72254056Sganbold# Uncomment this for NFS root
73266328Sian#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
74254056Sganbold#options 	BOOTP_NFSROOT
75254056Sganbold#options 	BOOTP_COMPAT
76254056Sganbold#options 	BOOTP
77254056Sganbold#options 	BOOTP_NFSV3
78254056Sganbold#options 	BOOTP_WIRED_TO=cpsw0
79254056Sganbold
80254056Sganbold# MMC/SD/SDIO card slot support
81254056Sganbold#device 	mmc			# mmc/sd bus
82254056Sganbold#device 	mmcsd			# mmc/sd flash cards
83254056Sganbold
84254056Sganbold# Boot device is 2nd slice on MMC/SD card
85254056Sganboldoptions 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
86254056Sganbold
87254056Sganbold# ATA controllers
88266328Sian#device 	ahci			# AHCI-compatible SATA controllers
89266328Sian#device 	ata			# Legacy ATA/SATA controllers
90266328Sian#options	ATA_STATIC_ID		# Static device numbering
91254056Sganbold
92254056Sganbold# Console and misc
93254056Sganbolddevice		uart
94254056Sganbolddevice		uart_ns8250
95254056Sganbolddevice		pty
96254056Sganbolddevice		snp
97254056Sganbolddevice		md
98254056Sganbolddevice		random			# Entropy device
99254056Sganbold
100254056Sganbold# I2C support
101254056Sganbold#device 	iicbus
102254056Sganbold#device 	iic
103254056Sganbold
104254056Sganbold# GPIO
105254056Sganbolddevice		gpio
106254056Sganbold
107254056Sganbolddevice		scbus			# SCSI bus (required for SCSI)
108254056Sganbolddevice		da			# Direct Access (disks)
109254056Sganbolddevice		pass
110254056Sganbold
111254056Sganbold# USB support
112266086Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
113254056Sganbolddevice		usb
114254056Sganboldoptions 	USB_DEBUG
115254056Sganbold#options 	USB_REQ_DEBUG
116254056Sganbold#options 	USB_VERBOSE
117254056Sganbold#device 	uhci
118254056Sganbold#device 	ohci
119254056Sganbolddevice		ehci
120254056Sganbold
121254056Sganbolddevice		umass
122254056Sganbold
123254056Sganbold# Ethernet
124254056Sganbolddevice		loop
125254056Sganbolddevice		ether
126254056Sganbolddevice		mii
127254056Sganbolddevice		smscphy
128254056Sganbold#device 	cpsw
129254056Sganbolddevice		bpf
130254056Sganbold
131266274Siandevice		emac
132266274Sian
133254056Sganbold# USB ethernet support, requires miibus
134254056Sganbolddevice		miibus
135254056Sganbold
136254056Sganbold# Flattened Device Tree
137254056Sganboldoptions 	FDT
138254056Sganboldoptions 	FDT_DTB_STATIC
139254056Sganboldmakeoptions	FDT_DTS_FILE=cubieboard2.dts
140254056Sganbold
141