RPI-B revision 266328
1239922Sgonzo# RPI-B -- Custom configuration for the Raspberry Pi
2239922Sgonzo#
3239922Sgonzo# For more information on this file, please read the handbook section on
4239922Sgonzo# Kernel Configuration Files:
5239922Sgonzo#
6239922Sgonzo#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7239922Sgonzo#
8239922Sgonzo# The handbook is also available locally in /usr/share/doc/handbook
9239922Sgonzo# if you've installed the doc distribution, otherwise always see the
10239922Sgonzo# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11239922Sgonzo# latest information.
12239922Sgonzo#
13239922Sgonzo# An exhaustive list of options and more detailed explanations of the
14239922Sgonzo# device lines is also present in the ../../conf/NOTES and NOTES files. 
15239922Sgonzo# If you are in doubt as to the purpose or necessity of a line, check first 
16239922Sgonzo# in NOTES.
17239922Sgonzo#
18239922Sgonzo# $FreeBSD: stable/10/sys/arm/conf/RPI-B 266328 2014-05-17 16:46:15Z ian $
19239922Sgonzo
20239922Sgonzoident		RPI-B
21239922Sgonzo
22253355Srpauloinclude		"../broadcom/bcm2835/std.rpi"
23239922Sgonzo
24266328Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
25239922Sgonzooptions 	HZ=100
26239922Sgonzo
27266328Sianoptions 	SCHED_4BSD		# 4BSD scheduler
28266328Sianoptions 	INET			# InterNETworking
29266328Sianoptions 	INET6			# IPv6 communications protocols
30266328Sianoptions		SCTP			# Stream Control Transmission Protocol
31266328Sianoptions 	FFS			# Berkeley Fast Filesystem
32266328Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
33266328Sianoptions 	UFS_ACL			# Support for access control lists
34266328Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
35266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
36266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
37266328Sianoptions		TMPFS			# Efficient memory filesystem
38266328Sianoptions 	MSDOSFS			# MSDOS Filesystem
39239922Sgonzodevice		snp
40239922Sgonzo
41266328Sianoptions 	NFSCL			# Network Filesystem Client
42243701Sgonzo
43266328Sian#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
44240572Sjmg#options 	BOOTP_NFSROOT
45240572Sjmg#options 	BOOTP_COMPAT
46240572Sjmg#options 	BOOTP
47240572Sjmg#options 	BOOTP_NFSV3
48240572Sjmg#options 	BOOTP_WIRED_TO=ue0
49239922Sgonzo
50266328Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
51266328Sianoptions 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
52266328Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
53266328Sianoptions 	KTRACE			# ktrace(1) support
54266328Sianoptions 	SYSVSHM			# SYSV-style shared memory
55266328Sianoptions 	SYSVMSG			# SYSV-style message queues
56266328Sianoptions 	SYSVSEM			# SYSV-style semaphores
57266328Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
58239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
59242321Sgonzo#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
60239922Sgonzo
61239922Sgonzooptions 	PREEMPTION
62239922Sgonzo
63239922Sgonzodevice		bpf
64239922Sgonzodevice		loop
65239922Sgonzodevice		ether
66239922Sgonzodevice		uart
67239922Sgonzodevice		pl011
68239922Sgonzo
69239922Sgonzodevice		pty
70239922Sgonzo
71243701Sgonzo# Comment following lines for boot console on serial port
72266022Siandevice		vt
73243701Sgonzodevice		kbdmux
74266328Sianoptions         SC_DFLT_FONT		# compile font in
75243701Sgonzomakeoptions     SC_DFLT_FONT=cp437
76243701Sgonzodevice		ukbd
77239922Sgonzo
78242321Sgonzodevice		sdhci
79242321Sgonzodevice		mmc
80242321Sgonzodevice		mmcsd
81242321Sgonzo
82243465Sgonzodevice		gpio
83243465Sgonzodevice		gpioled
84243465Sgonzo
85261078Sloos# I2C
86261078Sloosdevice		iic
87261078Sloosdevice		iicbus
88261078Sloosdevice		bcm2835_bsc
89261078Sloos
90239922Sgonzooptions 	KDB
91266328Sianoptions 	DDB			# Enable the kernel debugger
92266328Sianoptions 	INVARIANTS		# Enable calls of extra sanity checking
93266328Sianoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
94239922Sgonzo
95239922Sgonzodevice		md
96266328Siandevice		random			# Entropy device
97239922Sgonzo
98240483Shselasky# USB support
99240483Shselaskydevice		usb
100240483Shselaskyoptions 	USB_DEBUG
101266328Siandevice		dwcotg			# DWC OTG controller
102239922Sgonzo
103240483Shselasky# USB storage support
104240483Shselaskydevice		scbus
105240483Shselaskydevice		da
106240483Shselaskydevice		umass
107239922Sgonzo
108240483Shselasky# USB ethernet support
109240483Shselaskydevice		smcphy
110240483Shselaskydevice		mii
111240483Shselaskydevice		smsc
112239922Sgonzo
113259325Sian# SPI
114259325Siandevice		spibus
115259325Siandevice		bcm2835_spi
116259325Sian
117239922Sgonzo# Flattened Device Tree
118239922Sgonzooptions         FDT
119247304Skientzle# Note:  DTB is normally loaded and modified by RPi boot loader, then
120247304Skientzle# handed to kernel via U-Boot and ubldr.
121247304Skientzle#options         FDT_DTB_STATIC
122252440Srpaulomakeoptions     FDT_DTS_FILE=rpi.dts
123252522Sandrew
124266328Sianoptions 	VFP			# vfp/neon
125