CUBIEBOARD revision 276003
1276003Sandrew#
2245450Sganbold# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
3245450Sganbold# platform, check out http://www.cubieboard.org
4245450Sganbold#
5276003Sandrew# For more information on this file, please read the config(5) manual page,
6276003Sandrew# and/or the handbook section on Kernel Configuration Files:
7245450Sganbold#
8245450Sganbold#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9245450Sganbold#
10245450Sganbold# The handbook is also available locally in /usr/share/doc/handbook
11245450Sganbold# if you've installed the doc distribution, otherwise always see the
12245450Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13245450Sganbold# latest information.
14245450Sganbold#
15245450Sganbold# An exhaustive list of options and more detailed explanations of the
16245450Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files.
17245450Sganbold# If you are in doubt as to the purpose or necessity of a line, check first
18245450Sganbold# in NOTES.
19245450Sganbold#
20245450Sganbold# $FreeBSD: head/sys/arm/conf/CUBIEBOARD 276003 2014-12-21 11:37:00Z andrew $
21245450Sganbold
22245450Sganboldident		CUBIEBOARD
23245450Sganbold
24245450Sganboldinclude		"../allwinner/std.a10"
25245450Sganbold
26245450Sganboldmakeoptions	MODULES_OVERRIDE=""
27245450Sganboldmakeoptions	WITHOUT_MODULES="ahc"
28245450Sganbold
29245450Sganboldoptions 	HZ=100
30263245Simpoptions 	SCHED_4BSD		# 4BSD scheduler
31276003Sandrewoptions 	PREEMPTION		# Enable kernel thread preemption
32263245Simpoptions 	INET			# InterNETworking
33263245Simpoptions 	INET6			# IPv6 communications protocols
34276003Sandrewoptions 	SCTP			# Stream Control Transmission Protocol
35263245Simpoptions 	FFS			# Berkeley Fast Filesystem
36263245Simpoptions 	SOFTUPDATES		# Enable FFS soft updates support
37263245Simpoptions 	UFS_ACL			# Support for access control lists
38263245Simpoptions 	UFS_DIRHASH		# Improve performance on big directories
39276003Sandrewoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
40276003Sandrewoptions 	QUOTA			# Enable disk quotas for UFS
41276003Sandrewoptions 	NFSCL			# New Network Filesystem Client
42276003Sandrewoptions 	NFSLOCKD		# Network Lock Manager
43276003Sandrewoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44263245Simpoptions 	MSDOSFS			# MSDOS Filesystem
45263245Simpoptions 	CD9660			# ISO 9660 Filesystem
46263245Simpoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
47263245Simpoptions 	PSEUDOFS		# Pseudo-filesystem framework
48276003Sandrewoptions 	TMPFS			# Efficient memory filesystem
49276003Sandrewoptions 	GEOM_PART_GPT		# GUID Partition Tables
50276003Sandrewoptions 	GEOM_PART_BSD		# BSD partition scheme
51276003Sandrewoptions 	GEOM_PART_MBR		# MBR partition scheme
52263245Simpoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
53263245Simpoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54263245Simpoptions 	KTRACE			# ktrace(1) support
55263245Simpoptions 	SYSVSHM			# SYSV-style shared memory
56263245Simpoptions 	SYSVMSG			# SYSV-style message queues
57263245Simpoptions 	SYSVSEM			# SYSV-style semaphores
58276003Sandrewoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
59245450Sganboldoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
60276003Sandrewoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
61276003Sandrewoptions 	VFP			# Enable floating point hardware support
62245450Sganbold
63276003Sandrew# Debugging for use in -current
64263245Simpmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
65245450Sganboldoptions 	BREAK_TO_DEBUGGER
66263245Simp#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
67276003Sandrewoptions 	KDB			# Enable kernel debugger support
68276003Sandrew# For minimum debugger support (stable branch) use:
69276003Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic
70276003Sandrew# For full debugger support use this instead:
71263245Simpoptions 	DDB			# Enable the kernel debugger
72263245Simpoptions 	INVARIANTS		# Enable calls of extra sanity checking
73263245Simpoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
74263245Simpoptions 	WITNESS			# Enable checks to detect deadlocks and cycles
75263245Simpoptions 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
76245450Sganbold#options 	DIAGNOSTIC
77245450Sganbold
78276003Sandrew# NFS root from boopt/dhcp
79276003Sandrew#options 	BOOTP
80245450Sganbold#options 	BOOTP_NFSROOT
81245450Sganbold#options 	BOOTP_COMPAT
82245450Sganbold#options 	BOOTP_NFSV3
83245450Sganbold#options 	BOOTP_WIRED_TO=cpsw0
84245450Sganbold
85276003Sandrew# Boot device is 2nd slice on MMC/SD card
86276003Sandrewoptions 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
87276003Sandrew
88276003Sandrew# MMC/SD/SDIO Card slot support
89245450Sganbold#device		mmc			# mmc/sd bus
90245450Sganbold#device		mmcsd			# mmc/sd flash cards
91245450Sganbold
92245450Sganbold# ATA controllers
93263245Simp#device		ahci			# AHCI-compatible SATA controllers
94263245Simp#device		ata			# Legacy ATA/SATA controllers
95263245Simp#options	ATA_STATIC_ID		# Static device numbering
96245450Sganbold
97245450Sganbold# Console and misc
98247520Sganbolddevice		uart
99247520Sganbolddevice		uart_ns8250
100245450Sganbolddevice		pty
101245450Sganbolddevice		snp
102245450Sganbolddevice		md
103245450Sganbolddevice		random			# Entropy device
104245450Sganbold
105245450Sganbold# I2C support
106245450Sganbold#device		iicbus
107245450Sganbold#device		iic
108245450Sganbold
109245450Sganbold# GPIO
110246342Sganbolddevice		gpio
111245450Sganbold
112270912Simpdevice		scbus			# SCSI bus (required for ATA/SCSI)
113245450Sganbolddevice		da			# Direct Access (disks)
114245450Sganbolddevice		pass
115245450Sganbold
116245450Sganbold# USB support
117261572Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
118246057Sganbolddevice		usb
119246057Sganboldoptions 	USB_DEBUG
120245450Sganbold#options 	USB_REQ_DEBUG
121245450Sganbold#options 	USB_VERBOSE
122245450Sganbold#device		uhci
123245450Sganbold#device		ohci
124246057Sganbolddevice		ehci
125245450Sganbold
126246057Sganbolddevice		umass
127245450Sganbold
128245450Sganbold# Ethernet
129245450Sganbolddevice		loop
130245450Sganbolddevice		ether
131245450Sganbolddevice		mii
132245450Sganbolddevice		smscphy
133245450Sganbold#device		cpsw
134245450Sganbolddevice		bpf
135245450Sganbold
136262711Sganbolddevice		emac
137262711Sganbold
138245450Sganbold# USB ethernet support, requires miibus
139245450Sganbolddevice		miibus
140245450Sganbold
141245450Sganbold# Flattened Device Tree
142276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
143263301Simpoptions 	FDT_DTB_STATIC
144245450Sganboldmakeoptions	FDT_DTS_FILE=cubieboard.dts
145253845Sobrien
146