RPI-B revision 256959
1272343Sngie# RPI-B -- Custom configuration for the Raspberry Pi
2272343Sngie#
3272343Sngie# For more information on this file, please read the handbook section on
4272343Sngie# Kernel Configuration Files:
5272343Sngie#
6272343Sngie#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7272343Sngie#
8272343Sngie# The handbook is also available locally in /usr/share/doc/handbook
9272343Sngie# if you've installed the doc distribution, otherwise always see the
10272343Sngie# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11272343Sngie# latest information.
12272343Sngie#
13272343Sngie# An exhaustive list of options and more detailed explanations of the
14272343Sngie# device lines is also present in the ../../conf/NOTES and NOTES files. 
15272343Sngie# If you are in doubt as to the purpose or necessity of a line, check first 
16272343Sngie# in NOTES.
17272343Sngie#
18272343Sngie# $FreeBSD: head/sys/arm/conf/RPI-B 256959 2013-10-23 12:29:39Z loos $
19272343Sngie
20272343Sngieident		RPI-B
21272343Sngie
22272343Sngieinclude		"../broadcom/bcm2835/std.rpi"
23272343Sngie
24272343Sngiemakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
25272343Sngieoptions 	HZ=100
26272343Sngie
27272343Sngieoptions 	SCHED_4BSD		#4BSD scheduler
28272343Sngieoptions 	INET			#InterNETworking
29272343Sngieoptions 	INET6			#IPv6 communications protocols
30272343Sngieoptions		SCTP			#Stream Control Transmission Protocol
31272343Sngieoptions 	FFS			#Berkeley Fast Filesystem
32272343Sngieoptions 	SOFTUPDATES		#Enable FFS soft updates support
33272343Sngieoptions 	UFS_ACL			#Support for access control lists
34272343Sngieoptions 	UFS_DIRHASH		#Improve performance on big directories
35272343Sngieoptions 	MSDOSFS			#MSDOS Filesystem
36272343Sngiedevice		snp
37272343Sngie
38272343Sngieoptions 	NFSCL			#Network Filesystem Client
39272343Sngie
40272343Sngie#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
41272343Sngie#options 	BOOTP_NFSROOT
42272343Sngie#options 	BOOTP_COMPAT
43272343Sngie#options 	BOOTP
44272343Sngie#options 	BOOTP_NFSV3
45272343Sngie#options 	BOOTP_WIRED_TO=ue0
46272343Sngie
47272343Sngieoptions 	PSEUDOFS		#Pseudo-filesystem framework
48272343Sngieoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
49272343Sngieoptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
50272343Sngieoptions 	KTRACE			#ktrace(1) support
51272343Sngieoptions 	SYSVSHM			#SYSV-style shared memory
52272343Sngieoptions 	SYSVMSG			#SYSV-style message queues
53272343Sngieoptions 	SYSVSEM			#SYSV-style semaphores
54272343Sngieoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
55272343Sngieoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
56272343Sngie#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
57272343Sngie
58272343Sngieoptions 	PREEMPTION
59272343Sngie
60272343Sngiedevice		bpf
61272343Sngiedevice		loop
62272343Sngiedevice		ether
63272343Sngiedevice		uart
64272343Sngiedevice		pl011
65272343Sngie
66272343Sngiedevice		pty
67272343Sngie
68272343Sngie# Comment following lines for boot console on serial port
69272343Sngiedevice		sc
70272343Sngiedevice		kbdmux
71272343Sngieoptions         SC_DFLT_FONT    # compile font in
72272343Sngiemakeoptions     SC_DFLT_FONT=cp437
73272343Sngiedevice		ukbd
74272343Sngie
75272343Sngiedevice		sdhci
76272343Sngiedevice		mmc
77272343Sngiedevice		mmcsd
78272343Sngie
79272343Sngiedevice		gpio
80272343Sngiedevice		gpioled
81272343Sngie
82272343Sngie# I2C
83272343Sngiedevice		iic
84272343Sngiedevice		iicbus
85272343Sngiedevice		bcm2835_bsc
86272343Sngie
87272343Sngieoptions 	KDB
88272343Sngieoptions 	DDB			#Enable the kernel debugger
89272343Sngieoptions 	INVARIANTS		#Enable calls of extra sanity checking
90272343Sngieoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
91272343Sngie
92272343Sngiedevice		md
93272343Sngiedevice		random		# Entropy device
94272343Sngie
95272343Sngie# USB support
96272343Sngiedevice		usb
97272343Sngieoptions 	USB_DEBUG
98272343Sngiedevice		dwcotg		#DWC OTG controller
99272343Sngie
100# USB storage support
101device		scbus
102device		da
103device		umass
104
105# USB ethernet support
106device		smcphy
107device		mii
108device		smsc
109
110# Flattened Device Tree
111options         FDT
112# Note:  DTB is normally loaded and modified by RPi boot loader, then
113# handed to kernel via U-Boot and ubldr.
114#options         FDT_DTB_STATIC
115makeoptions     FDT_DTS_FILE=rpi.dts
116
117options 	VFP		# vfp/neon
118