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/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 "../nvidia/tegra124/files.tegra124"
44 files "../qemu/files.qemu"
45 files "../ti/files.ti"
46 files "../ti/am335x/files.am335x"
47 files "../ti/omap4/files.omap4"
49 options SOC_ALLWINNER_A10
50 options SOC_ALLWINNER_A13
51 options SOC_ALLWINNER_A20
52 options SOC_ALLWINNER_A31
53 options SOC_ALLWINNER_A31S
54 options SOC_ALLWINNER_A33
55 options SOC_ALLWINNER_A83T
56 options SOC_ALLWINNER_H3
61 options SCHED_ULE # ULE scheduler
62 options SMP # Enable multiple cores
66 options LINUX_BOOT_ABI
68 # EXT_RESOURCES pseudo devices
75 # CPU frequency control
78 # Interrupt controller
82 # PMU support (for CCNT).
89 # MMC/SD/SDIO Card slot support
90 device sdhci # SD controller
91 device mmc # mmc/sd bus
92 device mmcsd # mmc/sd flash cards
95 device ahci # AHCI-compatible SATA controllers
96 #device ata # Legacy ATA/SATA controllers
103 device re # RealTek 8139C+/8169/8169S/8110S
118 device md # Memory "disks"
119 device random # Entropy device
126 device rsb # Allwinner Reduced Serial Bus
127 device p2wi # Allwinner Push-Pull Two Wire
128 device axp209 # AXP209 Power Management Unit
129 device axp81x # AXP813/818 Power Management Unit
132 device sy8106a # SY8106A Buck Regulator
134 device am335x_pmic # AM335x Power Management IC (TPC65217)
135 device am335x_rtc # RTC support (power management only)
136 #define am335x_dmtpps # Pulse Per Second capture driver
137 device twl # TI TWLX0X0/TPS659x0 Power Management
138 device twl_vreg # twl voltage regulation
139 device twl_clks # twl external clocks
148 device evdev # input event device support
149 options EVDEV_SUPPORT # evdev support in legacy drivers
150 device uinput # install /dev/uinput cdev
163 # If we don't enable the watchdog driver, the BealeBone could potentially
164 # reboot automatically because the boot loader might have enabled the
168 device scbus # SCSI bus (required for ATA/SCSI)
169 device da # Direct Access (disks)
171 device pass # Passthrough device (direct ATA/SCSI access)
174 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
179 device dwcotg # DWC OTG controller
182 device umass # Disks/Mass storage - Requires scbus and da
183 device uhid # "Human Interface Devices"
184 device ukbd # Allow keyboard like HIDs to control console
186 # Device mode support
187 device usb_template # Control of the gadget
192 device vlan # 802.1Q VLAN support
195 # Ethernet NICs that use the common MII bus controller code.
196 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
199 device awg # 10/100/1000 integrated EMAC controller
200 device cpsw # TI Common Platform Ethernet Switch (CPSW)
201 device dwc # 10/100/1000 integrated GMAC controller
202 device emac # 10/100 integrated EMAC controller
203 device smsc # SMSC LAN91C111
208 # Framebuffer support
219 # TI Programmable Realtime Unit support
228 # Extensible Firmware Interface
231 # Flattened Device Tree
232 options FDT # Configure using FDT/DTB data
233 makeoptions MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4"