CUBIEBOARD2 revision 254056
1# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development 2# platform, check out http://www.cubieboard.org 3# 4# For more information on this file, please read the handbook section on 5# Kernel Configuration Files: 6# 7# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ../../conf/NOTES and NOTES files. 16# If you are in doubt as to the purpose or necessity of a line, check first 17# in NOTES. 18# 19# $FreeBSD: head/sys/arm/conf/CUBIEBOARD2 254056 2013-08-07 11:07:56Z ganbold $ 20 21ident CUBIEBOARD2 22 23include "../allwinner/a20/std.a20" 24 25makeoptions MODULES_OVERRIDE="" 26makeoptions WITHOUT_MODULES="ahc" 27 28options HZ=100 29options SCHED_4BSD #4BSD scheduler 30options INET #InterNETworking 31options INET6 #IPv6 communications protocols 32options FFS #Berkeley Fast Filesystem 33options SOFTUPDATES #Enable FFS soft updates support 34options UFS_ACL #Support for access control lists 35options UFS_DIRHASH #Improve performance on big directories 36options MSDOSFS #MSDOS Filesystem 37options CD9660 #ISO 9660 Filesystem 38options PROCFS #Process filesystem (requires PSEUDOFS) 39options PSEUDOFS #Pseudo-filesystem framework 40options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 41options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI 42options KTRACE #ktrace(1) support 43options SYSVSHM #SYSV-style shared memory 44options SYSVMSG #SYSV-style message queues 45options SYSVSEM #SYSV-style semaphores 46options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 47options KBD_INSTALL_CDEV # install a CDEV entry in /dev 48options PREEMPTION 49options FREEBSD_BOOT_LOADER 50 51# Debugging 52makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 53options BREAK_TO_DEBUGGER 54#options VERBOSE_SYSINIT #Enable verbose sysinit messages 55options KDB 56options DDB #Enable the kernel debugger 57options INVARIANTS #Enable calls of extra sanity checking 58options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS 59options WITNESS #Enable checks to detect deadlocks and cycles 60options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed 61#options DIAGNOSTIC 62 63# NFS support 64#options NFSCL 65#options NFSSERVER #Network Filesystem Server 66#options NFSCLIENT #Network Filesystem Client 67 68# Uncomment this for NFS root 69#options NFS_ROOT #NFS usable as /, requires NFSCLIENT 70#options BOOTP_NFSROOT 71#options BOOTP_COMPAT 72#options BOOTP 73#options BOOTP_NFSV3 74#options BOOTP_WIRED_TO=cpsw0 75 76# MMC/SD/SDIO card slot support 77#device mmc # mmc/sd bus 78#device mmcsd # mmc/sd flash cards 79 80# Boot device is 2nd slice on MMC/SD card 81options ROOTDEVNAME=\"ufs:/dev/da0s2\" 82 83# ATA controllers 84#device ahci # AHCI-compatible SATA controllers 85#device ata # Legacy ATA/SATA controllers 86#options ATA_STATIC_ID # Static device numbering 87 88# Console and misc 89device uart 90device uart_ns8250 91device pty 92device snp 93device md 94device random # Entropy device 95 96# I2C support 97#device iicbus 98#device iic 99 100# GPIO 101device gpio 102 103device scbus # SCSI bus (required for SCSI) 104device da # Direct Access (disks) 105device pass 106 107# USB support 108device usb 109options USB_DEBUG 110#options USB_REQ_DEBUG 111#options USB_VERBOSE 112#device uhci 113#device ohci 114device ehci 115 116device umass 117 118# Ethernet 119device loop 120device ether 121device mii 122device smscphy 123#device cpsw 124device bpf 125 126# USB ethernet support, requires miibus 127device miibus 128 129# Flattened Device Tree 130options FDT 131options FDT_DTB_STATIC 132makeoptions FDT_DTS_FILE=cubieboard2.dts 133 134