2 # Kernel configuration for Rockchip RK3188 systems.
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
24 include "../rockchip/std.rk30xx"
27 options SCHED_ULE # ULE scheduler
28 options SMP # Enable multiple cores
30 # Debugging for use in -current
31 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
32 options ALT_BREAK_TO_DEBUGGER
33 #options VERBOSE_SYSINIT # Enable verbose sysinit messages
34 options KDB # Enable kernel debugger support
35 # For minimum debugger support (stable branch) use:
36 #options KDB_TRACE # Print a stack trace for a panic
37 # For full debugger support use this instead:
38 options DDB # Enable the kernel debugger
39 #options INVARIANTS # Enable calls of extra sanity checking
40 #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
41 options WITNESS # Enable checks to detect deadlocks and cycles
42 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
45 # Root mount from MMC/SD card
46 options ROOTDEVNAME=\"ufs:/dev/mmcsd0\"
48 # Interrupt controller
51 # MMC/SD/SDIO Card slot support
52 device mmc # mmc/sd bus
53 device mmcsd # mmc/sd flash cards
62 device random # Entropy device
71 device scbus # SCSI bus (required for ATA/SCSI)
72 device da # Direct Access (disks)
76 options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
79 #options USB_REQ_DEBUG
81 device dwcotg # DWC OTG controller
92 options IEEE80211_DEBUG
93 options IEEE80211_AMPDU_AGE
94 options IEEE80211_SUPPORT_MESH
95 options IEEE80211_SUPPORT_TDMA
96 device wlan # 802.11 support
97 device wlan_wep # 802.11 WEP support
98 device wlan_ccmp # 802.11 CCMP support
99 device wlan_tkip # 802.11 TKIP support
102 device firmware # Used by the above
104 # USB Ethernet support, requires miibus
108 # Flattened Device Tree
109 options FDT # Configure using FDT/DTB data