RPI-B revision 266277
1# RPI-B -- Custom configuration for the Raspberry Pi
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files. 
15# If you are in doubt as to the purpose or necessity of a line, check first 
16# in NOTES.
17#
18# $FreeBSD: stable/10/sys/arm/conf/RPI-B 266277 2014-05-17 00:53:12Z ian $
19
20ident		RPI-B
21
22include		"../broadcom/bcm2835/std.rpi"
23
24makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
25options 	HZ=100
26
27options 	SCHED_4BSD		#4BSD scheduler
28options 	INET			#InterNETworking
29options 	INET6			#IPv6 communications protocols
30options		SCTP			#Stream Control Transmission Protocol
31options 	FFS			#Berkeley Fast Filesystem
32options 	SOFTUPDATES		#Enable FFS soft updates support
33options 	UFS_ACL			#Support for access control lists
34options 	UFS_DIRHASH		#Improve performance on big directories
35options 	GEOM_PART_BSD		#BSD partition scheme
36options 	GEOM_PART_MBR		#MBR partition scheme
37options		TMPFS			#Efficient memory filesystem
38options 	MSDOSFS			#MSDOS Filesystem
39device		snp
40
41options 	NFSCL			#Network Filesystem Client
42
43#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
44#options 	BOOTP_NFSROOT
45#options 	BOOTP_COMPAT
46#options 	BOOTP
47#options 	BOOTP_NFSV3
48#options 	BOOTP_WIRED_TO=ue0
49
50options 	PSEUDOFS		#Pseudo-filesystem framework
51options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
52options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
53options 	KTRACE			#ktrace(1) support
54options 	SYSVSHM			#SYSV-style shared memory
55options 	SYSVMSG			#SYSV-style message queues
56options 	SYSVSEM			#SYSV-style semaphores
57options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
58options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
59#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
60
61options 	PREEMPTION
62
63device		bpf
64device		loop
65device		ether
66device		uart
67device		pl011
68
69device		pty
70
71# Comment following lines for boot console on serial port
72device		vt
73device		kbdmux
74options         SC_DFLT_FONT    # compile font in
75makeoptions     SC_DFLT_FONT=cp437
76device		ukbd
77
78device		sdhci
79device		mmc
80device		mmcsd
81
82device		gpio
83device		gpioled
84
85# I2C
86device		iic
87device		iicbus
88device		bcm2835_bsc
89
90options 	KDB
91options 	DDB			#Enable the kernel debugger
92options 	INVARIANTS		#Enable calls of extra sanity checking
93options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
94
95device		md
96device		random		# Entropy device
97
98# USB support
99device		usb
100options 	USB_DEBUG
101device		dwcotg		#DWC OTG controller
102
103# USB storage support
104device		scbus
105device		da
106device		umass
107
108# USB ethernet support
109device		smcphy
110device		mii
111device		smsc
112
113# SPI
114device		spibus
115device		bcm2835_spi
116
117# Flattened Device Tree
118options         FDT
119# Note:  DTB is normally loaded and modified by RPi boot loader, then
120# handed to kernel via U-Boot and ubldr.
121#options         FDT_DTB_STATIC
122makeoptions     FDT_DTS_FILE=rpi.dts
123
124options 	VFP		# vfp/neon
125