RPI-B revision 252440
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 252440 2013-07-01 05:01:27Z rpaulo $
19239922Sgonzo
20239922Sgonzoident		RPI-B
21239922Sgonzomachine		arm	armv6
22244480Sgonzocpu 		CPU_ARM1176
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
41252432Srpaulooptions 	INET6			#IPv6 communications protocols
42239922Sgonzooptions 	FFS			#Berkeley Fast Filesystem
43239922Sgonzooptions 	SOFTUPDATES		#Enable FFS soft updates support
44239922Sgonzooptions 	UFS_ACL			#Support for access control lists
45239922Sgonzooptions 	UFS_DIRHASH		#Improve performance on big directories
46247304Skientzleoptions 	MSDOSFS			#MSDOS Filesystem
47239922Sgonzodevice		snp
48239922Sgonzo
49243701Sgonzooptions 	NFSCL			#Network Filesystem Client
50243701Sgonzo
51240572Sjmg#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
52240572Sjmg#options 	BOOTP_NFSROOT
53240572Sjmg#options 	BOOTP_COMPAT
54240572Sjmg#options 	BOOTP
55240572Sjmg#options 	BOOTP_NFSV3
56240572Sjmg#options 	BOOTP_WIRED_TO=ue0
57239922Sgonzo
58239922Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
59239922Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
60239922Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
61239922Sgonzooptions 	KTRACE			#ktrace(1) support
62239922Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
63239922Sgonzooptions 	SYSVMSG			#SYSV-style message queues
64239922Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
65239922Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
66239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
67242321Sgonzo#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
68239922Sgonzo
69239922Sgonzooptions 	PREEMPTION
70239922Sgonzo
71239922Sgonzodevice		bpf
72239922Sgonzodevice		loop
73239922Sgonzodevice		ether
74239922Sgonzodevice		uart
75239922Sgonzodevice		pl011
76239922Sgonzo
77239922Sgonzodevice		pty
78239922Sgonzo
79243701Sgonzo# Comment following lines for boot console on serial port
80243701Sgonzodevice		sc
81243701Sgonzodevice		kbdmux
82243701Sgonzooptions         SC_DFLT_FONT    # compile font in
83243701Sgonzomakeoptions     SC_DFLT_FONT=cp437
84243701Sgonzodevice		ukbd
85239922Sgonzo
86242321Sgonzodevice		sdhci
87242321Sgonzodevice		mmc
88242321Sgonzodevice		mmcsd
89242321Sgonzo
90243465Sgonzodevice		gpio
91243465Sgonzodevice		gpioled
92243465Sgonzo
93239922Sgonzooptions 	KDB
94239922Sgonzooptions 	DDB			#Enable the kernel debugger
95239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
96239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
97239922Sgonzo
98239922Sgonzodevice		md
99239922Sgonzodevice		random		# Entropy device
100239922Sgonzo
101240483Shselasky# USB support
102240483Shselaskydevice		usb
103240483Shselaskyoptions 	USB_DEBUG
104240483Shselaskydevice		dwcotg		#DWC OTG controller
105239922Sgonzo
106240483Shselasky# USB storage support
107240483Shselaskydevice		scbus
108240483Shselaskydevice		da
109240483Shselaskydevice		umass
110239922Sgonzo
111240483Shselasky# USB ethernet support
112240483Shselaskydevice		smcphy
113240483Shselaskydevice		mii
114240483Shselaskydevice		smsc
115239922Sgonzo
116239922Sgonzo# Flattened Device Tree
117239922Sgonzooptions         FDT
118247304Skientzle# Note:  DTB is normally loaded and modified by RPi boot loader, then
119247304Skientzle# handed to kernel via U-Boot and ubldr.
120247304Skientzle#options         FDT_DTB_STATIC
121252440Srpaulomakeoptions     FDT_DTS_FILE=rpi.dts
122