1# 2# GENERICV6 -- Generic(ish) kernel config. 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$ 20 21ident GENERIC 22 23cpu CPU_CORTEXA 24machine arm armv6 25makeoptions CONF_CFLAGS="-march=armv7a" 26 27makeoptions KERNVIRTADDR=0xc0000000 28options KERNVIRTADDR=0xc0000000 29 30include "std.armv6" 31files "../allwinner/files.allwinner" 32files "../allwinner/a20/files.a20" 33files "../allwinner/a31/files.a31" 34files "../allwinner/a83t/files.a83t" 35files "../allwinner/h3/files.h3" 36files "../qemu/files.qemu" 37 38options SOC_ALLWINNER_A20 39options SOC_ALLWINNER_A31 40options SOC_ALLWINNER_A31S 41options SOC_ALLWINNER_A83T 42options SOC_ALLWINNER_H3 43 44options SCHED_ULE # ULE scheduler 45options SMP # Enable multiple cores 46options PLATFORM 47options PLATFORM_SMP 48options MULTIDELAY 49 50# EXT_RESOURCES pseudo devices 51options EXT_RESOURCES 52device clk 53device phy 54device hwreset 55device regulator 56 57# Interrupt controller 58options INTRNG 59device gic 60 61# ARM Generic Timer 62device generic_timer 63 64# MMC/SD/SDIO Card slot support 65device mmc # mmc/sd bus 66device mmcsd # mmc/sd flash cards 67 68# ATA controllers 69device ahci # AHCI-compatible SATA controllers 70#device ata # Legacy ATA/SATA controllers 71 72# VirtIO 73device virtio 74device virtio_mmio 75device virtio_blk 76device vtnet 77 78# Console and misc 79device uart 80device uart_snps 81device pl011 82device pty 83device snp 84device md 85device random # Entropy device 86device psci 87 88# I2C support 89device iicbus 90device iic 91device twsi 92device rsb 93device axp209 # AXP209 Power Management Unit 94device axp81x # AXP813/818 Power Management Unit 95 96# GPIO 97device gpio 98device gpioled 99 100device scbus # SCSI bus (required for ATA/SCSI) 101device da # Direct Access (disks) 102device pass # Passthrough device (direct ATA/SCSI access) 103 104# USB support 105options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 106device usb 107#device uhci 108device ohci 109device ehci 110 111device umass 112 113# Ethernet 114device loop 115device ether 116device mii 117device bpf 118 119#device emac # 10/100 integrated EMAC controller 120device dwc # 10/100/1000 integrated GMAC controller 121device awg # 10/100/1000 integrated EMAC controller 122 123# USB ethernet support, requires miibus 124device miibus 125 126# Sound support 127device sound 128 129# Framebuffer support 130device vt 131device kbdmux 132device ums 133device ukbd 134device videomode 135device hdmi 136 137# Pinmux 138device fdt_pinctrl 139 140# Extensible Firmware Interface 141options EFI 142 143# Flattened Device Tree 144options FDT # Configure using FDT/DTB data 145makeoptions MODULES_EXTRA=dtb/allwinner 146