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