RPI-B revision 239922
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 239922 2012-08-30 20:59:37Z gonzo $
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
63options 	PREEMPTION
64
65device		bpf
66device		loop
67device		ether
68device		uart
69device		pl011
70
71device		pty
72
73# NOTE: serial console will be disabled if syscons enabled
74# Uncomment following lines for framebuffer/syscons support
75# device		sc
76# device		kbdmux
77# options         SC_DFLT_FONT    # compile font in
78# makeoptions     SC_DFLT_FONT=cp437
79
80options 	KDB
81options 	DDB			#Enable the kernel debugger
82options 	INVARIANTS		#Enable calls of extra sanity checking
83options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
84
85device		md
86device		random		# Entropy device
87
88# Not yet: USB support
89# device		usb
90# options 	USB_DEBUG
91
92
93# Not yet: USB Ethernet support, requires miibus
94# device		mii
95# device		smc
96# device		smcphy
97
98# Flattened Device Tree
99options         FDT
100options         FDT_DTB_STATIC
101makeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
102