BEAGLEBONE revision 284096
1#
2# BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
3# platforms, check out http://www.beagleboard.org/bone and
4# http://www.beagleboard.org/black. This kernel config file is used for the
5# original BeagleBone and the BeagleBone Black.
6#
7# For more information on this file, please read the config(5) manual page,
8# and/or the handbook section on Kernel Configuration Files:
9#
10#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
11#
12# The handbook is also available locally in /usr/share/doc/handbook
13# if you've installed the doc distribution, otherwise always see the
14# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
15# latest information.
16#
17# An exhaustive list of options and more detailed explanations of the
18# device lines is also present in the ../../conf/NOTES and NOTES files.
19# If you are in doubt as to the purpose or necessity of a line, check first
20# in NOTES.
21#
22# $FreeBSD: stable/10/sys/arm/conf/BEAGLEBONE 284096 2015-06-06 19:15:48Z ian $
23
24ident		BEAGLEBONE
25
26include		"../ti/am335x/std.am335x"
27
28makeoptions	MODULES_EXTRA="dtb/am335x"
29
30options 	HZ=100
31options 	SCHED_4BSD		# 4BSD scheduler
32options 	PREEMPTION		# Enable kernel thread preemption
33options 	INET			# InterNETworking
34options 	INET6			# IPv6 communications protocols
35options 	SCTP			# Stream Control Transmission Protocol
36options 	FFS			# Berkeley Fast Filesystem
37options 	SOFTUPDATES		# Enable FFS soft updates support
38options 	UFS_ACL			# Support for access control lists
39options 	UFS_DIRHASH		# Improve performance on big directories
40options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
41options 	QUOTA			# Enable disk quotas for UFS
42options 	NFSCL			# New Network Filesystem Client
43options 	NFSLOCKD		# Network Lock Manager
44options 	NFS_ROOT		# NFS usable as /, requires NFSCL
45options 	MSDOSFS			# MSDOS Filesystem
46options 	CD9660			# ISO 9660 Filesystem
47options 	PROCFS			# Process filesystem (requires PSEUDOFS)
48options 	PSEUDOFS		# Pseudo-filesystem framework
49options 	TMPFS			# Efficient memory filesystem
50options 	GEOM_PART_GPT		# GUID Partition Tables
51options 	GEOM_PART_BSD		# BSD partition scheme
52options 	GEOM_PART_MBR		# MBR partition scheme
53options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
54options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
55options 	KTRACE			# ktrace(1) support
56options 	SYSVSHM			# SYSV-style shared memory
57options 	SYSVMSG			# SYSV-style message queues
58options 	SYSVSEM			# SYSV-style semaphores
59options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
61options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
62options 	VFP			# Enable floating point hardware support
63
64# Debugging for use in -current
65makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
66options 	BREAK_TO_DEBUGGER
67#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
68options 	KDB			# Enable kernel debugger support
69# For minimum debugger support (stable branch) use:
70#options 	KDB_TRACE		# Print a stack trace for a panic
71# For full debugger support use this instead:
72options 	DDB			# Enable the kernel debugger
73#options 	INVARIANTS		# Enable calls of extra sanity checking
74#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
75#options 	WITNESS			# Enable checks to detect deadlocks and cycles
76#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
77#options 	DIAGNOSTIC
78
79# NFS server support
80#options 	NFSD
81
82# NFS root from boopt/dhcp
83#options 	BOOTP
84#options 	BOOTP_NFSROOT
85#options 	BOOTP_COMPAT
86#options 	BOOTP_NFSV3
87#options 	BOOTP_WIRED_TO=cpsw0
88
89# Boot device is 2nd slice on MMC/SD card
90options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
91
92# MMC/SD/SDIO Card slot support
93device		mmc			# mmc/sd bus
94device		mmcsd			# mmc/sd flash cards
95device		sdhci			# mmc/sd host controller
96
97# I2C support
98device		iicbus
99device		iic
100device		ti_i2c
101device		am335x_pmic		# AM335x Power Management IC (TPC65217)
102
103device		am335x_rtc		# RTC support (power management only)
104
105# Console and misc
106device		uart
107device		uart_ns8250
108device		pty
109device		snp
110device		md
111device		random			# Entropy device
112
113# GPIO
114device		gpio
115device		gpioled
116
117# ADC support
118device		ti_adc
119
120# Watchdog support
121# If we don't enable the watchdog driver, the system could potentially
122# reboot automatically because the boot loader might have enabled the
123# watchdog.
124device		ti_wdt
125
126# TI Programmable Realtime Unit support
127device		ti_pruss
128
129# Mailbox support
130device		ti_mbox
131
132# USB support
133device		usb
134options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
135options 	USB_DEBUG
136#options 	USB_REQ_DEBUG
137#options 	USB_VERBOSE
138device		musb
139device		umass
140device		scbus			# SCSI bus (required for ATA/SCSI)
141device		da			# Direct Access (disks)
142
143# Ethernet
144device		loop
145device		ether
146device		mii
147device		smscphy
148device		cpsw
149device		bpf
150
151# USB Ethernet support, requires miibus
152device		miibus
153device		axe			# ASIX Electronics USB Ethernet
154
155# Device mode support and USFS template
156device		usb_template    	# Control of the gadget
157device		usfs
158
159# Flattened Device Tree
160options 	FDT			# Configure using FDT/DTB data
161