1 # CUBIEBOARD2 -- Custom configuration for the CUBIEBOARD2 ARM development
2 # platform, check out http://www.cubieboard.org
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
23 include "../allwinner/a20/std.a20"
25 makeoptions MODULES_OVERRIDE=""
26 makeoptions WITHOUT_MODULES="ahc"
29 options SCHED_4BSD #4BSD scheduler
30 options INET #InterNETworking
31 options INET6 #IPv6 communications protocols
32 options FFS #Berkeley Fast Filesystem
33 options SOFTUPDATES #Enable FFS soft updates support
34 options UFS_ACL #Support for access control lists
35 options UFS_DIRHASH #Improve performance on big directories
36 options MSDOSFS #MSDOS Filesystem
37 options CD9660 #ISO 9660 Filesystem
38 options PROCFS #Process filesystem (requires PSEUDOFS)
39 options PSEUDOFS #Pseudo-filesystem framework
40 options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
41 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
42 options KTRACE #ktrace(1) support
43 options SYSVSHM #SYSV-style shared memory
44 options SYSVMSG #SYSV-style message queues
45 options SYSVSEM #SYSV-style semaphores
46 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
47 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
49 options FREEBSD_BOOT_LOADER
50 options VFP # vfp/neon
53 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
54 options BREAK_TO_DEBUGGER
55 #options VERBOSE_SYSINIT #Enable verbose sysinit messages
57 options DDB #Enable the kernel debugger
58 options INVARIANTS #Enable calls of extra sanity checking
59 options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
60 options WITNESS #Enable checks to detect deadlocks and cycles
61 options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
66 #options NFSSERVER #Network Filesystem Server
67 #options NFSCLIENT #Network Filesystem Client
69 # Uncomment this for NFS root
70 #options NFS_ROOT #NFS usable as /, requires NFSCLIENT
71 #options BOOTP_NFSROOT
75 #options BOOTP_WIRED_TO=cpsw0
77 # MMC/SD/SDIO card slot support
78 #device mmc # mmc/sd bus
79 #device mmcsd # mmc/sd flash cards
81 # Boot device is 2nd slice on MMC/SD card
82 options ROOTDEVNAME=\"ufs:/dev/da0s2\"
85 #device ahci # AHCI-compatible SATA controllers
86 #device ata # Legacy ATA/SATA controllers
87 #options ATA_STATIC_ID # Static device numbering
95 device random # Entropy device
104 device scbus # SCSI bus (required for SCSI)
105 device da # Direct Access (disks)
109 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
112 #options USB_REQ_DEBUG
130 # USB ethernet support, requires miibus
133 # Flattened Device Tree
135 options FDT_DTB_STATIC
136 makeoptions FDT_DTS_FILE=cubieboard2.dts