1278699Sian# 2254056Sganbold# CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development 3254056Sganbold# platform, check out http://www.cubieboard.org 4254056Sganbold# 5278699Sian# For more information on this file, please read the config(5) manual page, 6278699Sian# and/or the handbook section on Kernel Configuration Files: 7254056Sganbold# 8254056Sganbold# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 9254056Sganbold# 10254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook 11254056Sganbold# if you've installed the doc distribution, otherwise always see the 12254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 13254056Sganbold# latest information. 14254056Sganbold# 15254056Sganbold# An exhaustive list of options and more detailed explanations of the 16254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files. 17254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first 18254056Sganbold# in NOTES. 19254056Sganbold# 20254056Sganbold# $FreeBSD$ 21254056Sganbold 22254056Sganboldident CUBIEBOARD2 23254056Sganbold 24278692Sianinclude "../allwinner/a20/std.a20" 25254056Sganbold 26254056Sganboldoptions HZ=100 27278677Sianoptions SCHED_ULE # ULE scheduler 28278699Sianoptions PREEMPTION # Enable kernel thread preemption 29266328Sianoptions INET # InterNETworking 30266328Sianoptions INET6 # IPv6 communications protocols 31278699Sianoptions SCTP # Stream Control Transmission Protocol 32266328Sianoptions FFS # Berkeley Fast Filesystem 33266328Sianoptions SOFTUPDATES # Enable FFS soft updates support 34278692Sianoptions UFS_ACL # Support for access control lists 35266328Sianoptions UFS_DIRHASH # Improve performance on big directories 36278699Sianoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 37278699Sianoptions QUOTA # Enable disk quotas for UFS 38278699Sianoptions NFSCL # New Network Filesystem Client 39278699Sianoptions NFSLOCKD # Network Lock Manager 40278699Sianoptions NFS_ROOT # NFS usable as /, requires NFSCL 41278692Sianoptions MSDOSFS # MSDOS Filesystem 42266328Sianoptions CD9660 # ISO 9660 Filesystem 43266328Sianoptions PROCFS # Process filesystem (requires PSEUDOFS) 44266328Sianoptions PSEUDOFS # Pseudo-filesystem framework 45278699Sianoptions TMPFS # Efficient memory filesystem 46278699Sianoptions GEOM_PART_GPT # GUID Partition Tables 47278699Sianoptions GEOM_PART_BSD # BSD partition scheme 48278699Sianoptions GEOM_PART_MBR # MBR partition scheme 49266328Sianoptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] 50266328Sianoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 51266328Sianoptions KTRACE # ktrace(1) support 52278692Sianoptions SYSVSHM # SYSV-style shared memory 53278692Sianoptions SYSVMSG # SYSV-style message queues 54278692Sianoptions SYSVSEM # SYSV-style semaphores 55278699Sianoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 56254056Sganboldoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 57278699Sianoptions FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 58278699Sianoptions VFP # Enable floating point hardware support 59278699Sianoptions SMP # Enable multiple cores 60254056Sganbold 61278699Sian# Debugging for use in -current 62266328Sianmakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 63287082Sianoptions ALT_BREAK_TO_DEBUGGER 64266328Sian#options VERBOSE_SYSINIT # Enable verbose sysinit messages 65278699Sianoptions KDB # Enable kernel debugger support 66278699Sian# For minimum debugger support (stable branch) use: 67278699Sian#options KDB_TRACE # Print a stack trace for a panic 68278699Sian# For full debugger support use this instead: 69266328Sianoptions DDB # Enable the kernel debugger 70271428Sian#options INVARIANTS # Enable calls of extra sanity checking 71271428Sian#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 72271428Sian#options WITNESS # Enable checks to detect deadlocks and cycles 73271428Sian#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 74254056Sganbold#options DIAGNOSTIC 75254056Sganbold 76278699Sian# NFS root from boopt/dhcp 77278699Sian#options BOOTP 78254056Sganbold#options BOOTP_NFSROOT 79254056Sganbold#options BOOTP_COMPAT 80254056Sganbold#options BOOTP_NFSV3 81254056Sganbold#options BOOTP_WIRED_TO=cpsw0 82254056Sganbold 83278699Sian# Boot device is 2nd slice on MMC/SD card 84278699Sianoptions ROOTDEVNAME=\"ufs:/dev/da0s2\" 85278699Sian 86278699Sian# MMC/SD/SDIO Card slot support 87278692Sian#device mmc # mmc/sd bus 88278692Sian#device mmcsd # mmc/sd flash cards 89254056Sganbold 90254056Sganbold# ATA controllers 91278692Sian#device ahci # AHCI-compatible SATA controllers 92278692Sian#device ata # Legacy ATA/SATA controllers 93283368Sian#options ATA_STATIC_ID # Static device numbering 94254056Sganbold 95254056Sganbold# Console and misc 96254056Sganbolddevice uart 97254056Sganbolddevice uart_ns8250 98254056Sganbolddevice pty 99254056Sganbolddevice snp 100254056Sganbolddevice md 101254056Sganbolddevice random # Entropy device 102254056Sganbold 103254056Sganbold# I2C support 104278692Sian#device iicbus 105278692Sian#device iic 106254056Sganbold 107254056Sganbold# GPIO 108254056Sganbolddevice gpio 109254056Sganbold 110278676Siandevice scbus # SCSI bus (required for ATA/SCSI) 111254056Sganbolddevice da # Direct Access (disks) 112254056Sganbolddevice pass 113254056Sganbold 114254056Sganbold# USB support 115266086Sianoptions USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 116254056Sganbolddevice usb 117254056Sganboldoptions USB_DEBUG 118254056Sganbold#options USB_REQ_DEBUG 119254056Sganbold#options USB_VERBOSE 120278692Sian#device uhci 121278692Sian#device ohci 122254056Sganbolddevice ehci 123254056Sganbold 124254056Sganbolddevice umass 125254056Sganbold 126254056Sganbold# Ethernet 127254056Sganbolddevice loop 128254056Sganbolddevice ether 129254056Sganbolddevice mii 130254056Sganbolddevice smscphy 131278692Sian#device cpsw 132254056Sganbolddevice bpf 133254056Sganbold 134266274Siandevice emac 135266274Sian 136254056Sganbold# USB ethernet support, requires miibus 137254056Sganbolddevice miibus 138254056Sganbold 139254056Sganbold# Flattened Device Tree 140278699Sianoptions FDT # Configure using FDT/DTB data 141254056Sganboldoptions FDT_DTB_STATIC 142254056Sganboldmakeoptions FDT_DTS_FILE=cubieboard2.dts 143254056Sganbold 144