CUBIEBOARD2 revision 283387
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: stable/10/sys/arm/conf/CUBIEBOARD2 283387 2015-05-24 14:57:17Z ian $ 21 22ident CUBIEBOARD2 23 24include "../allwinner/a20/std.a20" 25 26options HZ=100 27options SCHED_ULE # ULE scheduler 28options PREEMPTION # Enable kernel thread preemption 29options INET # InterNETworking 30options INET6 # IPv6 communications protocols 31options SCTP # Stream Control Transmission Protocol 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 UFS_GJOURNAL # Enable gjournal-based UFS journaling 37options QUOTA # Enable disk quotas for UFS 38options NFSCL # New Network Filesystem Client 39options NFSLOCKD # Network Lock Manager 40options NFS_ROOT # NFS usable as /, requires NFSCL 41options MSDOSFS # MSDOS Filesystem 42options CD9660 # ISO 9660 Filesystem 43options PROCFS # Process filesystem (requires PSEUDOFS) 44options PSEUDOFS # Pseudo-filesystem framework 45options TMPFS # Efficient memory filesystem 46options GEOM_PART_GPT # GUID Partition Tables 47options GEOM_PART_BSD # BSD partition scheme 48options GEOM_PART_MBR # MBR partition scheme 49options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 50options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 51options KTRACE # ktrace(1) support 52options SYSVSHM # SYSV-style shared memory 53options SYSVMSG # SYSV-style message queues 54options SYSVSEM # SYSV-style semaphores 55options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 56options KBD_INSTALL_CDEV # install a CDEV entry in /dev 57options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 58options VFP # Enable floating point hardware support 59options SMP # Enable multiple cores 60 61# Debugging for use in -current 62makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 63options BREAK_TO_DEBUGGER 64#options VERBOSE_SYSINIT # Enable verbose sysinit messages 65options KDB # Enable kernel debugger support 66# For minimum debugger support (stable branch) use: 67#options KDB_TRACE # Print a stack trace for a panic 68# For full debugger support use this instead: 69options DDB # Enable the kernel debugger 70#options INVARIANTS # Enable calls of extra sanity checking 71#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 72#options WITNESS # Enable checks to detect deadlocks and cycles 73#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 74#options DIAGNOSTIC 75 76# NFS root from boopt/dhcp 77#options BOOTP 78#options BOOTP_NFSROOT 79#options BOOTP_COMPAT 80#options BOOTP_NFSV3 81#options BOOTP_WIRED_TO=cpsw0 82 83# Boot device is 2nd slice on MMC/SD card 84options ROOTDEVNAME=\"ufs:/dev/da0s2\" 85 86# MMC/SD/SDIO Card slot support 87#device mmc # mmc/sd bus 88#device mmcsd # mmc/sd flash cards 89 90# ATA controllers 91#device ahci # AHCI-compatible SATA controllers 92#device ata # Legacy ATA/SATA controllers 93#options ATA_STATIC_ID # Static device numbering 94 95# Console and misc 96device uart 97device uart_ns8250 98device pty 99device snp 100device md 101device random # Entropy device 102 103# I2C support 104#device iicbus 105#device iic 106 107# GPIO 108device gpio 109 110device scbus # SCSI bus (required for ATA/SCSI) 111device da # Direct Access (disks) 112device pass 113 114# USB support 115options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 116device usb 117options USB_DEBUG 118#options USB_REQ_DEBUG 119#options USB_VERBOSE 120#device uhci 121#device ohci 122device ehci 123 124device umass 125 126# Ethernet 127device loop 128device ether 129device mii 130device smscphy 131#device cpsw 132device bpf 133 134device emac 135 136# USB ethernet support, requires miibus 137device miibus 138 139# Flattened Device Tree 140options FDT # Configure using FDT/DTB data 141options FDT_DTB_STATIC 142makeoptions FDT_DTS_FILE=cubieboard2.dts 143 144