2 # GENERICV6 -- Generic(ish) kernel config.
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
26 makeoptions CONF_CFLAGS="-march=armv7a"
28 makeoptions KERNVIRTADDR=0xc0000000
29 options KERNVIRTADDR=0xc0000000
32 files "../allwinner/files.allwinner"
33 files "../allwinner/files.allwinner_up"
34 files "../allwinner/a10/files.a10"
35 files "../allwinner/a13/files.a13"
36 files "../allwinner/a20/files.a20"
37 files "../allwinner/a31/files.a31"
38 files "../allwinner/a83t/files.a83t"
39 files "../allwinner/h3/files.h3"
40 files "../broadcom/bcm2835/files.bcm2836"
41 files "../broadcom/bcm2835/files.bcm283x"
42 files "../nvidia/tegra124/files.tegra124"
43 files "../qemu/files.qemu"
44 files "../ti/files.ti"
45 files "../ti/am335x/files.am335x"
47 options SOC_ALLWINNER_A10
48 options SOC_ALLWINNER_A13
49 options SOC_ALLWINNER_A20
50 options SOC_ALLWINNER_A31
51 options SOC_ALLWINNER_A31S
52 options SOC_ALLWINNER_A83T
53 options SOC_ALLWINNER_H3
57 options SCHED_ULE # ULE scheduler
58 options SMP # Enable multiple cores
62 options LINUX_BOOT_ABI
64 # EXT_RESOURCES pseudo devices
71 # CPU frequency control
74 # Interrupt controller
78 # PMU support (for CCNT).
84 # MMC/SD/SDIO Card slot support
85 device sdhci # SD controller
86 device mmc # mmc/sd bus
87 device mmcsd # mmc/sd flash cards
90 device ahci # AHCI-compatible SATA controllers
91 #device ata # Legacy ATA/SATA controllers
98 device re # RealTek 8139C+/8169/8169S/8110S
113 device md # Memory "disks"
114 device random # Entropy device
121 device rsb # Allwinner Reduced Serial Bus
122 device p2wi # Allwinner Push-Pull Two Wire
123 device axp209 # AXP209 Power Management Unit
124 device axp81x # AXP813/818 Power Management Unit
127 device sy8106a # SY8106A Buck Regulator
129 device am335x_pmic # AM335x Power Management IC (TPC65217)
130 device am335x_rtc # RTC support (power management only)
131 #define am335x_dmtpps # Pulse Per Second capture driver
140 device evdev # input event device support
141 options EVDEV_SUPPORT # evdev support in legacy drivers
142 device uinput # install /dev/uinput cdev
154 # If we don't enable the watchdog driver, the BealeBone could potentially
155 # reboot automatically because the boot loader might have enabled the
159 device scbus # SCSI bus (required for ATA/SCSI)
160 device da # Direct Access (disks)
162 device pass # Passthrough device (direct ATA/SCSI access)
165 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
170 device dwcotg # DWC OTG controller
173 device umass # Disks/Mass storage - Requires scbus and da
174 device uhid # "Human Interface Devices"
175 device ukbd # Allow keyboard like HIDs to control console
177 # Device mode support and USFS template
178 device usb_template # Control of the gadget
184 device vlan # 802.1Q VLAN support
188 device emac # 10/100 integrated EMAC controller
189 device dwc # 10/100/1000 integrated GMAC controller
190 device awg # 10/100/1000 integrated EMAC controller
192 # USB ethernet support, requires miibus
200 # Framebuffer support
211 # TI Programmable Realtime Unit support
217 # Extensible Firmware Interface
220 # Flattened Device Tree
221 options FDT # Configure using FDT/DTB data
222 makeoptions MODULES_EXTRA="dtb/allwinner dtb/nvidia dtb/rpi"