A10 revision 282576
1# 2# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 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: head/sys/arm/conf/CUBIEBOARD2 282576 2015-05-07 12:38:23Z andrew $ 21 22ident CUBIEBOARD2 23 24include "std.armv6" 25include "../allwinner/a20/std.a20" 26 27options HZ=100 28options SCHED_ULE # ULE scheduler 29options SMP # Enable multiple cores 30 31# Debugging for use in -current 32makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 33options BREAK_TO_DEBUGGER 34#options VERBOSE_SYSINIT # Enable verbose sysinit messages 35options 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: 39options DDB # Enable the kernel debugger 40options INVARIANTS # Enable calls of extra sanity checking 41options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 42options WITNESS # Enable checks to detect deadlocks and cycles 43options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 44#options DIAGNOSTIC 45 46# NFS root from boopt/dhcp 47#options BOOTP 48#options BOOTP_NFSROOT 49#options BOOTP_COMPAT 50#options BOOTP_NFSV3 51#options BOOTP_WIRED_TO=cpsw0 52 53# Boot device is 2nd slice on MMC/SD card 54options ROOTDEVNAME=\"ufs:/dev/da0s2\" 55 56# MMC/SD/SDIO Card slot support 57#device mmc # mmc/sd bus 58#device mmcsd # mmc/sd flash cards 59 60# ATA controllers 61#device ahci # AHCI-compatible SATA controllers 62#device ata # Legacy ATA/SATA controllers 63#options ATA_STATIC_ID # Static device numbering 64 65# Console and misc 66device uart 67device uart_ns8250 68device pty 69device snp 70device md 71device random # Entropy device 72 73# I2C support 74#device iicbus 75#device iic 76 77# GPIO 78device gpio 79 80device scbus # SCSI bus (required for ATA/SCSI) 81device da # Direct Access (disks) 82device pass 83 84# USB support 85options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 86device usb 87options USB_DEBUG 88#options USB_REQ_DEBUG 89#options USB_VERBOSE 90#device uhci 91#device ohci 92device ehci 93 94device umass 95 96# Ethernet 97device loop 98device ether 99device mii 100device smscphy 101#device cpsw 102device bpf 103 104device emac 105 106# USB ethernet support, requires miibus 107device miibus 108 109# Flattened Device Tree 110options FDT # Configure using FDT/DTB data 111options FDT_DTB_STATIC 112makeoptions FDT_DTS_FILE=cubieboard2.dts 113makeoptions MODULES_EXTRA=dtb/allwinner 114