RPI-B revision 239922
1239922Sgonzo# RPI-B -- Custom configuration for the Raspberry Pi
2239922Sgonzo#
3239922Sgonzo# For more information on this file, please read the handbook section on
4239922Sgonzo# Kernel Configuration Files:
5239922Sgonzo#
6239922Sgonzo#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7239922Sgonzo#
8239922Sgonzo# The handbook is also available locally in /usr/share/doc/handbook
9239922Sgonzo# if you've installed the doc distribution, otherwise always see the
10239922Sgonzo# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11239922Sgonzo# latest information.
12239922Sgonzo#
13239922Sgonzo# An exhaustive list of options and more detailed explanations of the
14239922Sgonzo# device lines is also present in the ../../conf/NOTES and NOTES files. 
15239922Sgonzo# If you are in doubt as to the purpose or necessity of a line, check first 
16239922Sgonzo# in NOTES.
17239922Sgonzo#
18239922Sgonzo# $FreeBSD: head/sys/arm/conf/RPI-B 239922 2012-08-30 20:59:37Z gonzo $
19239922Sgonzo
20239922Sgonzoident		RPI-B
21239922Sgonzomachine		arm	armv6
22239922Sgonzocpu 		CPU_ARM11
23239922Sgonzo
24239922Sgonzofiles		"../broadcom/bcm2835/files.bcm2835"
25239922Sgonzomakeoptions	MODULES_OVERRIDE=""
26239922Sgonzo
27239922Sgonzooptions		KERNVIRTADDR=0xc0100000
28239922Sgonzomakeoptions	KERNVIRTADDR=0xc0100000
29239922Sgonzooptions		KERNPHYSADDR=0x00100000
30239922Sgonzomakeoptions	KERNPHYSADDR=0x00100000
31239922Sgonzooptions		PHYSADDR=0x00000000
32239922Sgonzooptions		STARTUP_PAGETABLE_ADDR=0x01000000
33239922Sgonzo
34239922Sgonzomakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
35239922Sgonzooptions 	HZ=100
36239922Sgonzo
37239922Sgonzooptions 	SCHED_4BSD		#4BSD scheduler
38239922Sgonzooptions 	INET			#InterNETworking
39239922Sgonzooptions 	FFS			#Berkeley Fast Filesystem
40239922Sgonzooptions 	SOFTUPDATES		#Enable FFS soft updates support
41239922Sgonzooptions 	UFS_ACL			#Support for access control lists
42239922Sgonzooptions 	UFS_DIRHASH		#Improve performance on big directories
43239922Sgonzodevice		snp
44239922Sgonzo
45239922Sgonzo# options 	NFSCL		#Network Filesystem Client
46239922Sgonzo# options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
47239922Sgonzo# options		BOOTP_NFSROOT
48239922Sgonzo# options		BOOTP_COMPAT
49239922Sgonzo# options		BOOTP
50239922Sgonzo# options		BOOTP_NFSV3
51239922Sgonzo# options		BOOTP_WIRED_TO=ue0
52239922Sgonzo
53239922Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
54239922Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
55239922Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
56239922Sgonzooptions 	KTRACE			#ktrace(1) support
57239922Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
58239922Sgonzooptions 	SYSVMSG			#SYSV-style message queues
59239922Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
60239922Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
61239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
62239922Sgonzo
63239922Sgonzooptions 	PREEMPTION
64239922Sgonzo
65239922Sgonzodevice		bpf
66239922Sgonzodevice		loop
67239922Sgonzodevice		ether
68239922Sgonzodevice		uart
69239922Sgonzodevice		pl011
70239922Sgonzo
71239922Sgonzodevice		pty
72239922Sgonzo
73239922Sgonzo# NOTE: serial console will be disabled if syscons enabled
74239922Sgonzo# Uncomment following lines for framebuffer/syscons support
75239922Sgonzo# device		sc
76239922Sgonzo# device		kbdmux
77239922Sgonzo# options         SC_DFLT_FONT    # compile font in
78239922Sgonzo# makeoptions     SC_DFLT_FONT=cp437
79239922Sgonzo
80239922Sgonzooptions 	KDB
81239922Sgonzooptions 	DDB			#Enable the kernel debugger
82239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
83239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
84239922Sgonzo
85239922Sgonzodevice		md
86239922Sgonzodevice		random		# Entropy device
87239922Sgonzo
88239922Sgonzo# Not yet: USB support
89239922Sgonzo# device		usb
90239922Sgonzo# options 	USB_DEBUG
91239922Sgonzo
92239922Sgonzo
93239922Sgonzo# Not yet: USB Ethernet support, requires miibus
94239922Sgonzo# device		mii
95239922Sgonzo# device		smc
96239922Sgonzo# device		smcphy
97239922Sgonzo
98239922Sgonzo# Flattened Device Tree
99239922Sgonzooptions         FDT
100239922Sgonzooptions         FDT_DTB_STATIC
101239922Sgonzomakeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
102