BEAGLEBONE revision 266105
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 266105 2014-05-15 01:27:53Z loos $
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 	TMPFS			#Efficient memory filesystem
42options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
43options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
44options 	KTRACE			#ktrace(1) support
45options 	SYSVSHM			#SYSV-style shared memory
46options 	SYSVMSG			#SYSV-style message queues
47options 	SYSVSEM			#SYSV-style semaphores
48options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
49options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
50options 	PREEMPTION
51options 	FREEBSD_BOOT_LOADER
52options 	VFP			# vfp/neon
53
54# Debugging
55makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
56options 	BREAK_TO_DEBUGGER
57#options 	VERBOSE_SYSINIT		#Enable verbose sysinit messages
58options 	KDB
59options 	DDB			#Enable the kernel debugger
60options 	INVARIANTS		#Enable calls of extra sanity checking
61options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
62options 	WITNESS			#Enable checks to detect deadlocks and cycles
63options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
64#options 	DIAGNOSTIC
65
66# NFS support
67options 	NFSCL
68#options	NFSD
69options 	NFSLOCKD
70
71# Uncomment this for NFS root
72#options 	NFS_ROOT		#NFS usable as /, requires NFSCL
73#options 	BOOTP_NFSROOT
74#options 	BOOTP_COMPAT
75#options 	BOOTP
76#options 	BOOTP_NFSV3
77#options 	BOOTP_WIRED_TO=cpsw0
78
79
80# MMC/SD/SDIO card slot support
81device		mmc			# mmc/sd bus
82device		mmcsd			# mmc/sd flash cards
83device		sdhci			# mmc/sd host controller
84
85# Boot device is 2nd slice on MMC/SD card
86options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
87
88# Console and misc
89device		uart
90device		uart_ns8250
91device		pty
92device		snp
93device		md
94device		random			# Entropy device
95
96# I2C support
97device		iicbus
98device		iic
99device		ti_i2c
100device		am335x_pmic		# AM335x Power Management IC (TPC65217)
101
102# GPIO
103device		gpio
104device		gpioled
105
106# USB support
107device		usb
108options 	USB_HOST_ALIGN=64	# Cacheline size is 64 on AM335x.
109options 	USB_DEBUG
110#options 	USB_REQ_DEBUG
111#options 	USB_VERBOSE
112device		musb
113device		umass
114device		scbus			# SCSI bus (required for SCSI)
115device		da			# Direct Access (disks)
116
117# Ethernet
118device		loop
119device		ether
120device		mii
121device		smscphy
122device		cpsw
123device		bpf
124
125# USB ethernet support, requires miibus
126device		miibus
127device		axe			# ASIX Electronics USB Ethernet
128
129# Device mode support and USFS template
130device		usb_template    # Control of the gadget
131device		usfs
132
133# Flattened Device Tree
134options         FDT
135options         FDT_DTB_STATIC
136makeoptions     FDT_DTS_FILE=beaglebone.dts
137