RPI-B revision 243465
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 243465 2012-11-23 20:04:39Z gonzo $
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
64242321Sgonzo#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
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
82243434Sgonzo# device		ukbd
83239922Sgonzo
84242321Sgonzodevice		sdhci
85242321Sgonzodevice		mmc
86242321Sgonzodevice		mmcsd
87242321Sgonzo
88243465Sgonzodevice		gpio
89243465Sgonzodevice		gpioled
90243465Sgonzo
91239922Sgonzooptions 	KDB
92239922Sgonzooptions 	DDB			#Enable the kernel debugger
93239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
94239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
95239922Sgonzo
96239922Sgonzodevice		md
97239922Sgonzodevice		random		# Entropy device
98239922Sgonzo
99240483Shselasky# USB support
100240483Shselaskydevice		usb
101240483Shselaskyoptions 	USB_DEBUG
102240483Shselaskydevice		dwcotg		#DWC OTG controller
103239922Sgonzo
104240483Shselasky# USB storage support
105240483Shselaskydevice		scbus
106240483Shselaskydevice		da
107240483Shselaskydevice		umass
108239922Sgonzo
109240483Shselasky# USB ethernet support
110240483Shselaskydevice		smcphy
111240483Shselaskydevice		mii
112240483Shselaskydevice		smsc
113239922Sgonzo
114239922Sgonzo# Flattened Device Tree
115239922Sgonzooptions         FDT
116239922Sgonzooptions         FDT_DTB_STATIC
117239922Sgonzomakeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
118