A10 revision 283072
18217Sasami# 28217Sasami# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development 38217Sasami# platform, check out http://www.cubieboard.org 48217Sasami# 58217Sasami# For more information on this file, please read the config(5) manual page, 68217Sasami# and/or the handbook section on Kernel Configuration Files: 78217Sasami# 88217Sasami# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 932822Syokota# 108217Sasami# The handbook is also available locally in /usr/share/doc/handbook 118217Sasami# if you've installed the doc distribution, otherwise always see the 128217Sasami# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 1332822Syokota# latest information. 148217Sasami# 158217Sasami# An exhaustive list of options and more detailed explanations of the 168217Sasami# device lines is also present in the ../../conf/NOTES and NOTES files. 178217Sasami# If you are in doubt as to the purpose or necessity of a line, check first 1832822Syokota# in NOTES. 1932822Syokota# 208217Sasami# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 283072 2015-05-18 18:25:38Z loos $ 2138141Syokota 228217Sasamiident CUBIEBOARD2 238217Sasami 248217Sasamiinclude "std.armv6" 258217Sasamiinclude "../allwinner/a20/std.a20" 268217Sasami 278217Sasamioptions HZ=100 288217Sasamioptions SCHED_ULE # ULE scheduler 298217Sasamioptions SMP # Enable multiple cores 308217Sasami 318217Sasami# Debugging for use in -current 3232822Syokotamakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 3332822Syokotaoptions BREAK_TO_DEBUGGER 348217Sasami#options VERBOSE_SYSINIT # Enable verbose sysinit messages 358217Sasamioptions KDB # Enable kernel debugger support 368217Sasami# For minimum debugger support (stable branch) use: 378217Sasami#options KDB_TRACE # Print a stack trace for a panic 388217Sasami# For full debugger support use this instead: 398217Sasamioptions DDB # Enable the kernel debugger 408217Sasamioptions INVARIANTS # Enable calls of extra sanity checking 418217Sasamioptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 428217Sasamioptions WITNESS # Enable checks to detect deadlocks and cycles 438217Sasamioptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 448217Sasami#options DIAGNOSTIC 458217Sasami 468217Sasami# NFS root from boopt/dhcp 478217Sasami#options BOOTP 488217Sasami#options BOOTP_NFSROOT 4932822Syokota#options BOOTP_COMPAT 508217Sasami#options BOOTP_NFSV3 518217Sasami#options BOOTP_WIRED_TO=cpsw0 528217Sasami 538217Sasami# Boot device is 2nd slice on MMC/SD card 548217Sasamioptions ROOTDEVNAME=\"ufs:/dev/da0s2\" 558217Sasami 568217Sasami# Interrupt controller 578217Sasamidevice gic 588217Sasami 598217Sasami# MMC/SD/SDIO Card slot support 608217Sasami#device mmc # mmc/sd bus 618217Sasami#device mmcsd # mmc/sd flash cards 628217Sasami 6332822Syokota# ATA controllers 648217Sasami#device ahci # AHCI-compatible SATA controllers 658217Sasami#device ata # Legacy ATA/SATA controllers 668217Sasami#options ATA_STATIC_ID # Static device numbering 678217Sasami 688217Sasami# Console and misc 698217Sasamidevice uart 708217Sasamidevice uart_ns8250 718217Sasamidevice pty 728217Sasamidevice snp 738217Sasamidevice md 748217Sasamidevice random # Entropy device 758217Sasami 768217Sasami# I2C support 778217Sasami#device iicbus 788217Sasami#device iic 798217Sasami 808217Sasami# GPIO 818217Sasamidevice gpio 8238141Syokota 838217Sasamidevice scbus # SCSI bus (required for ATA/SCSI) 848217Sasamidevice da # Direct Access (disks) 858217Sasamidevice pass 868217Sasami 878217Sasami# USB support 888217Sasamioptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 8938141Syokotadevice usb 908217Sasamioptions USB_DEBUG 918217Sasami#options USB_REQ_DEBUG 928217Sasami#options USB_VERBOSE 938217Sasami#device uhci 948217Sasami#device ohci 9518194Ssosdevice ehci 968217Sasami 978217Sasamidevice umass 988217Sasami 998217Sasami# Ethernet 1008217Sasamidevice loop 1018217Sasamidevice ether 1028217Sasamidevice mii 1038217Sasamidevice bpf 1048217Sasami 1058217Sasamidevice emac 1068217Sasami 1078217Sasami# USB ethernet support, requires miibus 1088217Sasamidevice miibus 10938141Syokota 1108217Sasami# Flattened Device Tree 11138141Syokotaoptions FDT # Configure using FDT/DTB data 11238141Syokotaoptions FDT_DTB_STATIC 11338141Syokotamakeoptions FDT_DTS_FILE=cubieboard2.dts 11438140Syokotamakeoptions MODULES_EXTRA=dtb/allwinner 11538141Syokota