SOCKIT revision 271093
1271093Sbr# Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC).
2271093Sbr#
3271093Sbr# For more information on this file, please read the config(5) manual page,
4271093Sbr# and/or the handbook section on Kernel Configuration Files:
5271093Sbr#
6271093Sbr#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7271093Sbr#
8271093Sbr# The handbook is also available locally in /usr/share/doc/handbook
9271093Sbr# if you've installed the doc distribution, otherwise always see the
10271093Sbr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11271093Sbr# latest information.
12271093Sbr#
13271093Sbr# An exhaustive list of options and more detailed explanations of the
14271093Sbr# device lines is also present in the ../../conf/NOTES and NOTES files.
15271093Sbr# If you are in doubt as to the purpose or necessity of a line, check first
16271093Sbr# in NOTES.
17271093Sbr#
18271093Sbr# $FreeBSD: head/sys/arm/conf/SOCKIT 271093 2014-09-04 12:44:40Z br $
19271093Sbr
20271093Sbrident		SOCKIT
21271093Sbrinclude 	"../altera/socfpga/std.socfpga"
22271093Sbr
23271093Sbrmakeoptions	MODULES_OVERRIDE=""
24271093Sbr
25271093Sbrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
26271093Sbrmakeoptions	WERROR="-Werror"
27271093Sbr
28271093Sbroptions 	HZ=100
29271093Sbroptions 	SCHED_4BSD		# 4BSD scheduler
30271093Sbroptions 	INET			# InterNETworking
31271093Sbroptions 	INET6			# IPv6 communications protocols
32271093Sbroptions 	GEOM_PART_BSD		# BSD partition scheme
33271093Sbroptions 	GEOM_PART_MBR		# MBR partition scheme
34271093Sbroptions 	GEOM_PART_GPT		# GUID partition tables
35271093Sbroptions 	TMPFS			# Efficient memory filesystem
36271093Sbroptions 	FFS			# Berkeley Fast Filesystem
37271093Sbroptions 	SOFTUPDATES
38271093Sbroptions 	UFS_ACL			# Support for access control lists
39271093Sbroptions 	UFS_DIRHASH		# Improve performance on big directories
40271093Sbroptions 	MSDOSFS			# MSDOS Filesystem
41271093Sbroptions 	CD9660			# ISO 9660 Filesystem
42271093Sbroptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
43271093Sbroptions 	PSEUDOFS		# Pseudo-filesystem framework
44271093Sbroptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
45271093Sbroptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
46271093Sbroptions 	KTRACE
47271093Sbroptions 	SYSVSHM			# SYSV-style shared memory
48271093Sbroptions 	SYSVMSG			# SYSV-style message queues
49271093Sbroptions 	SYSVSEM			# SYSV-style semaphores
50271093Sbroptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
51271093Sbroptions 	KBD_INSTALL_CDEV
52271093Sbroptions 	PREEMPTION
53271093Sbroptions 	FREEBSD_BOOT_LOADER
54271093Sbroptions 	VFP			# vfp/neon
55271093Sbr
56271093Sbr#options 	SMP
57271093Sbr
58271093Sbr# Debugging
59271093Sbrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
60271093Sbroptions 	BREAK_TO_DEBUGGER
61271093Sbr#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
62271093Sbroptions 	KDB
63271093Sbroptions 	DDB			# Enable the kernel debugger
64271093Sbroptions 	INVARIANTS		# Enable calls of extra sanity checking
65271093Sbroptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
66271093Sbr#options 	WITNESS			# Enable checks to detect deadlocks and cycles
67271093Sbr#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
68271093Sbr#options 	DIAGNOSTIC
69271093Sbr
70271093Sbr# NFS support
71271093Sbroptions 	NFSCL			# Network Filesystem Client
72271093Sbroptions 	NFSLOCKD		# Network Lock Manager
73271093Sbroptions 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
74271093Sbr
75271093Sbr# Uncomment this for NFS root
76271093Sbr#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
77271093Sbr#options 	BOOTP_NFSROOT
78271093Sbr#options 	BOOTP_COMPAT
79271093Sbr#options 	BOOTP
80271093Sbr#options 	BOOTP_NFSV3
81271093Sbr#options 	BOOTP_WIRED_TO=ue0
82271093Sbr
83271093Sbrdevice		mmc			# mmc/sd bus
84271093Sbrdevice		mmcsd			# mmc/sd flash cards
85271093Sbrdevice		sdhci			# generic sdhci
86271093Sbr
87271093Sbroptions 	ROOTDEVNAME=\"ufs:/dev/da0\"
88271093Sbr
89271093Sbr# Pseudo devices
90271093Sbr
91271093Sbrdevice		loop
92271093Sbrdevice		random
93271093Sbrdevice		pty
94271093Sbrdevice		md
95271093Sbrdevice		gpio
96271093Sbr
97271093Sbr# USB support
98271093Sbroptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
99271093Sbrdevice		usb
100271093Sbroptions 	USB_DEBUG
101271093Sbr#options 	USB_REQ_DEBUG
102271093Sbr#options 	USB_VERBOSE
103271093Sbr#device		musb
104271093Sbrdevice		dwcotg
105271093Sbr
106271093Sbrdevice		umass
107271093Sbrdevice		scbus			# SCSI bus (required for ATA/SCSI)
108271093Sbrdevice		da			# Direct Access (disks)
109271093Sbrdevice		pass
110271093Sbr
111271093Sbr# Serial ports
112271093Sbrdevice		uart
113271093Sbrdevice		uart_ns8250
114271093Sbr
115271093Sbr# I2C (TWSI)
116271093Sbrdevice		iic
117271093Sbrdevice		iicbus
118271093Sbr
119271093Sbr# SPI
120271093Sbrdevice		spibus
121271093Sbr
122271093Sbr# Ethernet
123271093Sbrdevice		ether
124271093Sbrdevice		mii
125271093Sbrdevice		smsc
126271093Sbrdevice		smscphy
127271093Sbr
128271093Sbr# USB ethernet support, requires miibus
129271093Sbrdevice		miibus
130271093Sbrdevice		axe			# ASIX Electronics USB Ethernet
131271093Sbrdevice		bpf			# Berkeley packet filter
132271093Sbr
133271093Sbr#FDT
134271093Sbroptions 	FDT
135271093Sbroptions 	FDT_DTB_STATIC
136271093Sbrmakeoptions	FDT_DTS_FILE=socfpga-sockit.dts
137