2 # CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
3 # platform, check out http://www.cubieboard.org
5 # For more information on this file, please read the config(5) manual page,
6 # and/or the handbook section on Kernel Configuration Files:
8 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
25 include "../allwinner/a20/std.a20"
28 options SCHED_ULE # ULE scheduler
29 options SMP # Enable multiple cores
31 # Debugging for use in -current
32 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
33 options ALT_BREAK_TO_DEBUGGER
34 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
35 options KDB # Enable kernel debugger support
36 # For minimum debugger support (stable branch) use:
37 #options KDB_TRACE # Print a stack trace for a panic
38 # For full debugger support use this instead:
39 options DDB # Enable the kernel debugger
40 options INVARIANTS # Enable calls of extra sanity checking
41 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
42 options WITNESS # Enable checks to detect deadlocks and cycles
43 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
46 # NFS root from boopt/dhcp
48 #options BOOTP_NFSROOT
51 #options BOOTP_WIRED_TO=cpsw0
53 # Boot device is 2nd slice on MMC/SD card
54 options ROOTDEVNAME=\"ufs:/dev/da0s2\"
56 # Interrupt controller
59 # MMC/SD/SDIO Card slot support
60 device mmc # mmc/sd bus
61 device mmcsd # mmc/sd flash cards
64 device ahci # AHCI-compatible SATA controllers
65 #device ata # Legacy ATA/SATA controllers
66 #options ATA_STATIC_ID # Static device numbering
74 device random # Entropy device
83 device scbus # SCSI bus (required for ATA/SCSI)
84 device da # Direct Access (disks)
85 device pass # Passthrough device (direct ATA/SCSI access)
88 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
91 #options USB_REQ_DEBUG
107 # USB ethernet support, requires miibus
110 # Flattened Device Tree
111 options FDT # Configure using FDT/DTB data
112 options FDT_DTB_STATIC
113 makeoptions FDT_DTS_FILE=cubieboard2.dts
114 makeoptions MODULES_EXTRA=dtb/allwinner