]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/BEAGLEBONE
Sync to HEAD@r271160.
[FreeBSD/FreeBSD.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.beaglebone"
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         PLATFORM
54 options         FREEBSD_BOOT_LOADER
55 options         VFP                     # vfp/neon
56
57 # Debugging for use in -current
58 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
59 options         BREAK_TO_DEBUGGER
60 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
61 options         KDB
62 options         DDB                     # Enable the kernel debugger
63 options         INVARIANTS              # Enable calls of extra sanity checking
64 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
65 options         WITNESS                 # Enable checks to detect deadlocks and cycles
66 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
67 #options        DIAGNOSTIC
68
69 # NFS support
70 options         NFSCL
71 #options        NFSD
72 options         NFSLOCKD
73
74 # Uncomment this for NFS root
75 #options        NFS_ROOT                # NFS usable as /, requires NFSCL
76 #options        BOOTP_NFSROOT
77 #options        BOOTP_COMPAT
78 #options        BOOTP
79 #options        BOOTP_NFSV3
80 #options        BOOTP_WIRED_TO=cpsw0
81
82 # MMC/SD/SDIO Card slot support
83 device          mmc                     # mmc/sd bus
84 device          mmcsd                   # mmc/sd flash cards
85 device          sdhci                   # mmc/sd host controller
86
87 # I2C support
88 device          iicbus
89 device          iic
90 device          ti_i2c
91 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
92
93 # Boot device is 2nd slice on MMC/SD card
94 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
95
96 # Console and misc
97 device          uart
98 device          uart_ns8250
99 device          pty
100 device          snp
101 device          md
102 device          random                  # Entropy device
103
104 # GPIO
105 device          gpio
106 device          gpioled
107
108 # ADC support
109 device          ti_adc
110
111 # USB support
112 device          usb
113 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
114 options         USB_DEBUG
115 #options        USB_REQ_DEBUG
116 #options        USB_VERBOSE
117 device          musb
118 device          umass
119 device          scbus                   # SCSI bus (required for ATA/SCSI)
120 device          da                      # Direct Access (disks)
121
122 # Ethernet
123 device          loop
124 device          ether
125 device          mii
126 device          smscphy
127 device          cpsw
128 device          bpf
129
130 # USB Ethernet support, requires miibus
131 device          miibus
132 device          axe                     # ASIX Electronics USB Ethernet
133
134 # Device mode support and USFS template
135 device          usb_template            # Control of the gadget
136 device          usfs
137
138 # Flattened Device Tree
139 options         FDT
140 options         FDT_DTB_STATIC
141 makeoptions     FDT_DTS_FILE=beaglebone.dts