1256950Sganbold# RADXA -- Custom configuration for the RADXA ARM development
2256950Sganbold# platform, check out http://www.radxa.com
3256950Sganbold#
4256950Sganbold# For more information on this file, please read the handbook section on
5256950Sganbold# Kernel Configuration Files:
6256950Sganbold#
7256950Sganbold#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8256950Sganbold#
9256950Sganbold# The handbook is also available locally in /usr/share/doc/handbook
10256950Sganbold# if you've installed the doc distribution, otherwise always see the
11256950Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12256950Sganbold# latest information.
13256950Sganbold#
14256950Sganbold# An exhaustive list of options and more detailed explanations of the
15256950Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files.
16256950Sganbold# If you are in doubt as to the purpose or necessity of a line, check first
17256950Sganbold# in NOTES.
18256950Sganbold#
19256950Sganbold# $FreeBSD: releng/10.3/sys/arm/conf/RADXA 271428 2014-09-11 15:36:36Z ian $
20256950Sganbold
21256950Sganboldident		RADXA
22256950Sganbold
23256950Sganboldinclude		"../rockchip/std.rk30xx"
24256950Sganbold
25256950Sganboldmakeoptions	MODULES_OVERRIDE=""
26256950Sganboldmakeoptions	WITHOUT_MODULES="ahc"
27256950Sganbold
28266331Sianoptions 	HZ=100
29266331Sianoptions 	SCHED_4BSD		# 4BSD scheduler
30266331Sianoptions 	INET			# InterNETworking
31266331Sianoptions 	INET6			# IPv6 communications protocols
32266331Sianoptions 	FFS			# Berkeley Fast Filesystem
33266331Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
34266331Sianoptions 	UFS_ACL			# Support for access control lists
35266331Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
36266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
37266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
38266331Sianoptions 	TMPFS			# Efficient memory filesystem
39266331Sianoptions 	MSDOSFS			# MSDOS Filesystem
40266331Sianoptions 	CD9660			# ISO 9660 Filesystem
41266331Sianoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
42266331Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
43266331Sianoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
44266331Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
45266331Sianoptions 	KTRACE			# ktrace(1) support
46266331Sianoptions 	SYSVSHM			# SYSV-style shared memory
47266331Sianoptions 	SYSVMSG			# SYSV-style message queues
48266331Sianoptions 	SYSVSEM			# SYSV-style semaphores
49266331Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
50266331Sianoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
51266331Sianoptions 	PREEMPTION
52266331Sianoptions 	FREEBSD_BOOT_LOADER
53266331Sianoptions 	VFP			# vfp/neon
54256950Sganbold
55256950Sganbold# Debugging
56266328Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
57266331Sianoptions 	BREAK_TO_DEBUGGER
58266328Sian#options	VERBOSE_SYSINIT		# Enable verbose sysinit messages
59266331Sianoptions 	KDB
60266331Sianoptions 	DDB			# Enable the kernel debugger
61266328Sian#options	INVARIANTS		# Enable calls of extra sanity checking
62266328Sian#options	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
63271428Sian#options 	WITNESS			# Enable checks to detect deadlocks and cycles
64271428Sian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
65271428Sian#options 	DIAGNOSTIC
66256950Sganbold
67256950Sganbold# NFS support
68256950Sganbold#options	NFSCL
69266328Sian#options	NFSSERVER		# Network Filesystem Server
70266328Sian#options	NFSCLIENT		# Network Filesystem Client
71256950Sganbold
72256950Sganbold# MMC/SD/SDIO card slot support
73256950Sganbold#device		mmc			# mmc/sd bus
74256950Sganbold#device		mmcsd			# mmc/sd flash cards
75256950Sganbold
76256950Sganbold# Boot device is 2nd slice on MMC/SD card
77266331Sianoptions 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
78256950Sganbold
79256950Sganbold# Console and misc
80256950Sganbolddevice		uart
81256950Sganbolddevice		uart_ns8250
82256950Sganbolddevice		pty
83256950Sganbolddevice		snp
84256950Sganbolddevice		md
85256950Sganbolddevice		random			# Entropy device
86256950Sganbold
87256950Sganbold# I2C support
88256950Sganbold#device		iicbus
89256950Sganbold#device		iic
90256950Sganbold
91256950Sganbold# GPIO
92256950Sganbolddevice		gpio
93256950Sganbold
94256950Sganbolddevice		scbus			# SCSI bus (required for SCSI)
95256950Sganbolddevice		da			# Direct Access (disks)
96256950Sganbolddevice		pass
97256950Sganbold
98256950Sganbold# USB support
99266086Sianoptions 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
100256950Sganbolddevice		usb
101266331Sianoptions 	USB_DEBUG
102256950Sganbold#options	USB_REQ_DEBUG
103256950Sganbold#options	USB_VERBOSE
104266328Siandevice		dwcotg			# DWC OTG controller
105256950Sganbold
106256950Sganbolddevice		umass
107256950Sganbold
108256950Sganbold# Ethernet
109256950Sganbolddevice		loop
110256950Sganbolddevice		ether
111256950Sganbolddevice		mii
112256950Sganbolddevice		smscphy
113256950Sganbolddevice		bpf
114256950Sganbold
115256950Sganbold# USB ethernet support, requires miibus
116256950Sganbolddevice		miibus
117256950Sganbolddevice		udav
118256950Sganbold
119256950Sganbold# Flattened Device Tree
120266331Sianoptions 	FDT
121266331Sianoptions 	FDT_DTB_STATIC
122256950Sganboldmakeoptions	FDT_DTS_FILE=rk3188-radxa.dts
123256950Sganbold
124266397Sianoptions		SMP			# Enable multiple cores
125