]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/arm/conf/BEAGLEBONE
MFC r276003:
[FreeBSD/stable/10.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         "../ti/am335x/std.am335x"
27
28 makeoptions     WITHOUT_MODULES="ahc"
29
30 options         HZ=100
31 options         SCHED_4BSD              # 4BSD scheduler
32 options         PREEMPTION              # Enable kernel thread preemption
33 options         INET                    # InterNETworking
34 options         INET6                   # IPv6 communications protocols
35 options         SCTP                    # Stream Control Transmission Protocol
36 options         FFS                     # Berkeley Fast Filesystem
37 options         SOFTUPDATES             # Enable FFS soft updates support
38 options         UFS_ACL                 # Support for access control lists
39 options         UFS_DIRHASH             # Improve performance on big directories
40 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
41 options         QUOTA                   # Enable disk quotas for UFS
42 options         NFSCL                   # New Network Filesystem Client
43 options         NFSLOCKD                # Network Lock Manager
44 options         NFS_ROOT                # NFS usable as /, requires NFSCL
45 options         MSDOSFS                 # MSDOS Filesystem
46 options         CD9660                  # ISO 9660 Filesystem
47 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
48 options         PSEUDOFS                # Pseudo-filesystem framework
49 options         TMPFS                   # Efficient memory filesystem
50 options         GEOM_PART_GPT           # GUID Partition Tables
51 options         GEOM_PART_BSD           # BSD partition scheme
52 options         GEOM_PART_MBR           # MBR partition scheme
53 options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
54 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
55 options         KTRACE                  # ktrace(1) support
56 options         SYSVSHM                 # SYSV-style shared memory
57 options         SYSVMSG                 # SYSV-style message queues
58 options         SYSVSEM                 # SYSV-style semaphores
59 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
61 options         FREEBSD_BOOT_LOADER     # Process metadata passed from loader(8)
62 options         VFP                     # Enable floating point hardware support
63
64 # Debugging for use in -current
65 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
66 options         BREAK_TO_DEBUGGER
67 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
68 options         KDB                     # Enable kernel debugger support
69 # For minimum debugger support (stable branch) use:
70 #options        KDB_TRACE               # Print a stack trace for a panic
71 # For full debugger support use this instead:
72 options         DDB                     # Enable the kernel debugger
73 #options        INVARIANTS              # Enable calls of extra sanity checking
74 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
75 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
76 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
77 #options        DIAGNOSTIC
78
79 # NFS server support
80 #options        NFSD
81
82 # NFS root from boopt/dhcp
83 #options        BOOTP
84 #options        BOOTP_NFSROOT
85 #options        BOOTP_COMPAT
86 #options        BOOTP_NFSV3
87 #options        BOOTP_WIRED_TO=cpsw0
88
89 # Boot device is 2nd slice on MMC/SD card
90 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
91
92 # MMC/SD/SDIO Card slot support
93 device          mmc                     # mmc/sd bus
94 device          mmcsd                   # mmc/sd flash cards
95 device          sdhci                   # mmc/sd host controller
96
97 # I2C support
98 device          iicbus
99 device          iic
100 device          ti_i2c
101 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
102
103 device          am335x_rtc              # RTC support (power management only)
104
105 # Console and misc
106 device          uart
107 device          uart_ns8250
108 device          pty
109 device          snp
110 device          md
111 device          random                  # Entropy device
112
113 # GPIO
114 device          gpio
115 device          gpioled
116
117 # ADC support
118 device          ti_adc
119
120 # Watchdog support
121 # If we don't enable the watchdog driver, the system could potentially
122 # reboot automatically because the boot loader might have enabled the
123 # watchdog.
124 device          ti_wdt
125
126 # TI Programmable Realtime Unit support
127 device          ti_pruss
128
129 # Mailbox support
130 device          ti_mbox
131
132 # USB support
133 device          usb
134 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
135 options         USB_DEBUG
136 #options        USB_REQ_DEBUG
137 #options        USB_VERBOSE
138 device          musb
139 device          umass
140 device          scbus                   # SCSI bus (required for ATA/SCSI)
141 device          da                      # Direct Access (disks)
142
143 # Ethernet
144 device          loop
145 device          ether
146 device          mii
147 device          smscphy
148 device          cpsw
149 device          bpf
150
151 # USB Ethernet support, requires miibus
152 device          miibus
153 device          axe                     # ASIX Electronics USB Ethernet
154
155 # Device mode support and USFS template
156 device          usb_template            # Control of the gadget
157 device          usfs
158
159 # Flattened Device Tree
160 options         FDT                     # Configure using FDT/DTB data
161 options         FDT_DTB_STATIC
162 makeoptions     FDT_DTS_FILE=beaglebone.dts