A10 revision 262711
1254056Sganbold# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development 2254056Sganbold# platform, check out http://www.cubieboard.org 3254056Sganbold# 4254056Sganbold# For more information on this file, please read the handbook section on 5254056Sganbold# Kernel Configuration Files: 6254056Sganbold# 7254056Sganbold# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8254056Sganbold# 9254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook 10254056Sganbold# if you've installed the doc distribution, otherwise always see the 11254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12254056Sganbold# latest information. 13254056Sganbold# 14254056Sganbold# An exhaustive list of options and more detailed explanations of the 15254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files. 16254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first 17254056Sganbold# in NOTES. 18254056Sganbold# 19254056Sganbold# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 262711 2014-03-03 11:36:39Z ganbold $ 20254056Sganbold 21254056Sganboldident CUBIEBOARD2 22254056Sganbold 23254056Sganboldinclude "../allwinner/a20/std.a20" 24254056Sganbold 25254056Sganboldmakeoptions MODULES_OVERRIDE="" 26254056Sganboldmakeoptions WITHOUT_MODULES="ahc" 27254056Sganbold 28254056Sganboldoptions HZ=100 29254056Sganboldoptions SCHED_4BSD #4BSD scheduler 30254056Sganboldoptions INET #InterNETworking 31254056Sganboldoptions INET6 #IPv6 communications protocols 32254056Sganboldoptions FFS #Berkeley Fast Filesystem 33254056Sganboldoptions SOFTUPDATES #Enable FFS soft updates support 34254056Sganboldoptions UFS_ACL #Support for access control lists 35254056Sganboldoptions UFS_DIRHASH #Improve performance on big directories 36254056Sganboldoptions MSDOSFS #MSDOS Filesystem 37254056Sganboldoptions CD9660 #ISO 9660 Filesystem 38254056Sganboldoptions PROCFS #Process filesystem (requires PSEUDOFS) 39254056Sganboldoptions PSEUDOFS #Pseudo-filesystem framework 40254056Sganboldoptions COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 41254056Sganboldoptions SCSI_DELAY=5000 #Delay (in ms) before probing SCSI 42254056Sganboldoptions KTRACE #ktrace(1) support 43254056Sganboldoptions SYSVSHM #SYSV-style shared memory 44254056Sganboldoptions SYSVMSG #SYSV-style message queues 45254056Sganboldoptions SYSVSEM #SYSV-style semaphores 46254056Sganboldoptions _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 47254056Sganboldoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 48254056Sganboldoptions PREEMPTION 49254056Sganboldoptions FREEBSD_BOOT_LOADER 50254493Sandrewoptions VFP # vfp/neon 51254056Sganbold 52254056Sganbold# Debugging 53254056Sganboldmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 54254056Sganboldoptions BREAK_TO_DEBUGGER 55254056Sganbold#options VERBOSE_SYSINIT #Enable verbose sysinit messages 56254056Sganboldoptions KDB 57254056Sganboldoptions DDB #Enable the kernel debugger 58254056Sganboldoptions INVARIANTS #Enable calls of extra sanity checking 59254056Sganboldoptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 60254056Sganboldoptions WITNESS #Enable checks to detect deadlocks and cycles 61254056Sganboldoptions WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 62254056Sganbold#options DIAGNOSTIC 63254056Sganbold 64254056Sganbold# NFS support 65254056Sganbold#options NFSCL 66254056Sganbold#options NFSSERVER #Network Filesystem Server 67254056Sganbold#options NFSCLIENT #Network Filesystem Client 68254056Sganbold 69254056Sganbold# Uncomment this for NFS root 70254056Sganbold#options NFS_ROOT #NFS usable as /, requires NFSCLIENT 71254056Sganbold#options BOOTP_NFSROOT 72254056Sganbold#options BOOTP_COMPAT 73254056Sganbold#options BOOTP 74254056Sganbold#options BOOTP_NFSV3 75254056Sganbold#options BOOTP_WIRED_TO=cpsw0 76254056Sganbold 77254056Sganbold# MMC/SD/SDIO card slot support 78254056Sganbold#device mmc # mmc/sd bus 79254056Sganbold#device mmcsd # mmc/sd flash cards 80254056Sganbold 81254056Sganbold# Boot device is 2nd slice on MMC/SD card 82254056Sganboldoptions ROOTDEVNAME=\"ufs:/dev/da0s2\" 83254056Sganbold 84254056Sganbold# ATA controllers 85254056Sganbold#device ahci # AHCI-compatible SATA controllers 86254056Sganbold#device ata # Legacy ATA/SATA controllers 87254056Sganbold#options ATA_STATIC_ID # Static device numbering 88254056Sganbold 89254056Sganbold# Console and misc 90254056Sganbolddevice uart 91254056Sganbolddevice uart_ns8250 92254056Sganbolddevice pty 93254056Sganbolddevice snp 94254056Sganbolddevice md 95254056Sganbolddevice random # Entropy device 96254056Sganbold 97254056Sganbold# I2C support 98254056Sganbold#device iicbus 99254056Sganbold#device iic 100254056Sganbold 101254056Sganbold# GPIO 102254056Sganbolddevice gpio 103254056Sganbold 104254056Sganbolddevice scbus # SCSI bus (required for SCSI) 105254056Sganbolddevice da # Direct Access (disks) 106254056Sganbolddevice pass 107254056Sganbold 108254056Sganbold# USB support 109261572Sianoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 110254056Sganbolddevice usb 111254056Sganboldoptions USB_DEBUG 112254056Sganbold#options USB_REQ_DEBUG 113254056Sganbold#options USB_VERBOSE 114254056Sganbold#device uhci 115254056Sganbold#device ohci 116254056Sganbolddevice ehci 117254056Sganbold 118254056Sganbolddevice umass 119254056Sganbold 120254056Sganbold# Ethernet 121254056Sganbolddevice loop 122254056Sganbolddevice ether 123254056Sganbolddevice mii 124254056Sganbolddevice smscphy 125254056Sganbold#device cpsw 126254056Sganbolddevice bpf 127254056Sganbold 128262711Sganbolddevice emac 129262711Sganbold 130254056Sganbold# USB ethernet support, requires miibus 131254056Sganbolddevice miibus 132254056Sganbold 133254056Sganbold# Flattened Device Tree 134254056Sganboldoptions FDT 135254056Sganboldoptions FDT_DTB_STATIC 136254056Sganboldmakeoptions FDT_DTS_FILE=cubieboard2.dts 137254056Sganbold 138