RPI-B revision 253355
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: head/sys/arm/conf/RPI-B 253355 2013-07-15 07:01:30Z rpaulo $
19239922Sgonzo
20239922Sgonzoident		RPI-B
21239922Sgonzo
22253355Srpauloinclude		"../broadcom/bcm2835/std.rpi"
23239922Sgonzomakeoptions	MODULES_OVERRIDE=""
24239922Sgonzo
25239922Sgonzomakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
26239922Sgonzooptions 	HZ=100
27239922Sgonzo
28239922Sgonzooptions 	SCHED_4BSD		#4BSD scheduler
29239922Sgonzooptions 	INET			#InterNETworking
30252432Srpaulooptions 	INET6			#IPv6 communications protocols
31252473Stuexenoptions		SCTP			#Stream Control Transmission Protocol
32239922Sgonzooptions 	FFS			#Berkeley Fast Filesystem
33239922Sgonzooptions 	SOFTUPDATES		#Enable FFS soft updates support
34239922Sgonzooptions 	UFS_ACL			#Support for access control lists
35239922Sgonzooptions 	UFS_DIRHASH		#Improve performance on big directories
36247304Skientzleoptions 	MSDOSFS			#MSDOS Filesystem
37239922Sgonzodevice		snp
38239922Sgonzo
39243701Sgonzooptions 	NFSCL			#Network Filesystem Client
40243701Sgonzo
41240572Sjmg#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
42240572Sjmg#options 	BOOTP_NFSROOT
43240572Sjmg#options 	BOOTP_COMPAT
44240572Sjmg#options 	BOOTP
45240572Sjmg#options 	BOOTP_NFSV3
46240572Sjmg#options 	BOOTP_WIRED_TO=ue0
47239922Sgonzo
48239922Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
49239922Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
50239922Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
51239922Sgonzooptions 	KTRACE			#ktrace(1) support
52239922Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
53239922Sgonzooptions 	SYSVMSG			#SYSV-style message queues
54239922Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
55239922Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
56239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
57242321Sgonzo#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
58239922Sgonzo
59239922Sgonzooptions 	PREEMPTION
60239922Sgonzo
61239922Sgonzodevice		bpf
62239922Sgonzodevice		loop
63239922Sgonzodevice		ether
64239922Sgonzodevice		uart
65239922Sgonzodevice		pl011
66239922Sgonzo
67239922Sgonzodevice		pty
68239922Sgonzo
69243701Sgonzo# Comment following lines for boot console on serial port
70243701Sgonzodevice		sc
71243701Sgonzodevice		kbdmux
72243701Sgonzooptions         SC_DFLT_FONT    # compile font in
73243701Sgonzomakeoptions     SC_DFLT_FONT=cp437
74243701Sgonzodevice		ukbd
75239922Sgonzo
76242321Sgonzodevice		sdhci
77242321Sgonzodevice		mmc
78242321Sgonzodevice		mmcsd
79242321Sgonzo
80243465Sgonzodevice		gpio
81243465Sgonzodevice		gpioled
82243465Sgonzo
83239922Sgonzooptions 	KDB
84239922Sgonzooptions 	DDB			#Enable the kernel debugger
85239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
86239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
87239922Sgonzo
88239922Sgonzodevice		md
89239922Sgonzodevice		random		# Entropy device
90239922Sgonzo
91240483Shselasky# USB support
92240483Shselaskydevice		usb
93240483Shselaskyoptions 	USB_DEBUG
94240483Shselaskydevice		dwcotg		#DWC OTG controller
95239922Sgonzo
96240483Shselasky# USB storage support
97240483Shselaskydevice		scbus
98240483Shselaskydevice		da
99240483Shselaskydevice		umass
100239922Sgonzo
101240483Shselasky# USB ethernet support
102240483Shselaskydevice		smcphy
103240483Shselaskydevice		mii
104240483Shselaskydevice		smsc
105239922Sgonzo
106239922Sgonzo# Flattened Device Tree
107239922Sgonzooptions         FDT
108247304Skientzle# Note:  DTB is normally loaded and modified by RPi boot loader, then
109247304Skientzle# handed to kernel via U-Boot and ubldr.
110247304Skientzle#options         FDT_DTB_STATIC
111252440Srpaulomakeoptions     FDT_DTS_FILE=rpi.dts
112252522Sandrew
113252522Sandrewdevice		vfp			# vfp/neon
114252522Sandrewoptions 	ARM_VFP_SUPPORT		# vfp/neon
115