A10 revision 285090
1#
2# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
3# platform, check out http://www.cubieboard.org
4#
5# For more information on this file, please read the config(5) manual page,
6# and/or the handbook section on Kernel Configuration Files:
7#
8#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9#
10# The handbook is also available locally in /usr/share/doc/handbook
11# if you've installed the doc distribution, otherwise always see the
12# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13# latest information.
14#
15# An exhaustive list of options and more detailed explanations of the
16# device lines is also present in the ../../conf/NOTES and NOTES files.
17# If you are in doubt as to the purpose or necessity of a line, check first
18# in NOTES.
19#
20# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 285090 2015-07-03 14:11:01Z loos $
21
22ident		CUBIEBOARD2
23
24include 	"std.armv6"
25include 	"../allwinner/a20/std.a20"
26
27options 	HZ=100
28options 	SCHED_ULE		# ULE scheduler
29options 	SMP			# Enable multiple cores
30
31# Debugging for use in -current
32makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
33options 	ALT_BREAK_TO_DEBUGGER
34#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
35options 	KDB			# Enable kernel debugger support
36# For minimum debugger support (stable branch) use:
37#options 	KDB_TRACE		# Print a stack trace for a panic
38# For full debugger support use this instead:
39options 	DDB			# Enable the kernel debugger
40options 	INVARIANTS		# Enable calls of extra sanity checking
41options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
42options 	WITNESS			# Enable checks to detect deadlocks and cycles
43options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
44#options 	DIAGNOSTIC
45
46# NFS root from boopt/dhcp
47#options 	BOOTP
48#options 	BOOTP_NFSROOT
49#options 	BOOTP_COMPAT
50#options 	BOOTP_NFSV3
51#options 	BOOTP_WIRED_TO=cpsw0
52
53# Boot device is 2nd slice on MMC/SD card
54options 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
55
56# Interrupt controller
57device		gic
58
59# MMC/SD/SDIO Card slot support
60device		mmc			# mmc/sd bus
61device		mmcsd			# mmc/sd flash cards
62
63# ATA controllers
64device		ahci			# AHCI-compatible SATA controllers
65#device		ata			# Legacy ATA/SATA controllers
66#options 	ATA_STATIC_ID		# Static device numbering
67
68# Console and misc
69device		uart
70device		uart_ns8250
71device		pty
72device		snp
73device		md
74device		random			# Entropy device
75
76# I2C support
77#device		iicbus
78#device		iic
79
80# GPIO
81device		gpio
82
83device		scbus			# SCSI bus (required for ATA/SCSI)
84device		da			# Direct Access (disks)
85device		pass			# Passthrough device (direct ATA/SCSI access)
86
87# USB support
88options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
89device		usb
90options 	USB_DEBUG
91#options 	USB_REQ_DEBUG
92#options 	USB_VERBOSE
93#device		uhci
94#device		ohci
95device		ehci
96
97device		umass
98
99# Ethernet
100device		loop
101device		ether
102device		mii
103device		bpf
104
105device		emac
106
107# USB ethernet support, requires miibus
108device		miibus
109
110# Flattened Device Tree
111options 	FDT			# Configure using FDT/DTB data
112options 	FDT_DTB_STATIC
113makeoptions	FDT_DTS_FILE=cubieboard2.dts
114makeoptions	MODULES_EXTRA=dtb/allwinner
115