CUBIEBOARD revision 263301
1245450Sganbold# CUBIEBOARD -- Custom configuration for the CUBIEBOARD ARM development 2245450Sganbold# platform, check out http://www.cubieboard.org 3245450Sganbold# 4245450Sganbold# For more information on this file, please read the handbook section on 5245450Sganbold# Kernel Configuration Files: 6245450Sganbold# 7245450Sganbold# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8245450Sganbold# 9245450Sganbold# The handbook is also available locally in /usr/share/doc/handbook 10245450Sganbold# if you've installed the doc distribution, otherwise always see the 11245450Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12245450Sganbold# latest information. 13245450Sganbold# 14245450Sganbold# An exhaustive list of options and more detailed explanations of the 15245450Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files. 16245450Sganbold# If you are in doubt as to the purpose or necessity of a line, check first 17245450Sganbold# in NOTES. 18245450Sganbold# 19245450Sganbold# $FreeBSD: head/sys/arm/conf/CUBIEBOARD 263301 2014-03-18 14:41:18Z imp $ 20245450Sganbold 21245450Sganboldident CUBIEBOARD 22245450Sganbold 23245450Sganboldinclude "../allwinner/std.a10" 24245450Sganbold 25245450Sganboldmakeoptions MODULES_OVERRIDE="" 26245450Sganboldmakeoptions WITHOUT_MODULES="ahc" 27245450Sganbold 28245450Sganboldoptions HZ=100 29263245Simpoptions SCHED_4BSD # 4BSD scheduler 30263245Simpoptions INET # InterNETworking 31263245Simpoptions INET6 # IPv6 communications protocols 32263245Simpoptions GEOM_PART_BSD # BSD partition scheme 33263245Simpoptions GEOM_PART_MBR # MBR partition scheme 34263301Simpoptions TMPFS # Efficient memory filesystem 35263245Simpoptions FFS # Berkeley Fast Filesystem 36263245Simpoptions SOFTUPDATES # Enable FFS soft updates support 37263245Simpoptions UFS_ACL # Support for access control lists 38263245Simpoptions UFS_DIRHASH # Improve performance on big directories 39263245Simpoptions MSDOSFS # MSDOS Filesystem 40263245Simpoptions CD9660 # ISO 9660 Filesystem 41263245Simpoptions PROCFS # Process filesystem (requires PSEUDOFS) 42263245Simpoptions PSEUDOFS # Pseudo-filesystem framework 43263245Simpoptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 44263245Simpoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 45263245Simpoptions KTRACE # ktrace(1) support 46263245Simpoptions SYSVSHM # SYSV-style shared memory 47263245Simpoptions SYSVMSG # SYSV-style message queues 48263245Simpoptions SYSVSEM # SYSV-style semaphores 49263245Simpoptions _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions 50245450Sganboldoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 51245450Sganboldoptions PREEMPTION 52245450Sganboldoptions FREEBSD_BOOT_LOADER 53263245Simpoptions VFP # vfp/neon 54245450Sganbold 55245450Sganbold# Debugging 56263245Simpmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 57245450Sganboldoptions BREAK_TO_DEBUGGER 58263245Simp#options VERBOSE_SYSINIT # Enable verbose sysinit messages 59245450Sganboldoptions KDB 60263245Simpoptions DDB # Enable the kernel debugger 61263245Simpoptions INVARIANTS # Enable calls of extra sanity checking 62263245Simpoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 63263245Simpoptions WITNESS # Enable checks to detect deadlocks and cycles 64263245Simpoptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 65245450Sganbold#options DIAGNOSTIC 66245450Sganbold 67245450Sganbold# NFS support 68245450Sganbold#options NFSCL 69263245Simp#options NFSSERVER # Network Filesystem Server 70263245Simp#options NFSCLIENT # Network Filesystem Client 71245450Sganbold 72245450Sganbold# Uncomment this for NFS root 73263245Simp#options NFS_ROOT # NFS usable as /, requires NFSCLIENT 74245450Sganbold#options BOOTP_NFSROOT 75245450Sganbold#options BOOTP_COMPAT 76245450Sganbold#options BOOTP 77245450Sganbold#options BOOTP_NFSV3 78245450Sganbold#options BOOTP_WIRED_TO=cpsw0 79245450Sganbold 80245450Sganbold# MMC/SD/SDIO card slot support 81245450Sganbold#device mmc # mmc/sd bus 82245450Sganbold#device mmcsd # mmc/sd flash cards 83245450Sganbold 84245450Sganbold# Boot device is 2nd slice on MMC/SD card 85263301Simpoptions ROOTDEVNAME=\"ufs:/dev/da0s2\" 86245450Sganbold 87245450Sganbold# ATA controllers 88263245Simp#device ahci # AHCI-compatible SATA controllers 89263245Simp#device ata # Legacy ATA/SATA controllers 90263245Simp#options ATA_STATIC_ID # Static device numbering 91245450Sganbold 92245450Sganbold# Console and misc 93247520Sganbolddevice uart 94247520Sganbolddevice uart_ns8250 95245450Sganbolddevice pty 96245450Sganbolddevice snp 97245450Sganbolddevice md 98245450Sganbolddevice random # Entropy device 99245450Sganbold 100245450Sganbold# I2C support 101245450Sganbold#device iicbus 102245450Sganbold#device iic 103245450Sganbold 104245450Sganbold# GPIO 105246342Sganbolddevice gpio 106245450Sganbold 107245450Sganbolddevice scbus # SCSI bus (required for SCSI) 108245450Sganbolddevice da # Direct Access (disks) 109245450Sganbolddevice pass 110245450Sganbold 111245450Sganbold# USB support 112261572Sianoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 113246057Sganbolddevice usb 114246057Sganboldoptions USB_DEBUG 115245450Sganbold#options USB_REQ_DEBUG 116245450Sganbold#options USB_VERBOSE 117245450Sganbold#device uhci 118245450Sganbold#device ohci 119246057Sganbolddevice ehci 120245450Sganbold 121246057Sganbolddevice umass 122245450Sganbold 123245450Sganbold# Ethernet 124245450Sganbolddevice loop 125245450Sganbolddevice ether 126245450Sganbolddevice mii 127245450Sganbolddevice smscphy 128245450Sganbold#device cpsw 129245450Sganbolddevice bpf 130245450Sganbold 131262711Sganbolddevice emac 132262711Sganbold 133245450Sganbold# USB ethernet support, requires miibus 134245450Sganbolddevice miibus 135245450Sganbold 136245450Sganbold# Flattened Device Tree 137263301Simpoptions FDT 138263301Simpoptions FDT_DTB_STATIC 139245450Sganboldmakeoptions FDT_DTS_FILE=cubieboard.dts 140253845Sobrien 141