CUBIEBOARD2 revision 283368
1278699Sian#
2254056Sganbold# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
3254056Sganbold# platform, check out http://www.cubieboard.org
4254056Sganbold#
5278699Sian# For more information on this file, please read the config(5) manual page,
6278699Sian# and/or the handbook section on Kernel Configuration Files:
7254056Sganbold#
8254056Sganbold#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9254056Sganbold#
10254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook
11254056Sganbold# if you've installed the doc distribution, otherwise always see the
12254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13254056Sganbold# latest information.
14254056Sganbold#
15254056Sganbold# An exhaustive list of options and more detailed explanations of the
16254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files.
17254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first
18254056Sganbold# in NOTES.
19254056Sganbold#
20254056Sganbold# $FreeBSD: stable/10/sys/arm/conf/CUBIEBOARD2 283368 2015-05-24 14:25:03Z ian $
21254056Sganbold
22254056Sganboldident		CUBIEBOARD2
23254056Sganbold
24278692Sianinclude		"../allwinner/a20/std.a20"
25254056Sganbold
26254056Sganboldmakeoptions	MODULES_OVERRIDE=""
27254056Sganboldmakeoptions	WITHOUT_MODULES="ahc"
28254056Sganbold
29254056Sganboldoptions 	HZ=100
30278677Sianoptions 	SCHED_ULE		# ULE scheduler
31278699Sianoptions 	PREEMPTION		# Enable kernel thread preemption
32266328Sianoptions 	INET			# InterNETworking
33266328Sianoptions 	INET6			# IPv6 communications protocols
34278699Sianoptions 	SCTP			# Stream Control Transmission Protocol
35266328Sianoptions 	FFS			# Berkeley Fast Filesystem
36266328Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
37278692Sianoptions 	UFS_ACL			# Support for access control lists
38266328Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
39278699Sianoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
40278699Sianoptions 	QUOTA			# Enable disk quotas for UFS
41278699Sianoptions 	NFSCL			# New Network Filesystem Client
42278699Sianoptions 	NFSLOCKD		# Network Lock Manager
43278699Sianoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44278692Sianoptions 	MSDOSFS			# MSDOS Filesystem
45266328Sianoptions 	CD9660			# ISO 9660 Filesystem
46266328Sianoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
47266328Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
48278699Sianoptions 	TMPFS			# Efficient memory filesystem
49278699Sianoptions 	GEOM_PART_GPT		# GUID Partition Tables
50278699Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
51278699Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
52266328Sianoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
53266328Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54266328Sianoptions 	KTRACE			# ktrace(1) support
55278692Sianoptions 	SYSVSHM			# SYSV-style shared memory
56278692Sianoptions 	SYSVMSG			# SYSV-style message queues
57278692Sianoptions 	SYSVSEM			# SYSV-style semaphores
58278699Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
59254056Sganboldoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
60278699Sianoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
61278699Sianoptions 	VFP			# Enable floating point hardware support
62278699Sianoptions 	SMP			# Enable multiple cores
63254056Sganbold
64278699Sian# Debugging for use in -current
65266328Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
66254056Sganboldoptions 	BREAK_TO_DEBUGGER
67266328Sian#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
68278699Sianoptions 	KDB			# Enable kernel debugger support
69278699Sian# For minimum debugger support (stable branch) use:
70278699Sian#options 	KDB_TRACE		# Print a stack trace for a panic
71278699Sian# For full debugger support use this instead:
72266328Sianoptions 	DDB			# Enable the kernel debugger
73271428Sian#options 	INVARIANTS		# Enable calls of extra sanity checking
74271428Sian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
75271428Sian#options 	WITNESS 		# Enable checks to detect deadlocks and cycles
76271428Sian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
77254056Sganbold#options 	DIAGNOSTIC
78254056Sganbold
79278699Sian# NFS root from boopt/dhcp
80278699Sian#options 	BOOTP
81254056Sganbold#options 	BOOTP_NFSROOT
82254056Sganbold#options 	BOOTP_COMPAT
83254056Sganbold#options 	BOOTP_NFSV3
84254056Sganbold#options 	BOOTP_WIRED_TO=cpsw0
85254056Sganbold
86278699Sian# Boot device is 2nd slice on MMC/SD card
87278699Sianoptions 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
88278699Sian
89278699Sian# MMC/SD/SDIO Card slot support
90278692Sian#device		mmc			# mmc/sd bus
91278692Sian#device		mmcsd			# mmc/sd flash cards
92254056Sganbold
93254056Sganbold# ATA controllers
94278692Sian#device		ahci			# AHCI-compatible SATA controllers
95278692Sian#device		ata			# Legacy ATA/SATA controllers
96283368Sian#options 	ATA_STATIC_ID		# Static device numbering
97254056Sganbold
98254056Sganbold# Console and misc
99254056Sganbolddevice		uart
100254056Sganbolddevice		uart_ns8250
101254056Sganbolddevice		pty
102254056Sganbolddevice		snp
103254056Sganbolddevice		md
104254056Sganbolddevice		random			# Entropy device
105254056Sganbold
106254056Sganbold# I2C support
107278692Sian#device		iicbus
108278692Sian#device		iic
109254056Sganbold
110254056Sganbold# GPIO
111254056Sganbolddevice		gpio
112254056Sganbold
113278676Siandevice		scbus			# SCSI bus (required for ATA/SCSI)
114254056Sganbolddevice		da			# Direct Access (disks)
115254056Sganbolddevice		pass
116254056Sganbold
117254056Sganbold# USB support
118266086Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
119254056Sganbolddevice		usb
120254056Sganboldoptions 	USB_DEBUG
121254056Sganbold#options 	USB_REQ_DEBUG
122254056Sganbold#options 	USB_VERBOSE
123278692Sian#device		uhci
124278692Sian#device		ohci
125254056Sganbolddevice		ehci
126254056Sganbold
127254056Sganbolddevice		umass
128254056Sganbold
129254056Sganbold# Ethernet
130254056Sganbolddevice		loop
131254056Sganbolddevice		ether
132254056Sganbolddevice		mii
133254056Sganbolddevice		smscphy
134278692Sian#device		cpsw
135254056Sganbolddevice		bpf
136254056Sganbold
137266274Siandevice		emac
138266274Sian
139254056Sganbold# USB ethernet support, requires miibus
140254056Sganbolddevice		miibus
141254056Sganbold
142254056Sganbold# Flattened Device Tree
143278699Sianoptions 	FDT			# Configure using FDT/DTB data
144254056Sganboldoptions 	FDT_DTB_STATIC
145254056Sganboldmakeoptions	FDT_DTS_FILE=cubieboard2.dts
146254056Sganbold
147