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 # https://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 (https://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/a33/files.a33"
39 files "../allwinner/a83t/files.a83t"
40 files "../allwinner/h3/files.h3"
41 files "../broadcom/bcm2835/files.bcm2836"
42 files "../broadcom/bcm2835/files.bcm283x"
43 files "../freescale/imx/files.imx6"
44 files "../nvidia/tegra124/files.tegra124"
45 files "../qemu/files.qemu"
46 files "../ti/files.ti"
47 files "../ti/am335x/files.am335x"
48 files "../ti/omap4/files.omap4"
49 files "../xilinx/files.zynq7"
51 options SOC_ALLWINNER_A10
52 options SOC_ALLWINNER_A13
53 options SOC_ALLWINNER_A20
54 options SOC_ALLWINNER_A31
55 options SOC_ALLWINNER_A31S
56 options SOC_ALLWINNER_A33
57 options SOC_ALLWINNER_A83T
58 options SOC_ALLWINNER_H2PLUS
59 options SOC_ALLWINNER_H3
64 options SCHED_ULE # ULE scheduler
65 options SMP # Enable multiple cores
67 options LINUX_BOOT_ABI
69 # EXT_RESOURCES pseudo devices
76 # CPU frequency control
79 # Interrupt controller
83 # PMU support (for CCNT).
90 # MMC/SD/SDIO Card slot support
91 device sdhci # SD controller
92 device mmc # mmc/sd bus
93 device mmcsd # mmc/sd flash cards
96 device ahci # AHCI-compatible SATA controllers
97 #device ata # Legacy ATA/SATA controllers
102 device pci_host_generic
105 device re # RealTek 8139C+/8169/8169S/8110S
121 device md # Memory "disks"
122 device random # Entropy device
123 device firmware # firmware assist module
124 device pl310 # PL310 L2 cache controller
131 device rsb # Allwinner Reduced Serial Bus
132 device p2wi # Allwinner Push-Pull Two Wire
133 device axp209 # AXP209 Power Management Unit
134 device axp81x # AXP813/818 Power Management Unit
136 device fsliic # Freescale i2c/iic
137 device icee # AT24Cxxx and compatible EEPROMs
138 device sy8106a # SY8106A Buck Regulator
140 device am335x_pmic # AM335x Power Management IC (TPC65217)
141 device am335x_rtc # RTC support (power management only)
142 device twl # TI TWLX0X0/TPS659x0 Power Management
143 device twl_vreg # twl voltage regulation
144 device twl_clks # twl external clocks
147 device ds1307 # Dallas DS1307 RTC and compatible
148 device ds13rtc # All Dallas/Maxim DS13xx RTCs
149 device ds1672 # Dallas DS1672 RTC
150 device ds3231 # Dallas DS3231 RTC + temperature
151 device nxprtc # NXP RTCs: PCA/PFC212x PCA/PCF85xx
152 device s35390a # Seiko s3539x RTCs
161 device evdev # input event device support
162 options EVDEV_SUPPORT # evdev support in legacy drivers
163 device uinput # install /dev/uinput cdev
176 # If we don't enable the watchdog driver, the BealeBone could potentially
177 # reboot automatically because the boot loader might have enabled the
180 device imxwdt # Watchdog. WARNING: can't be disabled!!!
182 device scbus # SCSI bus (required for ATA/SCSI)
183 device da # Direct Access (disks)
185 device pass # Passthrough device (direct ATA/SCSI access)
188 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
193 device dwcotg # DWC OTG controller
196 device axe # USB-Ethernet
197 device umass # Disks/Mass storage - Requires scbus and da
198 device uhid # "Human Interface Devices"
199 device ukbd # Allow keyboard like HIDs to control console
201 # Device mode support
202 device usb_template # Control of the gadget
207 device vlan # 802.1Q VLAN support
210 # Ethernet NICs that use the common MII bus controller code.
211 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
214 device awg # 10/100/1000 integrated EMAC controller
215 device cpsw # TI Common Platform Ethernet Switch (CPSW)
216 device cgem # Zynq-7000 gig ethernet device
217 device dwc # 10/100/1000 integrated GMAC controller
218 device emac # 10/100 integrated EMAC controller
219 device ffec # Freescale Fast Ethernet Controller
220 device smsc # SMSC LAN91C111
225 # Framebuffer support
236 # TI Programmable Realtime Unit support
246 # Extensible Firmware Interface
249 # Flattened Device Tree
250 options FDT # Configure using FDT/DTB data
251 makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/imx6 dtb/nvidia dtb/rpi dtb/zynq dtb/omap4"