]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/arm/conf/CUBIEBOARD
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / arm / conf / CUBIEBOARD
1 #
2 # CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development
3 # platform, check out http://www.cubieboard.org
4 #
5 # For more information on this file, please read the config(5) manual page,
6 # and/or the handbook section on Kernel Configuration Files:
7 #
8 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 #
10 # The handbook is also available locally in /usr/share/doc/handbook
11 # if you've installed the doc distribution, otherwise always see the
12 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13 # latest information.
14 #
15 # An exhaustive list of options and more detailed explanations of the
16 # device lines is also present in the ../../conf/NOTES and NOTES files.
17 # If you are in doubt as to the purpose or necessity of a line, check first
18 # in NOTES.
19 #
20 # $FreeBSD$
21
22 ident           CUBIEBOARD
23
24 include         "../allwinner/std.a10"
25
26 options         HZ=100
27 options         SCHED_4BSD              # 4BSD scheduler
28 options         PREEMPTION              # Enable kernel thread preemption
29 options         INET                    # InterNETworking
30 options         INET6                   # IPv6 communications protocols
31 options         SCTP                    # Stream Control Transmission Protocol
32 options         FFS                     # Berkeley Fast Filesystem
33 options         SOFTUPDATES             # Enable FFS soft updates support
34 options         UFS_ACL                 # Support for access control lists
35 options         UFS_DIRHASH             # Improve performance on big directories
36 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
37 options         QUOTA                   # Enable disk quotas for UFS
38 options         NFSCL                   # New Network Filesystem Client
39 options         NFSLOCKD                # Network Lock Manager
40 options         NFS_ROOT                # NFS usable as /, requires NFSCL
41 options         MSDOSFS                 # MSDOS Filesystem
42 options         CD9660                  # ISO 9660 Filesystem
43 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
44 options         PSEUDOFS                # Pseudo-filesystem framework
45 options         TMPFS                   # Efficient memory filesystem
46 options         GEOM_PART_GPT           # GUID Partition Tables
47 options         GEOM_PART_BSD           # BSD partition scheme
48 options         GEOM_PART_MBR           # MBR partition scheme
49 options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
50 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
51 options         KTRACE                  # ktrace(1) support
52 options         SYSVSHM                 # SYSV-style shared memory
53 options         SYSVMSG                 # SYSV-style message queues
54 options         SYSVSEM                 # SYSV-style semaphores
55 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
56 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
57 options         FREEBSD_BOOT_LOADER     # Process metadata passed from loader(8)
58 options         VFP                     # Enable floating point hardware support
59
60 # Debugging for use in -current
61 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
62 options         BREAK_TO_DEBUGGER
63 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
64 options         KDB                     # Enable kernel debugger support
65 # For minimum debugger support (stable branch) use:
66 #options        KDB_TRACE               # Print a stack trace for a panic
67 # For full debugger support use this instead:
68 options         DDB                     # Enable the kernel debugger
69 #options        INVARIANTS              # Enable calls of extra sanity checking
70 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
71 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
72 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
73 #options        DIAGNOSTIC
74
75 # NFS root from boopt/dhcp
76 #options        BOOTP
77 #options        BOOTP_NFSROOT
78 #options        BOOTP_COMPAT
79 #options        BOOTP_NFSV3
80 #options        BOOTP_WIRED_TO=cpsw0
81
82 # Boot device is 2nd slice on MMC/SD card
83 options         ROOTDEVNAME=\"ufs:/dev/da0s2\"
84
85 # MMC/SD/SDIO Card slot support
86 #device         mmc                     # mmc/sd bus
87 #device         mmcsd                   # mmc/sd flash cards
88
89 # ATA controllers
90 #device         ahci                    # AHCI-compatible SATA controllers
91 #device         ata                     # Legacy ATA/SATA controllers
92 #options        ATA_STATIC_ID           # Static device numbering
93
94 # Console and misc
95 device          uart
96 device          uart_ns8250
97 device          pty
98 device          snp
99 device          md
100 device          random                  # Entropy device
101
102 # I2C support
103 #device         iicbus
104 #device         iic
105
106 # GPIO
107 device          gpio
108
109 device          scbus                   # SCSI bus (required for ATA/SCSI)
110 device          da                      # Direct Access (disks)
111 device          pass
112
113 # USB support
114 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
115 device          usb
116 options         USB_DEBUG
117 #options        USB_REQ_DEBUG
118 #options        USB_VERBOSE
119 #device         uhci
120 #device         ohci
121 device          ehci
122
123 device          umass
124
125 # Ethernet
126 device          loop
127 device          ether
128 device          mii
129 device          smscphy
130 #device         cpsw
131 device          bpf
132
133 device          emac
134
135 # USB ethernet support, requires miibus
136 device          miibus
137
138 # Flattened Device Tree
139 options         FDT                     # Configure using FDT/DTB data
140 options         FDT_DTB_STATIC
141 makeoptions     FDT_DTS_FILE=cubieboard.dts
142