RK3188 revision 282045
1#
2# Kernel configuration for Rockchip RK3188 systems.
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: head/sys/arm/conf/RK3188 282045 2015-04-27 00:39:57Z ganbold $
20
21ident		RK3188
22
23include		"../rockchip/std.rk30xx"
24
25options 	HZ=100
26options 	SCHED_ULE		# ULE scheduler
27options 	PREEMPTION		# Enable kernel thread preemption
28options 	INET			# InterNETworking
29options 	INET6			# IPv6 communications protocols
30options 	SCTP			# Stream Control Transmission Protocol
31options 	FFS			# Berkeley Fast Filesystem
32options 	SOFTUPDATES		# Enable FFS soft updates support
33options 	UFS_ACL			# Support for access control lists
34options 	UFS_DIRHASH		# Improve performance on big directories
35options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
36options 	QUOTA			# Enable disk quotas for UFS
37options 	NFSCL			# Network Filesystem Client
38options 	NFSLOCKD		# Network Lock Manager
39options 	NFS_ROOT		# NFS usable as /, requires NFSCL
40options 	MSDOSFS			# MSDOS Filesystem
41options 	CD9660			# ISO 9660 Filesystem
42options 	PROCFS			# Process filesystem (requires PSEUDOFS)
43options 	PSEUDOFS		# Pseudo-filesystem framework
44options 	TMPFS			# Efficient memory filesystem
45options 	GEOM_PART_GPT		# GUID Partition Tables
46options 	GEOM_PART_BSD		# BSD partition scheme
47options 	GEOM_PART_MBR		# MBR partition scheme
48options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
49options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
50options 	KTRACE			# ktrace(1) support
51options 	SYSVSHM			# SYSV-style shared memory
52options 	SYSVMSG			# SYSV-style message queues
53options 	SYSVSEM			# SYSV-style semaphores
54options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
55options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
56options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
57options 	VFP			# Enable floating point hardware support
58options 	SMP			# Enable multiple cores
59
60# Debugging for use in -current
61makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
62options 	BREAK_TO_DEBUGGER
63#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
64options 	KDB			# Enable kernel debugger support
65# For minimum debugger support (stable branch) use:
66#options 	KDB_TRACE		# Print a stack trace for a panic
67# For full debugger support use this instead:
68options 	DDB			# Enable the kernel debugger
69#options 	INVARIANTS		# Enable calls of extra sanity checking
70#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
71options 	WITNESS			# Enable checks to detect deadlocks and cycles
72options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
73options 	DIAGNOSTIC
74
75# Root mount from MMC/SD card
76options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0\"
77
78# MMC/SD/SDIO Card slot support
79device		mmc			# mmc/sd bus
80device		mmcsd			# mmc/sd flash cards
81device		dwmmc
82
83# Console and misc
84device		uart
85device		uart_ns8250
86device		pty
87device		snp
88device		md
89device		random			# Entropy device
90
91# I2C support
92#device		iicbus
93#device		iic
94
95# GPIO
96device		gpio
97
98device		scbus			# SCSI bus (required for ATA/SCSI)
99device		da			# Direct Access (disks)
100device		pass
101
102# USB support
103options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
104device		usb
105options 	USB_DEBUG
106#options 	USB_REQ_DEBUG
107#options 	USB_VERBOSE
108device		dwcotg			# DWC OTG controller
109
110device		umass
111
112# Ethernet
113device		loop
114device		ether
115device		mii
116device		bpf
117
118# Wireless NIC cards
119options 	IEEE80211_DEBUG
120options 	IEEE80211_AMPDU_AGE
121options 	IEEE80211_SUPPORT_MESH
122options 	IEEE80211_SUPPORT_TDMA
123device		wlan			# 802.11 support
124device		wlan_wep		# 802.11 WEP support
125device		wlan_ccmp		# 802.11 CCMP support
126device		wlan_tkip		# 802.11 TKIP support
127device		urtwn
128device		urtwnfw
129device		firmware		# Used by the above
130
131# USB Ethernet support, requires miibus
132device		miibus
133device		udav
134
135# Flattened Device Tree
136options 	FDT			# Configure using FDT/DTB data
137