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.
7 # For more information on this file, please read the config(5) manual page,
8 # and/or the handbook section on Kernel Configuration Files:
10 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
27 include "../ti/am335x/std.am335x"
29 makeoptions MODULES_EXTRA="dtb/am335x"
32 options KDTRACE_HOOKS # Kernel DTrace hooks
33 options DDB_CTF # all architectures - kernel ELF linker loads CTF data
34 makeoptions WITH_CTF=1
35 makeoptions MODULES_EXTRA+="opensolaris dtrace dtrace/lockstat dtrace/profile dtrace/fbt"
38 options SCHED_4BSD # 4BSD scheduler
41 # Debugging for use in -current
42 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
43 options BREAK_TO_DEBUGGER
44 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
45 options 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:
49 options DDB # Enable the kernel debugger
50 options INVARIANTS # Enable calls of extra sanity checking
51 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
52 options WITNESS # Enable checks to detect deadlocks and cycles
53 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
59 # NFS root from boopt/dhcp
61 #options BOOTP_NFSROOT
64 #options BOOTP_WIRED_TO=cpsw0
66 # Boot device is 2nd slice on MMC/SD card
67 options ROOTDEVNAME=\"ufs:mmcsd0s2\"
69 # MMC/SD/SDIO Card slot support
70 device mmc # mmc/sd bus
71 device mmcsd # mmc/sd flash cards
72 device sdhci # mmc/sd host controller
78 device am335x_pmic # AM335x Power Management IC (TPC65217)
80 device am335x_rtc # RTC support (power management only)
88 device random # Entropy device
98 # If we don't enable the watchdog driver, the system could potentially
99 # reboot automatically because the boot loader might have enabled the
103 # TI Programmable Realtime Unit support
111 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
113 #options USB_REQ_DEBUG
117 device scbus # SCSI bus (required for ATA/SCSI)
118 device da # Direct Access (disks)
128 # USB Ethernet support, requires miibus
130 device axe # ASIX Electronics USB Ethernet
132 # Device mode support and USFS template
133 device usb_template # Control of the gadget
136 # Flattened Device Tree
137 options FDT # Configure using FDT/DTB data