]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/arm/conf/BEAGLEBONE
MFC 257774, 256760, 262916, 262905, 262918, 262919, 262920, 262921, 262924,
[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.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         FREEBSD_BOOT_LOADER
54 options         VFP                     # vfp/neon
55
56 # Debugging
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
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 # Boot device is 2nd slice on MMC/SD card
88 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
89
90 # Console and misc
91 device          uart
92 device          uart_ns8250
93 device          pty
94 device          snp
95 device          md
96 device          random                  # Entropy device
97
98 # I2C support
99 device          iicbus
100 device          iic
101 device          ti_i2c
102 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
103
104 # GPIO
105 device          gpio
106 device          gpioled
107
108 # USB support
109 device          usb
110 options         USB_HOST_ALIGN=64       # Cacheline size is 64 on AM335x.
111 options         USB_DEBUG
112 #options        USB_REQ_DEBUG
113 #options        USB_VERBOSE
114 device          musb
115 device          umass
116 device          scbus                   # SCSI bus (required for SCSI)
117 device          da                      # Direct Access (disks)
118
119 # Ethernet
120 device          loop
121 device          ether
122 device          mii
123 device          smscphy
124 device          cpsw
125 device          bpf
126
127 # USB ethernet support, requires miibus
128 device          miibus
129 device          axe                     # ASIX Electronics USB Ethernet
130
131 # Device mode support and USFS template
132 device          usb_template    # Control of the gadget
133 device          usfs
134
135 # Flattened Device Tree
136 options         FDT
137 options         FDT_DTB_STATIC
138 makeoptions     FDT_DTS_FILE=beaglebone.dts