A10 revision 285090
1276003Sandrew# 2295464Sandrew# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development 3254056Sganbold# platform, check out http://www.cubieboard.org 4276003Sandrew# 5276003Sandrew# For more information on this file, please read the config(5) manual page, 6254056Sganbold# and/or the handbook section on Kernel Configuration Files: 7254056Sganbold# 8254056Sganbold# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 9254056Sganbold# 10254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook 11254056Sganbold# if you've installed the doc distribution, otherwise always see the 12254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 13254056Sganbold# latest information. 14254056Sganbold# 15254056Sganbold# An exhaustive list of options and more detailed explanations of the 16254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files. 17254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first 18254056Sganbold# in NOTES. 19254056Sganbold# 20254056Sganbold# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 285090 2015-07-03 14:11:01Z loos $ 21295464Sandrew 22254056Sganboldident CUBIEBOARD2 23282576Sandrew 24295464Sandrewinclude "std.armv6" 25254056Sganboldinclude "../allwinner/a20/std.a20" 26254056Sganbold 27295464Sandrewoptions HZ=100 28294698Sandrewoptions SCHED_ULE # ULE scheduler 29254056Sganboldoptions SMP # Enable multiple cores 30276003Sandrew 31263245Simp# Debugging for use in -current 32283547Sianmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 33263245Simpoptions ALT_BREAK_TO_DEBUGGER 34276003Sandrew#options VERBOSE_SYSINIT # Enable verbose sysinit messages 35276003Sandrewoptions KDB # Enable kernel debugger support 36276003Sandrew# For minimum debugger support (stable branch) use: 37276003Sandrew#options KDB_TRACE # Print a stack trace for a panic 38263245Simp# For full debugger support use this instead: 39263245Simpoptions DDB # Enable the kernel debugger 40263245Simpoptions INVARIANTS # Enable calls of extra sanity checking 41275962Sandrewoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 42263245Simpoptions WITNESS # Enable checks to detect deadlocks and cycles 43254056Sganboldoptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 44254056Sganbold#options DIAGNOSTIC 45276003Sandrew 46276003Sandrew# NFS root from boopt/dhcp 47254056Sganbold#options BOOTP 48254056Sganbold#options BOOTP_NFSROOT 49254056Sganbold#options BOOTP_COMPAT 50295464Sandrew#options BOOTP_NFSV3 51254056Sganbold#options BOOTP_WIRED_TO=cpsw0 52276003Sandrew 53283253Sloos# Boot device is 2nd slice on MMC/SD card 54283253Sloosoptions ROOTDEVNAME=\"ufs:/dev/da0s2\" 55254056Sganbold 56254056Sganbold# Interrupt controller 57285090Sloosdevice gic 58275962Sandrew 59254056Sganbold# MMC/SD/SDIO Card slot support 60254056Sganbolddevice mmc # mmc/sd bus 61254056Sganbolddevice mmcsd # mmc/sd flash cards 62254056Sganbold 63254056Sganbold# ATA controllers 64254056Sganbolddevice ahci # AHCI-compatible SATA controllers 65254056Sganbold#device ata # Legacy ATA/SATA controllers 66254056Sganbold#options ATA_STATIC_ID # Static device numbering 67254056Sganbold 68254056Sganbold# Console and misc 69295626Sandrewdevice uart 70295626Sandrewdevice uart_ns8250 71295626Sandrewdevice pty 72295635Sandrewdevice snp 73254056Sganbolddevice md 74254056Sganbolddevice random # Entropy device 75254056Sganbold 76287316Sloos# I2C support 77254056Sganbold#device iicbus 78270912Simp#device iic 79254056Sganbold 80285090Sloos# GPIO 81254056Sganbolddevice gpio 82254056Sganbold 83261572Siandevice scbus # SCSI bus (required for ATA/SCSI) 84254056Sganbolddevice da # Direct Access (disks) 85254056Sganbolddevice pass # Passthrough device (direct ATA/SCSI access) 86254056Sganbold 87254056Sganbold# USB support 88275962Sandrewoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 89275962Sandrewdevice usb 90254056Sganboldoptions USB_DEBUG 91254056Sganbold#options USB_REQ_DEBUG 92254056Sganbold#options USB_VERBOSE 93254056Sganbold#device uhci 94254056Sganbold#device ohci 95254056Sganbolddevice ehci 96254056Sganbold 97254056Sganbolddevice umass 98254056Sganbold 99254056Sganbold# Ethernet 100295464Sandrewdevice loop 101262711Sganbolddevice ether 102254056Sganbolddevice mii 103254056Sganbolddevice bpf 104254056Sganbold 105254056Sganbolddevice emac 106276003Sandrew 107281799Sloos# USB ethernet support, requires miibus 108device miibus 109 110# Flattened Device Tree 111options FDT # Configure using FDT/DTB data 112options FDT_DTB_STATIC 113makeoptions FDT_DTS_FILE=cubieboard2.dts 114makeoptions MODULES_EXTRA=dtb/allwinner 115