A10 revision 297627
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 297627 2016-04-06 23:11:03Z 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# EXT_RESOURCES pseudo devices 55options EXT_RESOURCES 56device clk 57device phy 58device hwreset 59device regulator 60 61# MMC/SD/SDIO Card slot support 62device mmc # mmc/sd bus 63device mmcsd # mmc/sd flash cards 64 65# ATA controllers 66device ahci # AHCI-compatible SATA controllers 67#device ata # Legacy ATA/SATA controllers 68 69# Console and misc 70device uart 71device uart_snps 72device pty 73device snp 74device md 75device random # Entropy device 76 77# I2C support 78device iicbus 79device iic 80device twsi 81device axp209 # AXP209 Power Management Unit 82 83# GPIO 84device gpio 85device gpioled 86 87device scbus # SCSI bus (required for ATA/SCSI) 88device da # Direct Access (disks) 89device pass # Passthrough device (direct ATA/SCSI access) 90 91# USB support 92options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 93device usb 94options USB_DEBUG 95#options USB_REQ_DEBUG 96#options USB_VERBOSE 97#device uhci 98#device ohci 99device ehci 100 101device umass 102 103# Ethernet 104device loop 105device ether 106device mii 107device bpf 108 109device emac 110 111# USB ethernet support, requires miibus 112device miibus 113 114# Pinmux 115device fdt_pinctrl 116 117# Flattened Device Tree 118options FDT # Configure using FDT/DTB data 119makeoptions MODULES_EXTRA=dtb/allwinner 120