Deleted Added
full compact
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: head/sys/arm/conf/BEAGLEBONE 284534 2015-06-18 00:57:52Z gonzo $
22# $FreeBSD: head/sys/arm/conf/BEAGLEBONE 285703 2015-07-19 22:14:09Z markj $
23
24ident BEAGLEBONE
25
26include "std.armv6"
27include "../ti/am335x/std.am335x"
28
29makeoptions MODULES_EXTRA="dtb/am335x"
30
31# DTrace support
32options KDTRACE_HOOKS # Kernel DTrace hooks
33options DDB_CTF # all architectures - kernel ELF linker loads CTF data
34makeoptions WITH_CTF=1
35makeoptions MODULES_EXTRA+="opensolaris dtrace dtrace/lockstat dtrace/profile dtrace/fbt"
35makeoptions MODULES_EXTRA+="opensolaris dtrace dtrace/profile dtrace/fbt"
36
37options HZ=100
38options SCHED_4BSD # 4BSD scheduler
39options PLATFORM
40
41# Debugging for use in -current
42makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
43options ALT_BREAK_TO_DEBUGGER
44#options VERBOSE_SYSINIT # Enable verbose sysinit messages
45options KDB # Enable kernel debugger support
46# For minimum debugger support (stable branch) use:
47#options KDB_TRACE # Print a stack trace for a panic
48# For full debugger support use this instead:
49options DDB # Enable the kernel debugger
50options INVARIANTS # Enable calls of extra sanity checking
51options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
52options WITNESS # Enable checks to detect deadlocks and cycles
53options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
54#options DIAGNOSTIC
55
56# NFS server support
57#options NFSD
58
59# NFS root from boopt/dhcp
60#options BOOTP
61#options BOOTP_NFSROOT
62#options BOOTP_COMPAT
63#options BOOTP_NFSV3
64#options BOOTP_WIRED_TO=cpsw0
65
66# Boot device is 2nd slice on MMC/SD card
67options ROOTDEVNAME=\"ufs:mmcsd0s2\"
68
69# MMC/SD/SDIO Card slot support
70device mmc # mmc/sd bus
71device mmcsd # mmc/sd flash cards
72device sdhci # mmc/sd host controller
73
74# I2C support
75device iicbus
76device iic
77device ti_i2c
78device am335x_pmic # AM335x Power Management IC (TPC65217)
79
80device am335x_rtc # RTC support (power management only)
81
82# Console and misc
83device uart
84device uart_ns8250
85device pty
86device snp
87device md
88device random # Entropy device
89
90# GPIO
91device gpio
92device gpioled
93
94# ADC support
95device ti_adc
96
97# Watchdog support
98# If we don't enable the watchdog driver, the system could potentially
99# reboot automatically because the boot loader might have enabled the
100# watchdog.
101device ti_wdt
102
103# TI Programmable Realtime Unit support
104device ti_pruss
105
106# Mailbox support
107device ti_mbox
108
109# USB support
110device usb
111options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
112options USB_DEBUG
113#options USB_REQ_DEBUG
114#options USB_VERBOSE
115device musb
116device umass
117device scbus # SCSI bus (required for ATA/SCSI)
118device da # Direct Access (disks)
119
120# Ethernet
121device loop
122device ether
123device mii
124device smscphy
125device cpsw
126device bpf
127
128# USB Ethernet support, requires miibus
129device miibus
130device axe # ASIX Electronics USB Ethernet
131
132# Device mode support and USFS template
133device usb_template # Control of the gadget
134device usfs
135
136# Pinmux
137device fdt_pinctrl
138
139# Flattened Device Tree
140options FDT # Configure using FDT/DTB data
141
142# Comment following lines for boot console on serial port
143device vt
144device videomode
145device hdmi
146device ums
147device ukbd
148device kbdmux