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