A10 revision 282715
1284345Ssjg# 2284345Ssjg# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development 3284345Ssjg# platform, check out http://www.cubieboard.org 4284345Ssjg# 5291563Sbdrewery# For more information on this file, please read the config(5) manual page, 6284345Ssjg# and/or the handbook section on Kernel Configuration Files: 7284345Ssjg# 8284345Ssjg# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 9284345Ssjg# 10284345Ssjg# The handbook is also available locally in /usr/share/doc/handbook 11284345Ssjg# if you've installed the doc distribution, otherwise always see the 12284345Ssjg# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 13291563Sbdrewery# latest information. 14284345Ssjg# 15284345Ssjg# An exhaustive list of options and more detailed explanations of the 16284345Ssjg# device lines is also present in the ../../conf/NOTES and NOTES files. 17284345Ssjg# If you are in doubt as to the purpose or necessity of a line, check first 18284345Ssjg# in NOTES. 19284345Ssjg# 20284345Ssjg# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 282715 2015-05-10 09:33:03Z andrew $ 21284345Ssjg 22284345Ssjgident CUBIEBOARD2 23284345Ssjg 24284345Ssjginclude "std.armv6" 25284345Ssjginclude "../allwinner/a20/std.a20" 26284345Ssjg 27291563Sbdreweryoptions HZ=100 28284345Ssjgoptions SCHED_ULE # ULE scheduler 29284345Ssjgoptions SMP # Enable multiple cores 30284345Ssjg 31284345Ssjg# Debugging for use in -current 32284345Ssjgmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 33284345Ssjgoptions BREAK_TO_DEBUGGER 34284345Ssjg#options VERBOSE_SYSINIT # Enable verbose sysinit messages 35284345Ssjgoptions KDB # Enable kernel debugger support 36284345Ssjg# For minimum debugger support (stable branch) use: 37284345Ssjg#options KDB_TRACE # Print a stack trace for a panic 38284345Ssjg# For full debugger support use this instead: 39284345Ssjgoptions DDB # Enable the kernel debugger 40284345Ssjgoptions INVARIANTS # Enable calls of extra sanity checking 41284345Ssjgoptions 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# Interrupt controller 57device gic 58 59# MMC/SD/SDIO Card slot support 60#device mmc # mmc/sd bus 61#device mmcsd # mmc/sd flash cards 62 63# ATA controllers 64#device ahci # AHCI-compatible SATA controllers 65#device ata # Legacy ATA/SATA controllers 66#options ATA_STATIC_ID # Static device numbering 67 68# Console and misc 69device uart 70device uart_ns8250 71device pty 72device snp 73device md 74device random # Entropy device 75 76# I2C support 77#device iicbus 78#device iic 79 80# GPIO 81device gpio 82 83device scbus # SCSI bus (required for ATA/SCSI) 84device da # Direct Access (disks) 85device pass 86 87# USB support 88options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 89device usb 90options USB_DEBUG 91#options USB_REQ_DEBUG 92#options USB_VERBOSE 93#device uhci 94#device ohci 95device ehci 96 97device umass 98 99# Ethernet 100device loop 101device ether 102device mii 103device smscphy 104#device cpsw 105device bpf 106 107device emac 108 109# USB ethernet support, requires miibus 110device miibus 111 112# Flattened Device Tree 113options FDT # Configure using FDT/DTB data 114options FDT_DTB_STATIC 115makeoptions FDT_DTS_FILE=cubieboard2.dts 116makeoptions MODULES_EXTRA=dtb/allwinner 117