]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/arm/conf/BEAGLEBONE
MFC r266647, r270912, r273089:
[FreeBSD/stable/10.git] / sys / arm / conf / BEAGLEBONE
1 # BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
2 # platforms, check out http://www.beagleboard.org/bone and
3 # http://www.beagleboard.org/black. This kernel config file is used for the
4 # original BeagleBone and the BeagleBone Black.
5 #
6 # For more information on this file, please read the handbook section on
7 # Kernel Configuration Files:
8 #
9 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10 #
11 # The handbook is also available locally in /usr/share/doc/handbook
12 # if you've installed the doc distribution, otherwise always see the
13 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14 # latest information.
15 #
16 # An exhaustive list of options and more detailed explanations of the
17 # device lines is also present in the ../../conf/NOTES and NOTES files.
18 # If you are in doubt as to the purpose or necessity of a line, check first
19 # in NOTES.
20 #
21 # $FreeBSD$
22
23 ident           BEAGLEBONE
24
25 include         "../ti/am335x/std.am335x"
26
27 makeoptions     WITHOUT_MODULES="ahc"
28
29 options         HZ=100
30 options         SCHED_4BSD              # 4BSD scheduler
31 options         INET                    # InterNETworking
32 options         INET6                   # IPv6 communications protocols
33 options         FFS                     # Berkeley Fast Filesystem
34 options         SOFTUPDATES             # Enable FFS soft updates support
35 options         UFS_ACL                 # Support for access control lists
36 options         UFS_DIRHASH             # Improve performance on big directories
37 options         GEOM_PART_BSD           # BSD partition scheme
38 options         GEOM_PART_MBR           # MBR partition scheme
39 options         TMPFS                   # Efficient memory filesystem
40 options         MSDOSFS                 # MSDOS Filesystem
41 options         CD9660                  # ISO 9660 Filesystem
42 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
43 options         PSEUDOFS                # Pseudo-filesystem framework
44 options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
45 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
46 options         KTRACE                  # ktrace(1) support
47 options         SYSVSHM                 # SYSV-style shared memory
48 options         SYSVMSG                 # SYSV-style message queues
49 options         SYSVSEM                 # SYSV-style semaphores
50 options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
51 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
52 options         PREEMPTION
53 options         FREEBSD_BOOT_LOADER
54 options         VFP                     # vfp/neon
55
56 # Debugging for use in -current
57 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
58 options         BREAK_TO_DEBUGGER
59 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
60 options         KDB
61 options         DDB                     # Enable the kernel debugger
62 #options        INVARIANTS              # Enable calls of extra sanity checking
63 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
64 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
65 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
66 #options        DIAGNOSTIC
67
68 # NFS support
69 options         NFSCL
70 #options        NFSD
71 options         NFSLOCKD
72
73 # Uncomment this for NFS root
74 #options        NFS_ROOT                # NFS usable as /, requires NFSCL
75 #options        BOOTP_NFSROOT
76 #options        BOOTP_COMPAT
77 #options        BOOTP
78 #options        BOOTP_NFSV3
79 #options        BOOTP_WIRED_TO=cpsw0
80
81 # MMC/SD/SDIO Card slot support
82 device          mmc                     # mmc/sd bus
83 device          mmcsd                   # mmc/sd flash cards
84 device          sdhci                   # mmc/sd host controller
85
86 # I2C support
87 device          iicbus
88 device          iic
89 device          ti_i2c
90 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
91
92 # Boot device is 2nd slice on MMC/SD card
93 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
94
95 device          am335x_rtc              # RTC support (power management only)
96
97 # Console and misc
98 device          uart
99 device          uart_ns8250
100 device          pty
101 device          snp
102 device          md
103 device          random                  # Entropy device
104
105 # GPIO
106 device          gpio
107 device          gpioled
108
109 # ADC support
110 device          ti_adc
111
112 # Watchdog support
113 # If we don't enable the watchdog driver, the system could potentially
114 # reboot automatically because the boot loader might have enabled the
115 # watchdog.
116 device          ti_wdt
117
118 # TI Programmable Realtime Unit support
119 device          ti_pruss
120
121 # Mailbox support
122 device          ti_mbox
123
124 # USB support
125 device          usb
126 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
127 options         USB_DEBUG
128 #options        USB_REQ_DEBUG
129 #options        USB_VERBOSE
130 device          musb
131 device          umass
132 device          scbus                   # SCSI bus (required for ATA/SCSI)
133 device          da                      # Direct Access (disks)
134
135 # Ethernet
136 device          loop
137 device          ether
138 device          mii
139 device          smscphy
140 device          cpsw
141 device          bpf
142
143 # USB Ethernet support, requires miibus
144 device          miibus
145 device          axe                     # ASIX Electronics USB Ethernet
146
147 # Device mode support and USFS template
148 device          usb_template            # Control of the gadget
149 device          usfs
150
151 # Flattened Device Tree
152 options         FDT
153 options         FDT_DTB_STATIC
154 makeoptions     FDT_DTS_FILE=beaglebone.dts