RPI-B revision 240572
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 240572 2012-09-16 19:48:48Z jmg $
19
20ident		RPI-B
21machine		arm	armv6
22cpu 		CPU_ARM11
23
24files		"../broadcom/bcm2835/files.bcm2835"
25makeoptions	MODULES_OVERRIDE=""
26
27options 	KERNVIRTADDR=0xc0100000
28makeoptions	KERNVIRTADDR=0xc0100000
29options 	KERNPHYSADDR=0x00100000
30makeoptions	KERNPHYSADDR=0x00100000
31options 	PHYSADDR=0x00000000
32options 	STARTUP_PAGETABLE_ADDR=0x01000000
33
34makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
35options 	HZ=100
36
37options 	SCHED_4BSD		#4BSD scheduler
38options 	INET			#InterNETworking
39options 	FFS			#Berkeley Fast Filesystem
40options 	SOFTUPDATES		#Enable FFS soft updates support
41options 	UFS_ACL			#Support for access control lists
42options 	UFS_DIRHASH		#Improve performance on big directories
43device		snp
44
45#options 	NFSCL			#Network Filesystem Client
46#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
47#options 	BOOTP_NFSROOT
48#options 	BOOTP_COMPAT
49#options 	BOOTP
50#options 	BOOTP_NFSV3
51#options 	BOOTP_WIRED_TO=ue0
52
53options 	PSEUDOFS		#Pseudo-filesystem framework
54options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
55options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
56options 	KTRACE			#ktrace(1) support
57options 	SYSVSHM			#SYSV-style shared memory
58options 	SYSVMSG			#SYSV-style message queues
59options 	SYSVSEM			#SYSV-style semaphores
60options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
61options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
62#options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
63
64options 	PREEMPTION
65
66device		bpf
67device		loop
68device		ether
69device		uart
70device		pl011
71
72device		pty
73
74# NOTE: serial console will be disabled if syscons enabled
75# Uncomment following lines for framebuffer/syscons support
76# device		sc
77# device		kbdmux
78# options         SC_DFLT_FONT    # compile font in
79# makeoptions     SC_DFLT_FONT=cp437
80
81options 	KDB
82options 	DDB			#Enable the kernel debugger
83options 	INVARIANTS		#Enable calls of extra sanity checking
84options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
85
86device		md
87device		random		# Entropy device
88
89# USB support
90device		usb
91options 	USB_DEBUG
92device		dwcotg		#DWC OTG controller
93
94# USB storage support
95device		scbus
96device		da
97device		umass
98
99# USB ethernet support
100device		smcphy
101device		mii
102device		smsc
103
104# Flattened Device Tree
105options         FDT
106options         FDT_DTB_STATIC
107makeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
108