RPI-B revision 242061
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 242061 2012-10-25 04:10:32Z kientzle $
19239922Sgonzo
20239922Sgonzoident		RPI-B
21239922Sgonzomachine		arm	armv6
22239922Sgonzocpu 		CPU_ARM11
23239922Sgonzo
24239922Sgonzofiles		"../broadcom/bcm2835/files.bcm2835"
25239922Sgonzomakeoptions	MODULES_OVERRIDE=""
26239922Sgonzo
27240572Sjmgoptions 	KERNVIRTADDR=0xc0100000
28239922Sgonzomakeoptions	KERNVIRTADDR=0xc0100000
29240572Sjmgoptions 	KERNPHYSADDR=0x00100000
30239922Sgonzomakeoptions	KERNPHYSADDR=0x00100000
31240572Sjmgoptions 	PHYSADDR=0x00000000
32240572Sjmgoptions 	STARTUP_PAGETABLE_ADDR=0x01000000
33242061Skientzleoptions		FREEBSD_BOOT_LOADER
34242061Skientzleoptions		LINUX_BOOT_ABI
35239922Sgonzo
36239922Sgonzomakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
37239922Sgonzooptions 	HZ=100
38239922Sgonzo
39239922Sgonzooptions 	SCHED_4BSD		#4BSD scheduler
40239922Sgonzooptions 	INET			#InterNETworking
41239922Sgonzooptions 	FFS			#Berkeley Fast Filesystem
42239922Sgonzooptions 	SOFTUPDATES		#Enable FFS soft updates support
43239922Sgonzooptions 	UFS_ACL			#Support for access control lists
44239922Sgonzooptions 	UFS_DIRHASH		#Improve performance on big directories
45239922Sgonzodevice		snp
46239922Sgonzo
47240572Sjmg#options 	NFSCL			#Network Filesystem Client
48240572Sjmg#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
49240572Sjmg#options 	BOOTP_NFSROOT
50240572Sjmg#options 	BOOTP_COMPAT
51240572Sjmg#options 	BOOTP
52240572Sjmg#options 	BOOTP_NFSV3
53240572Sjmg#options 	BOOTP_WIRED_TO=ue0
54239922Sgonzo
55239922Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
56239922Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
57239922Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
58239922Sgonzooptions 	KTRACE			#ktrace(1) support
59239922Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
60239922Sgonzooptions 	SYSVMSG			#SYSV-style message queues
61239922Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
62239922Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
63239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
64240483Shselasky#options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
65239922Sgonzo
66239922Sgonzooptions 	PREEMPTION
67239922Sgonzo
68239922Sgonzodevice		bpf
69239922Sgonzodevice		loop
70239922Sgonzodevice		ether
71239922Sgonzodevice		uart
72239922Sgonzodevice		pl011
73239922Sgonzo
74239922Sgonzodevice		pty
75239922Sgonzo
76239922Sgonzo# NOTE: serial console will be disabled if syscons enabled
77239922Sgonzo# Uncomment following lines for framebuffer/syscons support
78239922Sgonzo# device		sc
79239922Sgonzo# device		kbdmux
80239922Sgonzo# options         SC_DFLT_FONT    # compile font in
81239922Sgonzo# makeoptions     SC_DFLT_FONT=cp437
82239922Sgonzo
83239922Sgonzooptions 	KDB
84239922Sgonzooptions 	DDB			#Enable the kernel debugger
85239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
86239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
87239922Sgonzo
88239922Sgonzodevice		md
89239922Sgonzodevice		random		# Entropy device
90239922Sgonzo
91240483Shselasky# USB support
92240483Shselaskydevice		usb
93240483Shselaskyoptions 	USB_DEBUG
94240483Shselaskydevice		dwcotg		#DWC OTG controller
95239922Sgonzo
96240483Shselasky# USB storage support
97240483Shselaskydevice		scbus
98240483Shselaskydevice		da
99240483Shselaskydevice		umass
100239922Sgonzo
101240483Shselasky# USB ethernet support
102240483Shselaskydevice		smcphy
103240483Shselaskydevice		mii
104240483Shselaskydevice		smsc
105239922Sgonzo
106239922Sgonzo# Flattened Device Tree
107239922Sgonzooptions         FDT
108239922Sgonzooptions         FDT_DTB_STATIC
109239922Sgonzomakeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
110