CUBIEBOARD revision 266274
1# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
2# platform, check out http://www.cubieboard.org
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD: stable/10/sys/arm/conf/CUBIEBOARD 266274 2014-05-16 23:27:18Z ian $
20
21ident		CUBIEBOARD
22
23include		"../allwinner/std.a10"
24
25makeoptions	MODULES_OVERRIDE=""
26makeoptions	WITHOUT_MODULES="ahc"
27
28options 	HZ=100
29options 	SCHED_4BSD		#4BSD scheduler
30options 	INET			#InterNETworking
31options 	INET6			#IPv6 communications protocols
32options 	FFS			#Berkeley Fast Filesystem
33options 	SOFTUPDATES		#Enable FFS soft updates support
34options 	UFS_ACL			#Support for access control lists
35options 	UFS_DIRHASH		#Improve performance on big directories
36options 	MSDOSFS			#MSDOS Filesystem
37options 	CD9660			#ISO 9660 Filesystem
38options 	PROCFS			#Process filesystem (requires PSEUDOFS)
39options 	PSEUDOFS		#Pseudo-filesystem framework
40options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
41options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
42options 	KTRACE			#ktrace(1) support
43options 	SYSVSHM			#SYSV-style shared memory
44options 	SYSVMSG			#SYSV-style message queues
45options 	SYSVSEM			#SYSV-style semaphores
46options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
48options 	PREEMPTION
49options 	FREEBSD_BOOT_LOADER
50options 	VFP		# vfp/neon
51
52# Debugging
53makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
54options 	BREAK_TO_DEBUGGER
55#options 	VERBOSE_SYSINIT		#Enable verbose sysinit messages
56options 	KDB
57options 	DDB			#Enable the kernel debugger
58options 	INVARIANTS		#Enable calls of extra sanity checking
59options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
60options 	WITNESS			#Enable checks to detect deadlocks and cycles
61options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
62#options 	DIAGNOSTIC
63
64# NFS support
65#options 	NFSCL
66#options 	NFSSERVER		#Network Filesystem Server
67#options 	NFSCLIENT		#Network Filesystem Client
68
69# Uncomment this for NFS root
70#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
71#options 	BOOTP_NFSROOT
72#options 	BOOTP_COMPAT
73#options 	BOOTP
74#options 	BOOTP_NFSV3
75#options 	BOOTP_WIRED_TO=cpsw0
76
77# MMC/SD/SDIO card slot support
78#device		mmc			# mmc/sd bus
79#device		mmcsd			# mmc/sd flash cards
80
81# Boot device is 2nd slice on MMC/SD card
82options		ROOTDEVNAME=\"ufs:/dev/da0s2\"
83
84# ATA controllers
85#device		ahci		# AHCI-compatible SATA controllers
86#device		ata		# Legacy ATA/SATA controllers
87#options	ATA_STATIC_ID	# Static device numbering
88
89# Console and misc
90device		uart
91device		uart_ns8250
92device		pty
93device		snp
94device		md
95device		random			# Entropy device
96
97# I2C support
98#device		iicbus
99#device		iic
100
101# GPIO
102device		gpio
103
104device		scbus			# SCSI bus (required for SCSI)
105device		da			# Direct Access (disks)
106device		pass
107
108# USB support
109options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
110device		usb
111options 	USB_DEBUG
112#options 	USB_REQ_DEBUG
113#options 	USB_VERBOSE
114#device		uhci
115#device		ohci
116device		ehci
117
118device		umass
119
120# Ethernet
121device		loop
122device		ether
123device		mii
124device		smscphy
125#device		cpsw
126device		bpf
127
128device		emac
129
130# USB ethernet support, requires miibus
131device		miibus
132
133# Flattened Device Tree
134options		FDT
135options		FDT_DTB_STATIC
136makeoptions	FDT_DTS_FILE=cubieboard.dts
137
138