RK3188 revision 266940
1# Kernel configuration for Rockchip RK3188 systems.
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD: head/sys/arm/conf/RK3188 266940 2014-06-01 05:02:48Z ganbold $
19
20ident		RK3188
21
22include		"../rockchip/std.rk30xx"
23
24options 	HZ=100
25options 	SCHED_4BSD		# 4BSD scheduler
26options 	INET			# InterNETworking
27options 	INET6			# IPv6 communications protocols
28options 	FFS			# Berkeley Fast Filesystem
29options 	SOFTUPDATES		# Enable FFS soft updates support
30options 	UFS_ACL			# Support for access control lists
31options 	UFS_DIRHASH		# Improve performance on big directories
32options 	GEOM_PART_BSD		# BSD partition scheme
33options 	GEOM_PART_MBR		# MBR partition scheme
34options 	TMPFS			# Efficient memory filesystem
35options 	MSDOSFS			# MSDOS Filesystem
36options 	CD9660			# ISO 9660 Filesystem
37options 	PROCFS			# Process filesystem (requires PSEUDOFS)
38options 	PSEUDOFS		# Pseudo-filesystem framework
39options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
40options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
41options 	KTRACE			# ktrace(1) support
42options 	SYSVSHM			# SYSV-style shared memory
43options 	SYSVMSG			# SYSV-style message queues
44options 	SYSVSEM			# SYSV-style semaphores
45options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
46options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
47options 	PREEMPTION
48options 	FREEBSD_BOOT_LOADER
49options 	VFP			# vfp/neon
50options		SMP			# Enable multiple cores
51
52# Debugging
53makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
54options 	BREAK_TO_DEBUGGER
55#options	VERBOSE_SYSINIT		# Enable verbose sysinit messages
56options 	KDB
57options 	DDB			# Enable the kernel debugger
58#options	INVARIANTS		# Enable calls of extra sanity checking
59#options	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
60options 	WITNESS			# Enable checks to detect deadlocks and cycles
61options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
62options 	DIAGNOSTIC
63
64# NFS support
65#options	NFSCL
66#options	NFSSERVER		# Network Filesystem Server
67#options	NFSCLIENT		# Network Filesystem Client
68
69# MMC/SD/SDIO card slot support
70#device		mmc			# mmc/sd bus
71#device		mmcsd			# mmc/sd flash cards
72
73# Boot device is 2nd slice on USB
74options 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
75
76# Console and misc
77device		uart
78device		uart_ns8250
79device		pty
80device		snp
81device		md
82device		random			# Entropy device
83
84# I2C support
85#device		iicbus
86#device		iic
87
88# GPIO
89device		gpio
90
91device		scbus			# SCSI bus (required for SCSI)
92device		da			# Direct Access (disks)
93device		pass
94
95# USB support
96options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
97device		usb
98options 	USB_DEBUG
99#options	USB_REQ_DEBUG
100#options	USB_VERBOSE
101device		dwcotg			# DWC OTG controller
102
103device		umass
104
105# Ethernet
106device		loop
107device		ether
108device		mii
109device		bpf
110
111# Wireless NIC cards
112options		IEEE80211_DEBUG
113options		IEEE80211_AMPDU_AGE
114options		IEEE80211_SUPPORT_MESH
115options		IEEE80211_SUPPORT_TDMA
116device		wlan			# 802.11 support
117device		wlan_wep		# 802.11 WEP support
118device		wlan_ccmp		# 802.11 CCMP support
119device		wlan_tkip		# 802.11 TKIP support
120device		urtwn
121device		urtwnfw
122device		firmware		# Used by the above
123
124# USB ethernet support, requires miibus
125device		miibus
126device		udav
127
128options		FDT			# Configure using FDT/DTB data.
129