BEAGLEBONE revision 278079
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 278079 2015-02-02 12:48:13Z loos $
22
23ident		BEAGLEBONE
24
25include		"../ti/am335x/std.am335x"
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 	GEOM_PART_BSD		# BSD partition scheme
38options 	GEOM_PART_MBR		# MBR partition scheme
39options 	TMPFS			# Efficient memory filesystem
40options 	MSDOSFS			# MSDOS Filesystem
41options 	CD9660			# ISO 9660 Filesystem
42options 	PROCFS			# Process filesystem (requires PSEUDOFS)
43options 	PSEUDOFS		# Pseudo-filesystem framework
44options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
45options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
46options 	KTRACE			# ktrace(1) support
47options 	SYSVSHM			# SYSV-style shared memory
48options 	SYSVMSG			# SYSV-style message queues
49options 	SYSVSEM			# SYSV-style semaphores
50options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
51options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
52options 	PREEMPTION
53options 	FREEBSD_BOOT_LOADER
54options 	VFP			# vfp/neon
55
56# Debugging
57makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
58options 	BREAK_TO_DEBUGGER
59#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
60options 	KDB
61options 	DDB			# Enable the kernel debugger
62#options 	INVARIANTS		# Enable calls of extra sanity checking
63#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
64#options 	WITNESS			# Enable checks to detect deadlocks and cycles
65#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
66#options 	DIAGNOSTIC
67
68# NFS support
69options 	NFSCL
70#options	NFSD
71options 	NFSLOCKD
72
73# Uncomment this for NFS root
74#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
75#options 	BOOTP_NFSROOT
76#options 	BOOTP_COMPAT
77#options 	BOOTP
78#options 	BOOTP_NFSV3
79#options 	BOOTP_WIRED_TO=cpsw0
80
81
82# MMC/SD/SDIO card slot support
83device		mmc			# mmc/sd bus
84device		mmcsd			# mmc/sd flash cards
85device		sdhci			# mmc/sd host controller
86
87# Boot device is 2nd slice on MMC/SD card
88options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
89
90device		am335x_rtc		# RTC support (power management only)
91
92# Console and misc
93device		uart
94device		uart_ns8250
95device		pty
96device		snp
97device		md
98device		random			# Entropy device
99
100# I2C support
101device		iicbus
102device		iic
103device		ti_i2c
104device		am335x_pmic		# AM335x Power Management IC (TPC65217)
105
106# GPIO
107device		gpio
108device		gpioled
109
110# ADC support
111device		ti_adc
112
113# Watchdog support
114# If we don't enable the watchdog driver, the system could potentially
115# reboot automatically because the boot loader might have enabled the
116# watchdog.
117device		ti_wdt
118
119# TI Programmable Realtime Unit support
120device		ti_pruss
121
122# Mailbox support
123device		ti_mbox
124
125# USB support
126device		usb
127options 	USB_HOST_ALIGN=64	# Cacheline size is 64 on AM335x.
128options 	USB_DEBUG
129#options 	USB_REQ_DEBUG
130#options 	USB_VERBOSE
131device		musb
132device		umass
133device		scbus			# SCSI bus (required for SCSI)
134device		da			# Direct Access (disks)
135
136# Ethernet
137device		loop
138device		ether
139device		mii
140device		smscphy
141device		cpsw
142device		bpf
143
144# USB ethernet support, requires miibus
145device		miibus
146device		axe			# ASIX Electronics USB Ethernet
147
148# Device mode support and USFS template
149device		usb_template    	# Control of the gadget
150device		usfs
151
152# Flattened Device Tree
153options         FDT
154options         FDT_DTB_STATIC
155makeoptions     FDT_DTS_FILE=beaglebone.dts
156