RADXA revision 266397
1# RADXA -- Custom configuration for the RADXA ARM development
2# platform, check out http://www.radxa.com
3#
4# For more information on this file, please read the handbook section on
5# 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: stable/10/sys/arm/conf/RADXA 266397 2014-05-18 13:05:07Z ian $
20
21ident		RADXA
22
23include		"../rockchip/std.rk30xx"
24
25makeoptions	MODULES_OVERRIDE=""
26makeoptions	WITHOUT_MODULES="ahc"
27
28options 	HZ=100
29options 	SCHED_4BSD		# 4BSD scheduler
30options 	INET			# InterNETworking
31options 	INET6			# IPv6 communications protocols
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 	GEOM_PART_BSD		# BSD partition scheme
37options 	GEOM_PART_MBR		# MBR partition scheme
38options 	TMPFS			# Efficient memory filesystem
39options 	MSDOSFS			# MSDOS Filesystem
40options 	CD9660			# ISO 9660 Filesystem
41options 	PROCFS			# Process filesystem (requires PSEUDOFS)
42options 	PSEUDOFS		# Pseudo-filesystem framework
43options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
44options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
45options 	KTRACE			# ktrace(1) support
46options 	SYSVSHM			# SYSV-style shared memory
47options 	SYSVMSG			# SYSV-style message queues
48options 	SYSVSEM			# SYSV-style semaphores
49options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
50options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
51options 	PREEMPTION
52options 	FREEBSD_BOOT_LOADER
53options 	VFP			# vfp/neon
54
55# Debugging
56makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
57options 	BREAK_TO_DEBUGGER
58#options	VERBOSE_SYSINIT		# Enable verbose sysinit messages
59options 	KDB
60options 	DDB			# Enable the kernel debugger
61#options	INVARIANTS		# Enable calls of extra sanity checking
62#options	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
63options 	WITNESS			# Enable checks to detect deadlocks and cycles
64options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
65options 	DIAGNOSTIC
66
67# NFS support
68#options	NFSCL
69#options	NFSSERVER		# Network Filesystem Server
70#options	NFSCLIENT		# Network Filesystem Client
71
72# MMC/SD/SDIO card slot support
73#device		mmc			# mmc/sd bus
74#device		mmcsd			# mmc/sd flash cards
75
76# Boot device is 2nd slice on MMC/SD card
77options 	ROOTDEVNAME=\"ufs:/dev/da0s2\"
78
79# Console and misc
80device		uart
81device		uart_ns8250
82device		pty
83device		snp
84device		md
85device		random			# Entropy device
86
87# I2C support
88#device		iicbus
89#device		iic
90
91# GPIO
92device		gpio
93
94device		scbus			# SCSI bus (required for SCSI)
95device		da			# Direct Access (disks)
96device		pass
97
98# USB support
99options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
100device		usb
101options 	USB_DEBUG
102#options	USB_REQ_DEBUG
103#options	USB_VERBOSE
104device		dwcotg			# DWC OTG controller
105
106device		umass
107
108# Ethernet
109device		loop
110device		ether
111device		mii
112device		smscphy
113device		bpf
114
115# USB ethernet support, requires miibus
116device		miibus
117device		udav
118
119# Flattened Device Tree
120options 	FDT
121options 	FDT_DTB_STATIC
122makeoptions	FDT_DTS_FILE=rk3188-radxa.dts
123
124options		SMP			# Enable multiple cores
125