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