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