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