A10 revision 297496
1# 2# A10 -- Custom configuration for the AllWinner A10 SoC 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on 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: head/sys/arm/conf/A10 297496 2016-04-01 20:26:45Z jmcneill $ 20 21ident A10 22 23include "std.armv6" 24include "../allwinner/std.a10" 25 26options SOC_ALLWINNER_A10 27 28options HZ=100 29options SCHED_4BSD # 4BSD scheduler 30options PLATFORM 31 32# Debugging for use in -current 33makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 34options ALT_BREAK_TO_DEBUGGER 35#options VERBOSE_SYSINIT # Enable verbose sysinit messages 36options KDB # Enable kernel debugger support 37# For minimum debugger support (stable branch) use: 38#options KDB_TRACE # Print a stack trace for a panic 39# For full debugger support use this instead: 40options DDB # Enable the kernel debugger 41options INVARIANTS # Enable calls of extra sanity checking 42options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 43options WITNESS # Enable checks to detect deadlocks and cycles 44options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 45#options DIAGNOSTIC 46 47# NFS root from boopt/dhcp 48#options BOOTP 49#options BOOTP_NFSROOT 50#options BOOTP_COMPAT 51#options BOOTP_NFSV3 52#options BOOTP_WIRED_TO=emac0 53 54# MMC/SD/SDIO Card slot support 55device mmc # mmc/sd bus 56device mmcsd # mmc/sd flash cards 57 58# ATA controllers 59device ahci # AHCI-compatible SATA controllers 60#device ata # Legacy ATA/SATA controllers 61 62# Console and misc 63device uart 64device uart_snps 65device pty 66device snp 67device md 68device random # Entropy device 69 70# I2C support 71device iicbus 72device iic 73device twsi 74device axp209 # AXP209 Power Management Unit 75 76# GPIO 77device gpio 78device gpioled 79 80device scbus # SCSI bus (required for ATA/SCSI) 81device da # Direct Access (disks) 82device pass # Passthrough device (direct ATA/SCSI access) 83 84# USB support 85options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 86device usb 87options USB_DEBUG 88#options USB_REQ_DEBUG 89#options USB_VERBOSE 90#device uhci 91#device ohci 92device ehci 93 94device umass 95 96# Ethernet 97device loop 98device ether 99device mii 100device bpf 101 102device emac 103 104# USB ethernet support, requires miibus 105device miibus 106 107# Pinmux 108device fdt_pinctrl 109 110# Flattened Device Tree 111options FDT # Configure using FDT/DTB data 112makeoptions MODULES_EXTRA=dtb/allwinner 113