RPI-B revision 253355
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: head/sys/arm/conf/RPI-B 253355 2013-07-15 07:01:30Z rpaulo $
19
20ident		RPI-B
21
22include		"../broadcom/bcm2835/std.rpi"
23makeoptions	MODULES_OVERRIDE=""
24
25makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
26options 	HZ=100
27
28options 	SCHED_4BSD		#4BSD scheduler
29options 	INET			#InterNETworking
30options 	INET6			#IPv6 communications protocols
31options		SCTP			#Stream Control Transmission Protocol
32options 	FFS			#Berkeley Fast Filesystem
33options 	SOFTUPDATES		#Enable FFS soft updates support
34options 	UFS_ACL			#Support for access control lists
35options 	UFS_DIRHASH		#Improve performance on big directories
36options 	MSDOSFS			#MSDOS Filesystem
37device		snp
38
39options 	NFSCL			#Network Filesystem Client
40
41#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
42#options 	BOOTP_NFSROOT
43#options 	BOOTP_COMPAT
44#options 	BOOTP
45#options 	BOOTP_NFSV3
46#options 	BOOTP_WIRED_TO=ue0
47
48options 	PSEUDOFS		#Pseudo-filesystem framework
49options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
50options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
51options 	KTRACE			#ktrace(1) support
52options 	SYSVSHM			#SYSV-style shared memory
53options 	SYSVMSG			#SYSV-style message queues
54options 	SYSVSEM			#SYSV-style semaphores
55options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
56options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
57#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
58
59options 	PREEMPTION
60
61device		bpf
62device		loop
63device		ether
64device		uart
65device		pl011
66
67device		pty
68
69# Comment following lines for boot console on serial port
70device		sc
71device		kbdmux
72options         SC_DFLT_FONT    # compile font in
73makeoptions     SC_DFLT_FONT=cp437
74device		ukbd
75
76device		sdhci
77device		mmc
78device		mmcsd
79
80device		gpio
81device		gpioled
82
83options 	KDB
84options 	DDB			#Enable the kernel debugger
85options 	INVARIANTS		#Enable calls of extra sanity checking
86options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
87
88device		md
89device		random		# Entropy device
90
91# USB support
92device		usb
93options 	USB_DEBUG
94device		dwcotg		#DWC OTG controller
95
96# USB storage support
97device		scbus
98device		da
99device		umass
100
101# USB ethernet support
102device		smcphy
103device		mii
104device		smsc
105
106# Flattened Device Tree
107options         FDT
108# Note:  DTB is normally loaded and modified by RPi boot loader, then
109# handed to kernel via U-Boot and ubldr.
110#options         FDT_DTB_STATIC
111makeoptions     FDT_DTS_FILE=rpi.dts
112
113device		vfp			# vfp/neon
114options 	ARM_VFP_SUPPORT		# vfp/neon
115