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# CPU frequency control 63device cpufreq 64 65# Interrupt controller 66options INTRNG 67device gic 68 69# ARM Generic Timer 70device generic_timer 71 72# MMC/SD/SDIO Card slot support 73device sdhci # SD controller 74device mmc # mmc/sd bus 75device mmcsd # mmc/sd flash cards 76 77# ATA controllers 78device ahci # AHCI-compatible SATA controllers 79#device ata # Legacy ATA/SATA controllers 80 81# PCI 82options NEW_PCIB 83device pci 84 85# PCI NICs 86device re # RealTek 8139C+/8169/8169S/8110S 87 88# VirtIO 89device virtio 90device virtio_mmio 91device virtio_blk 92device vtnet 93 94# Console and misc 95device uart 96device uart_ns8250 97device uart_snps 98device pl011 99device pty 100device snp 101device md # Memory "disks" 102device random # Entropy device 103device psci 104 105# I2C support 106device iicbus 107device iic 108device twsi 109device rsb # Allwinner Reduced Serial Bus 110device p2wi # Allwinner Push-Pull Two Wire 111device axp209 # AXP209 Power Management Unit 112device axp81x # AXP813/818 Power Management Unit 113device bcm2835_bsc 114device icee 115device sy8106a # SY8106A Buck Regulator 116 117# GPIO 118device gpio 119device gpioled 120device gpioregulator 121 122# EVDEV support 123device evdev # input event device support 124options EVDEV_SUPPORT # evdev support in legacy drivers 125device uinput # install /dev/uinput cdev 126device aw_cir 127 128# SPI 129device spibus 130device bcm2835_spi 131 132device scbus # SCSI bus (required for ATA/SCSI) 133device da # Direct Access (disks) 134device cd # CD 135device pass # Passthrough device (direct ATA/SCSI access) 136 137# USB support 138options USB_HOST_ALIGN=64 # Align usb buffers to cache line size. 139device usb 140#device uhci 141device ohci 142device ehci 143device dwcotg # DWC OTG controller 144 145device umass # Disks/Mass storage - Requires scbus and da 146device uhid # "Human Interface Devices" 147device ukbd # Allow keyboard like HIDs to control console 148 149# Ethernet 150device loop 151device ether 152device vlan # 802.1Q VLAN support 153device mii 154device bpf 155 156#device emac # 10/100 integrated EMAC controller 157device dwc # 10/100/1000 integrated GMAC controller 158device awg # 10/100/1000 integrated EMAC controller 159 160# USB ethernet support, requires miibus 161device smcphy 162device smsc 163device miibus 164 165# Sound support 166device sound 167 168# Framebuffer support 169device vt 170device kbdmux 171device ums 172device videomode 173device hdmi 174device vchiq 175 176# Pinmux 177device fdt_pinctrl 178 179# Extensible Firmware Interface 180options EFI 181 182# Flattened Device Tree 183options FDT # Configure using FDT/DTB data 184makeoptions MODULES_EXTRA="dtb/allwinner dtb/nvidia dtb/rpi" 185