SOCKIT-BERI revision 273469
1273278Sbr# Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC).
2273278Sbr#
3273278Sbr# For more information on this file, please read the config(5) manual page,
4273278Sbr# and/or the handbook section on Kernel Configuration Files:
5273278Sbr#
6273278Sbr#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7273278Sbr#
8273278Sbr# The handbook is also available locally in /usr/share/doc/handbook
9273278Sbr# if you've installed the doc distribution, otherwise always see the
10273278Sbr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11273278Sbr# latest information.
12273278Sbr#
13273278Sbr# An exhaustive list of options and more detailed explanations of the
14273278Sbr# device lines is also present in the ../../conf/NOTES and NOTES files.
15273278Sbr# If you are in doubt as to the purpose or necessity of a line, check first
16273278Sbr# in NOTES.
17273278Sbr#
18273278Sbr# $FreeBSD: head/sys/arm/conf/SOCKIT-BERI 273469 2014-10-22 11:30:03Z br $
19273278Sbr
20273278Sbrident		SOCKIT-BERI
21273278Sbrinclude 	"../altera/socfpga/std.socfpga"
22273278Sbr
23273278Sbrmakeoptions	MODULES_OVERRIDE=""
24273278Sbr
25273278Sbrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
26273278Sbrmakeoptions	WERROR="-Werror"
27273278Sbr
28273278Sbroptions 	HZ=100
29273278Sbroptions 	SCHED_4BSD		# 4BSD scheduler
30273278Sbroptions 	INET			# InterNETworking
31273278Sbroptions 	INET6			# IPv6 communications protocols
32273278Sbroptions 	GEOM_PART_BSD		# BSD partition scheme
33273278Sbroptions 	GEOM_PART_MBR		# MBR partition scheme
34273278Sbroptions 	GEOM_PART_GPT		# GUID partition tables
35273278Sbroptions 	TMPFS			# Efficient memory filesystem
36273278Sbroptions 	FFS			# Berkeley Fast Filesystem
37273278Sbroptions 	SOFTUPDATES
38273278Sbroptions 	UFS_ACL			# Support for access control lists
39273278Sbroptions 	UFS_DIRHASH		# Improve performance on big directories
40273278Sbroptions 	MSDOSFS			# MSDOS Filesystem
41273278Sbroptions 	CD9660			# ISO 9660 Filesystem
42273278Sbroptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
43273278Sbroptions 	PSEUDOFS		# Pseudo-filesystem framework
44273278Sbroptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
45273278Sbroptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
46273278Sbroptions 	KTRACE
47273278Sbroptions 	SYSVSHM			# SYSV-style shared memory
48273278Sbroptions 	SYSVMSG			# SYSV-style message queues
49273278Sbroptions 	SYSVSEM			# SYSV-style semaphores
50273278Sbroptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
51273278Sbroptions 	KBD_INSTALL_CDEV
52273278Sbroptions 	PREEMPTION
53273278Sbroptions 	FREEBSD_BOOT_LOADER
54273278Sbroptions 	VFP			# vfp/neon
55273278Sbr
56273278Sbroptions 	SMP
57273278Sbr
58273278Sbr# Debugging
59273278Sbrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
60273278Sbroptions 	BREAK_TO_DEBUGGER
61273278Sbr#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
62273278Sbroptions 	KDB
63273278Sbroptions 	DDB			# Enable the kernel debugger
64273278Sbroptions 	INVARIANTS		# Enable calls of extra sanity checking
65273278Sbroptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
66273278Sbr#options 	WITNESS			# Enable checks to detect deadlocks and cycles
67273278Sbr#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
68273278Sbr#options 	DIAGNOSTIC
69273278Sbr
70273278Sbr# NFS support
71273278Sbroptions 	NFSCL			# Network Filesystem Client
72273278Sbroptions 	NFSLOCKD		# Network Lock Manager
73273278Sbroptions 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
74273278Sbr
75273278Sbr# Uncomment this for NFS root
76273278Sbr#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
77273278Sbr#options 	BOOTP_NFSROOT
78273278Sbr#options 	BOOTP_COMPAT
79273278Sbr#options 	BOOTP
80273278Sbr#options 	BOOTP_NFSV3
81273278Sbr#options 	BOOTP_WIRED_TO=ue0
82273278Sbr
83273278Sbrdevice		mmc			# mmc/sd bus
84273278Sbrdevice		mmcsd			# mmc/sd flash cards
85273278Sbrdevice		dwmmc
86273278Sbr
87273278Sbroptions 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s4\"
88273278Sbr
89273278Sbr# Pseudo devices
90273278Sbr
91273278Sbrdevice		loop
92273278Sbrdevice		random
93273278Sbrdevice		pty
94273278Sbrdevice		md
95273278Sbrdevice		gpio
96273278Sbr
97273278Sbr# USB support
98273278Sbroptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
99273278Sbrdevice		usb
100273278Sbroptions 	USB_DEBUG
101273278Sbr#options 	USB_REQ_DEBUG
102273278Sbr#options 	USB_VERBOSE
103273278Sbr#device		musb
104273278Sbrdevice		dwcotg
105273278Sbr
106273278Sbrdevice		umass
107273278Sbrdevice		scbus			# SCSI bus (required for ATA/SCSI)
108273278Sbrdevice		da			# Direct Access (disks)
109273278Sbrdevice		pass
110273278Sbr
111273278Sbr# Serial ports
112273278Sbrdevice		uart
113273278Sbrdevice		uart_ns8250
114273278Sbr
115273278Sbr# I2C (TWSI)
116273278Sbrdevice		iic
117273278Sbrdevice		iicbus
118273278Sbr
119273278Sbr# SPI
120273278Sbrdevice		spibus
121273278Sbr
122273278Sbr# BERI specific
123273278Sbrdevice		beri_ring
124273469Sbrdevice		beri_mem
125273278Sbr
126273278Sbr# Ethernet
127273278Sbrdevice		ether
128273278Sbrdevice		mii
129273278Sbrdevice		smsc
130273278Sbrdevice		smscphy
131273278Sbrdevice		dwc
132273380Sbrdevice		micphy
133273278Sbr
134273278Sbr# USB ethernet support, requires miibus
135273278Sbrdevice		miibus
136273278Sbrdevice		axe			# ASIX Electronics USB Ethernet
137273278Sbrdevice		bpf			# Berkeley packet filter
138273278Sbr
139273278Sbr#FDT
140273278Sbroptions 	FDT
141273278Sbroptions 	FDT_DTB_STATIC
142273278Sbrmakeoptions	FDT_DTS_FILE=socfpga-sockit-beri.dts
143