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