]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/BEAGLEBONE
Merge ^/head r285153 through r285283.
[FreeBSD/FreeBSD.git] / sys / arm / conf / BEAGLEBONE
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$
23
24 ident           BEAGLEBONE
25
26 include         "std.armv6"
27 include         "../ti/am335x/std.am335x"
28
29 makeoptions     MODULES_EXTRA="dtb/am335x"
30
31 # DTrace support
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"
36
37 options         HZ=100
38 options         SCHED_4BSD              # 4BSD scheduler
39 options         PLATFORM
40
41 # Debugging for use in -current
42 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
43 options         ALT_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
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
67 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
68
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
73
74 # I2C support
75 device          iicbus
76 device          iic
77 device          ti_i2c
78 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
79
80 device          am335x_rtc              # RTC support (power management only)
81
82 # Console and misc
83 device          uart
84 device          uart_ns8250
85 device          pty
86 device          snp
87 device          md
88 device          random                  # Entropy device
89
90 # GPIO
91 device          gpio
92 device          gpioled
93
94 # ADC support
95 device          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.
101 device          ti_wdt
102
103 # TI Programmable Realtime Unit support
104 device          ti_pruss
105
106 # Mailbox support
107 device          ti_mbox
108
109 # USB support
110 device          usb
111 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
112 options         USB_DEBUG
113 #options        USB_REQ_DEBUG
114 #options        USB_VERBOSE
115 device          musb
116 device          umass
117 device          scbus                   # SCSI bus (required for ATA/SCSI)
118 device          da                      # Direct Access (disks)
119
120 # Ethernet
121 device          loop
122 device          ether
123 device          mii
124 device          smscphy
125 device          cpsw
126 device          bpf
127
128 # USB Ethernet support, requires miibus
129 device          miibus
130 device          axe                     # ASIX Electronics USB Ethernet
131
132 # Device mode support and USFS template
133 device          usb_template            # Control of the gadget
134 device          usfs
135
136 # Pinmux
137 device          fdt_pinctrl
138
139 # Flattened Device Tree
140 options         FDT                     # Configure using FDT/DTB data
141
142 # Comment following lines for boot console on serial port
143 device          vt
144 device          videomode
145 device          hdmi
146 device          ums
147 device          ukbd
148 device          kbdmux