RPI-B revision 266086
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 266086 2014-05-14 20:17:31Z 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 	MSDOSFS			#MSDOS Filesystem
36device		snp
37
38options 	NFSCL			#Network Filesystem Client
39
40#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
41#options 	BOOTP_NFSROOT
42#options 	BOOTP_COMPAT
43#options 	BOOTP
44#options 	BOOTP_NFSV3
45#options 	BOOTP_WIRED_TO=ue0
46
47options 	PSEUDOFS		#Pseudo-filesystem framework
48options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
49options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
50options 	KTRACE			#ktrace(1) support
51options 	SYSVSHM			#SYSV-style shared memory
52options 	SYSVMSG			#SYSV-style message queues
53options 	SYSVSEM			#SYSV-style semaphores
54options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
55options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
56#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
57
58options 	PREEMPTION
59
60device		bpf
61device		loop
62device		ether
63device		uart
64device		pl011
65
66device		pty
67
68# Comment following lines for boot console on serial port
69device		vt
70device		kbdmux
71options         SC_DFLT_FONT    # compile font in
72makeoptions     SC_DFLT_FONT=cp437
73device		ukbd
74
75device		sdhci
76device		mmc
77device		mmcsd
78
79device		gpio
80device		gpioled
81
82# I2C
83device		iic
84device		iicbus
85device		bcm2835_bsc
86
87options 	KDB
88options 	DDB			#Enable the kernel debugger
89options 	INVARIANTS		#Enable calls of extra sanity checking
90options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
91
92device		md
93device		random		# Entropy device
94
95# USB support
96options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
97device		usb
98options 	USB_DEBUG
99device		dwcotg		#DWC OTG controller
100
101# USB storage support
102device		scbus
103device		da
104device		umass
105
106# USB ethernet support
107device		smcphy
108device		mii
109device		smsc
110
111# SPI
112device		spibus
113device		bcm2835_spi
114
115# Flattened Device Tree
116options         FDT
117# Note:  DTB is normally loaded and modified by RPi boot loader, then
118# handed to kernel via U-Boot and ubldr.
119#options         FDT_DTB_STATIC
120makeoptions     FDT_DTS_FILE=rpi.dts
121
122options 	VFP		# vfp/neon
123