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