SOCKIT revision 276003
1276003Sandrew#
2271093Sbr# Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC).
3271093Sbr#
4271093Sbr# For more information on this file, please read the config(5) manual page,
5271093Sbr# and/or the handbook section on Kernel Configuration Files:
6271093Sbr#
7271093Sbr#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8271093Sbr#
9271093Sbr# The handbook is also available locally in /usr/share/doc/handbook
10271093Sbr# if you've installed the doc distribution, otherwise always see the
11271093Sbr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12271093Sbr# latest information.
13271093Sbr#
14271093Sbr# An exhaustive list of options and more detailed explanations of the
15271093Sbr# device lines is also present in the ../../conf/NOTES and NOTES files.
16271093Sbr# If you are in doubt as to the purpose or necessity of a line, check first
17271093Sbr# in NOTES.
18271093Sbr#
19271093Sbr# $FreeBSD: head/sys/arm/conf/SOCKIT 276003 2014-12-21 11:37:00Z andrew $
20271093Sbr
21271093Sbrident		SOCKIT
22271093Sbrinclude 	"../altera/socfpga/std.socfpga"
23271093Sbr
24271093Sbrmakeoptions	MODULES_OVERRIDE=""
25271093Sbr
26271093Sbrmakeoptions	WERROR="-Werror"
27271093Sbr
28271093Sbroptions 	HZ=100
29271093Sbroptions 	SCHED_4BSD		# 4BSD scheduler
30276003Sandrewoptions 	PREEMPTION		# Enable kernel thread preemption
31271093Sbroptions 	INET			# InterNETworking
32271093Sbroptions 	INET6			# IPv6 communications protocols
33276003Sandrewoptions 	SCTP			# Stream Control Transmission Protocol
34271093Sbroptions 	FFS			# Berkeley Fast Filesystem
35276003Sandrewoptions 	SOFTUPDATES		# Enable FFS soft updates support
36271093Sbroptions 	UFS_ACL			# Support for access control lists
37271093Sbroptions 	UFS_DIRHASH		# Improve performance on big directories
38276003Sandrewoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39276003Sandrewoptions 	QUOTA			# Enable disk quotas for UFS
40276003Sandrewoptions 	NFSCL			# New Network Filesystem Client
41276003Sandrewoptions 	NFSLOCKD		# Network Lock Manager
42276003Sandrewoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
43271093Sbroptions 	MSDOSFS			# MSDOS Filesystem
44271093Sbroptions 	CD9660			# ISO 9660 Filesystem
45271093Sbroptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
46271093Sbroptions 	PSEUDOFS		# Pseudo-filesystem framework
47276003Sandrewoptions 	TMPFS			# Efficient memory filesystem
48276003Sandrewoptions 	GEOM_PART_GPT		# GUID Partition Tables
49276003Sandrewoptions 	GEOM_PART_BSD		# BSD partition scheme
50276003Sandrewoptions 	GEOM_PART_MBR		# MBR partition scheme
51271093Sbroptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
52271093Sbroptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
53276003Sandrewoptions 	KTRACE			# ktrace(1) support
54271093Sbroptions 	SYSVSHM			# SYSV-style shared memory
55271093Sbroptions 	SYSVMSG			# SYSV-style message queues
56271093Sbroptions 	SYSVSEM			# SYSV-style semaphores
57276003Sandrewoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
58276003Sandrewoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
59276003Sandrewoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
60276003Sandrewoptions 	VFP			# Enable floating point hardware support
61276003Sandrewoptions 	SMP			# Enable multiple cores
62271093Sbr
63276003Sandrew# Debugging for use in -current
64271093Sbrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
65271093Sbroptions 	BREAK_TO_DEBUGGER
66271093Sbr#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
67276003Sandrewoptions 	KDB			# Enable kernel debugger support
68276003Sandrew# For minimum debugger support (stable branch) use:
69276003Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic
70276003Sandrew# For full debugger support use this instead:
71271093Sbroptions 	DDB			# Enable the kernel debugger
72271093Sbroptions 	INVARIANTS		# Enable calls of extra sanity checking
73271093Sbroptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
74271093Sbr#options 	WITNESS			# Enable checks to detect deadlocks and cycles
75271093Sbr#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
76271093Sbr#options 	DIAGNOSTIC
77271093Sbr
78276003Sandrew# NFS root from boopt/dhcp
79276003Sandrew#options 	BOOTP
80271093Sbr#options 	BOOTP_NFSROOT
81271093Sbr#options 	BOOTP_COMPAT
82271093Sbr#options 	BOOTP_NFSV3
83271093Sbr#options 	BOOTP_WIRED_TO=ue0
84271093Sbr
85276003Sandrewoptions 	ROOTDEVNAME=\"ufs:/dev/da0\"
86276003Sandrew
87276003Sandrew# MMC/SD/SDIO Card slot support
88271093Sbrdevice		mmc			# mmc/sd bus
89271093Sbrdevice		mmcsd			# mmc/sd flash cards
90272712Sbrdevice		dwmmc
91271093Sbr
92271093Sbr# Pseudo devices
93271093Sbr
94271093Sbrdevice		loop
95271093Sbrdevice		random
96271093Sbrdevice		pty
97271093Sbrdevice		md
98271093Sbrdevice		gpio
99271093Sbr
100271093Sbr# USB support
101271093Sbroptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
102271093Sbrdevice		usb
103271093Sbroptions 	USB_DEBUG
104271093Sbr#options 	USB_REQ_DEBUG
105271093Sbr#options 	USB_VERBOSE
106271093Sbr#device		musb
107271093Sbrdevice		dwcotg
108271093Sbr
109271093Sbrdevice		umass
110271093Sbrdevice		scbus			# SCSI bus (required for ATA/SCSI)
111271093Sbrdevice		da			# Direct Access (disks)
112271093Sbrdevice		pass
113271093Sbr
114271093Sbr# Serial ports
115271093Sbrdevice		uart
116271093Sbrdevice		uart_ns8250
117271093Sbr
118271093Sbr# I2C (TWSI)
119271093Sbrdevice		iic
120271093Sbrdevice		iicbus
121271093Sbr
122271093Sbr# SPI
123271093Sbrdevice		spibus
124271093Sbr
125271093Sbr# Ethernet
126271093Sbrdevice		ether
127271093Sbrdevice		mii
128271093Sbrdevice		smsc
129271093Sbrdevice		smscphy
130272120Sbrdevice		dwc
131273380Sbrdevice		micphy
132271093Sbr
133271093Sbr# USB ethernet support, requires miibus
134271093Sbrdevice		miibus
135271093Sbrdevice		axe			# ASIX Electronics USB Ethernet
136271093Sbrdevice		bpf			# Berkeley packet filter
137271093Sbr
138276003Sandrew# Flattened Device Tree
139276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
140271093Sbroptions 	FDT_DTB_STATIC
141271093Sbrmakeoptions	FDT_DTS_FILE=socfpga-sockit.dts
142