]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/CUBIEBOARD
Merge ^/head r284737 through r285152.
[FreeBSD/FreeBSD.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         "std.armv6"
25 include         "../allwinner/std.a10"
26
27 options         HZ=100
28 options         SCHED_4BSD              # 4BSD scheduler
29
30 # Debugging for use in -current
31 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
32 options         ALT_BREAK_TO_DEBUGGER
33 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
34 options         KDB                     # Enable kernel debugger support
35 # For minimum debugger support (stable branch) use:
36 #options        KDB_TRACE               # Print a stack trace for a panic
37 # For full debugger support use this instead:
38 options         DDB                     # Enable the kernel debugger
39 options         INVARIANTS              # Enable calls of extra sanity checking
40 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
41 options         WITNESS                 # Enable checks to detect deadlocks and cycles
42 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
43 #options        DIAGNOSTIC
44
45 # NFS root from boopt/dhcp
46 #options        BOOTP
47 #options        BOOTP_NFSROOT
48 #options        BOOTP_COMPAT
49 #options        BOOTP_NFSV3
50 #options        BOOTP_WIRED_TO=cpsw0
51
52 # Boot device is 2nd slice on MMC/SD card
53 options         ROOTDEVNAME=\"ufs:/dev/da0s2\"
54
55 # MMC/SD/SDIO Card slot support
56 device          mmc                     # mmc/sd bus
57 device          mmcsd                   # mmc/sd flash cards
58
59 # ATA controllers
60 device          ahci                    # AHCI-compatible SATA controllers
61 #device         ata                     # Legacy ATA/SATA controllers
62 #options        ATA_STATIC_ID           # Static device numbering
63
64 # Console and misc
65 device          uart
66 device          uart_ns8250
67 device          pty
68 device          snp
69 device          md
70 device          random                  # Entropy device
71
72 # I2C support
73 #device         iicbus
74 #device         iic
75
76 # GPIO
77 device          gpio
78
79 device          scbus                   # SCSI bus (required for ATA/SCSI)
80 device          da                      # Direct Access (disks)
81 device          pass                    # Passthrough device (direct ATA/SCSI access)
82
83 # USB support
84 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
85 device          usb
86 options         USB_DEBUG
87 #options        USB_REQ_DEBUG
88 #options        USB_VERBOSE
89 #device         uhci
90 #device         ohci
91 device          ehci
92
93 device          umass
94
95 # Ethernet
96 device          loop
97 device          ether
98 device          mii
99 device          bpf
100
101 device          emac
102
103 # USB ethernet support, requires miibus
104 device          miibus
105
106 # Flattened Device Tree
107 options         FDT                     # Configure using FDT/DTB data
108 options         FDT_DTB_STATIC
109 makeoptions     FDT_DTS_FILE=cubieboard.dts
110 makeoptions     MODULES_EXTRA=dtb/allwinner