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_MP 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 "../broadcom/bcm2835/files.bcm2836" 37files "../broadcom/bcm2835/files.bcm283x" 38files "../nvidia/tegra124/files.tegra124" 39files "../qemu/files.qemu" 40 41options SOC_ALLWINNER_A20 42options SOC_ALLWINNER_A31 43options SOC_ALLWINNER_A31S 44options SOC_ALLWINNER_A83T 45options SOC_ALLWINNER_H3 46options SOC_BCM2836 47 48options SCHED_ULE # ULE scheduler 49options SMP # Enable multiple cores 50options PLATFORM 51options PLATFORM_SMP 52options MULTIDELAY 53options LINUX_BOOT_ABI 54 55# EXT_RESOURCES pseudo devices 56options EXT_RESOURCES 57device clk 58device phy 59device hwreset 60device regulator 61 62# Interrupt controller 63options INTRNG 64device gic 65 66# ARM Generic Timer 67device generic_timer 68 69# MMC/SD/SDIO Card slot support 70device sdhci # SD controller 71device mmc # mmc/sd bus 72device mmcsd # mmc/sd flash cards 73 74# ATA controllers 75device ahci # AHCI-compatible SATA controllers 76#device ata # Legacy ATA/SATA controllers 77 78# PCI 79options NEW_PCIB 80device pci 81 82# PCI NICs 83device re # RealTek 8139C+/8169/8169S/8110S 84 85# VirtIO 86device virtio 87device virtio_mmio 88device virtio_blk 89device vtnet 90 91# Console and misc 92device uart 93device uart_ns8250 94device uart_snps 95device pl011 96device pty 97device snp 98device md # Memory "disks" 99device random # Entropy device 100device psci 101 102# I2C support 103device iicbus 104device iic 105device twsi 106device rsb 107device axp209 # AXP209 Power Management Unit 108device axp81x # AXP813/818 Power Management Unit 109device bcm2835_bsc 110device icee 111 112# GPIO 113device gpio 114device gpioled 115device gpioregulator 116 117# SPI 118device spibus 119device bcm2835_spi 120 121device scbus # SCSI bus (required for ATA/SCSI) 122device da # Direct Access (disks) 123device cd # CD 124device pass # Passthrough device (direct ATA/SCSI access) 125 126# USB support 127options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 128device usb 129#device uhci 130device ohci 131device ehci 132device dwcotg # DWC OTG controller 133 134device umass # Disks/Mass storage - Requires scbus and da 135device uhid # "Human Interface Devices" 136device ukbd # Allow keyboard like HIDs to control console 137 138# Ethernet 139device loop 140device ether 141device vlan # 802.1Q VLAN support 142device mii 143device bpf 144 145#device emac # 10/100 integrated EMAC controller 146device dwc # 10/100/1000 integrated GMAC controller 147device awg # 10/100/1000 integrated EMAC controller 148 149# USB ethernet support, requires miibus 150device smcphy 151device smsc 152device miibus 153 154# Sound support 155device sound 156 157# Framebuffer support 158device vt 159device kbdmux 160device ums 161device videomode 162device hdmi 163device vchiq 164 165# Pinmux 166device fdt_pinctrl 167 168# Extensible Firmware Interface 169options EFI 170 171# Flattened Device Tree 172options FDT # Configure using FDT/DTB data 173makeoptions MODULES_EXTRA="dtb/allwinner dtb/nvidia dtb/rpi" 174