RK3188 revision 276755
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 276755 2015-01-06 16:15:57Z jhb $
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# Boot device is 2nd slice on USB
76options 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
77
78# MMC/SD/SDIO Card slot support
79#device		mmc			# mmc/sd bus
80#device		mmcsd			# mmc/sd flash cards
81
82# Console and misc
83device		uart
84device		uart_ns8250
85device		pty
86device		snp
87device		md
88device		random			# Entropy device
89
90# I2C support
91#device		iicbus
92#device		iic
93
94# GPIO
95device		gpio
96
97device		scbus			# SCSI bus (required for ATA/SCSI)
98device		da			# Direct Access (disks)
99device		pass
100
101# USB support
102options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
103device		usb
104options 	USB_DEBUG
105#options 	USB_REQ_DEBUG
106#options 	USB_VERBOSE
107device		dwcotg			# DWC OTG controller
108
109device		umass
110
111# Ethernet
112device		loop
113device		ether
114device		mii
115device		bpf
116
117# Wireless NIC cards
118options 	IEEE80211_DEBUG
119options 	IEEE80211_AMPDU_AGE
120options 	IEEE80211_SUPPORT_MESH
121options 	IEEE80211_SUPPORT_TDMA
122device		wlan			# 802.11 support
123device		wlan_wep		# 802.11 WEP support
124device		wlan_ccmp		# 802.11 CCMP support
125device		wlan_tkip		# 802.11 TKIP support
126device		urtwn
127device		urtwnfw
128device		firmware		# Used by the above
129
130# USB Ethernet support, requires miibus
131device		miibus
132device		udav
133
134# Flattened Device Tree
135options 	FDT			# Configure using FDT/DTB data
136