RPI-B revision 278698
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 278698 2015-02-13 20:05:37Z 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
74device		ukbd
75
76device		sdhci
77device		mmc
78device		mmcsd
79
80device		gpio
81device		gpioled
82
83# I2C
84device		iic
85device		iicbus
86device		bcm2835_bsc
87
88options 	KDB
89options 	DDB			# Enable the kernel debugger
90#options 	INVARIANTS		# Enable calls of extra sanity checking
91#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
92
93device		md
94device		random			# Entropy device
95
96# USB support
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