RPI-B revision 247304
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 247304 2013-02-26 04:59:02Z kientzle $
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
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
45247304Skientzleoptions 	MSDOSFS			#MSDOS Filesystem
46239922Sgonzodevice		snp
47239922Sgonzo
48243701Sgonzooptions 	NFSCL			#Network Filesystem Client
49243701Sgonzo
50240572Sjmg#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
51240572Sjmg#options 	BOOTP_NFSROOT
52240572Sjmg#options 	BOOTP_COMPAT
53240572Sjmg#options 	BOOTP
54240572Sjmg#options 	BOOTP_NFSV3
55240572Sjmg#options 	BOOTP_WIRED_TO=ue0
56239922Sgonzo
57239922Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
58239922Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
59239922Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
60239922Sgonzooptions 	KTRACE			#ktrace(1) support
61239922Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
62239922Sgonzooptions 	SYSVMSG			#SYSV-style message queues
63239922Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
64239922Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
65239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
66242321Sgonzo#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
67239922Sgonzo
68239922Sgonzooptions 	PREEMPTION
69239922Sgonzo
70239922Sgonzodevice		bpf
71239922Sgonzodevice		loop
72239922Sgonzodevice		ether
73239922Sgonzodevice		uart
74239922Sgonzodevice		pl011
75239922Sgonzo
76239922Sgonzodevice		pty
77239922Sgonzo
78243701Sgonzo# Comment following lines for boot console on serial port
79243701Sgonzodevice		sc
80243701Sgonzodevice		kbdmux
81243701Sgonzooptions         SC_DFLT_FONT    # compile font in
82243701Sgonzomakeoptions     SC_DFLT_FONT=cp437
83243701Sgonzodevice		ukbd
84239922Sgonzo
85242321Sgonzodevice		sdhci
86242321Sgonzodevice		mmc
87242321Sgonzodevice		mmcsd
88242321Sgonzo
89243465Sgonzodevice		gpio
90243465Sgonzodevice		gpioled
91243465Sgonzo
92239922Sgonzooptions 	KDB
93239922Sgonzooptions 	DDB			#Enable the kernel debugger
94239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
95239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
96239922Sgonzo
97239922Sgonzodevice		md
98239922Sgonzodevice		random		# Entropy device
99239922Sgonzo
100240483Shselasky# USB support
101240483Shselaskydevice		usb
102240483Shselaskyoptions 	USB_DEBUG
103240483Shselaskydevice		dwcotg		#DWC OTG controller
104239922Sgonzo
105240483Shselasky# USB storage support
106240483Shselaskydevice		scbus
107240483Shselaskydevice		da
108240483Shselaskydevice		umass
109239922Sgonzo
110240483Shselasky# USB ethernet support
111240483Shselaskydevice		smcphy
112240483Shselaskydevice		mii
113240483Shselaskydevice		smsc
114239922Sgonzo
115239922Sgonzo# Flattened Device Tree
116239922Sgonzooptions         FDT
117247304Skientzle# Note:  DTB is normally loaded and modified by RPi boot loader, then
118247304Skientzle# handed to kernel via U-Boot and ubldr.
119247304Skientzle#options         FDT_DTB_STATIC
120247304Skientzle#makeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
121