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