RPI-B revision 252522
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 252522 2013-07-02 19:35:04Z andrew $
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
42252473Stuexenoptions		SCTP			#Stream Control Transmission Protocol
43239922Sgonzooptions 	FFS			#Berkeley Fast Filesystem
44239922Sgonzooptions 	SOFTUPDATES		#Enable FFS soft updates support
45239922Sgonzooptions 	UFS_ACL			#Support for access control lists
46239922Sgonzooptions 	UFS_DIRHASH		#Improve performance on big directories
47247304Skientzleoptions 	MSDOSFS			#MSDOS Filesystem
48239922Sgonzodevice		snp
49239922Sgonzo
50243701Sgonzooptions 	NFSCL			#Network Filesystem Client
51243701Sgonzo
52240572Sjmg#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
53240572Sjmg#options 	BOOTP_NFSROOT
54240572Sjmg#options 	BOOTP_COMPAT
55240572Sjmg#options 	BOOTP
56240572Sjmg#options 	BOOTP_NFSV3
57240572Sjmg#options 	BOOTP_WIRED_TO=ue0
58239922Sgonzo
59239922Sgonzooptions 	PSEUDOFS		#Pseudo-filesystem framework
60239922Sgonzooptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
61239922Sgonzooptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
62239922Sgonzooptions 	KTRACE			#ktrace(1) support
63239922Sgonzooptions 	SYSVSHM			#SYSV-style shared memory
64239922Sgonzooptions 	SYSVMSG			#SYSV-style message queues
65239922Sgonzooptions 	SYSVSEM			#SYSV-style semaphores
66239922Sgonzooptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
67239922Sgonzooptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
68242321Sgonzo#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
69239922Sgonzo
70239922Sgonzooptions 	PREEMPTION
71239922Sgonzo
72239922Sgonzodevice		bpf
73239922Sgonzodevice		loop
74239922Sgonzodevice		ether
75239922Sgonzodevice		uart
76239922Sgonzodevice		pl011
77239922Sgonzo
78239922Sgonzodevice		pty
79239922Sgonzo
80243701Sgonzo# Comment following lines for boot console on serial port
81243701Sgonzodevice		sc
82243701Sgonzodevice		kbdmux
83243701Sgonzooptions         SC_DFLT_FONT    # compile font in
84243701Sgonzomakeoptions     SC_DFLT_FONT=cp437
85243701Sgonzodevice		ukbd
86239922Sgonzo
87242321Sgonzodevice		sdhci
88242321Sgonzodevice		mmc
89242321Sgonzodevice		mmcsd
90242321Sgonzo
91243465Sgonzodevice		gpio
92243465Sgonzodevice		gpioled
93243465Sgonzo
94239922Sgonzooptions 	KDB
95239922Sgonzooptions 	DDB			#Enable the kernel debugger
96239922Sgonzooptions 	INVARIANTS		#Enable calls of extra sanity checking
97239922Sgonzooptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
98239922Sgonzo
99239922Sgonzodevice		md
100239922Sgonzodevice		random		# Entropy device
101239922Sgonzo
102240483Shselasky# USB support
103240483Shselaskydevice		usb
104240483Shselaskyoptions 	USB_DEBUG
105240483Shselaskydevice		dwcotg		#DWC OTG controller
106239922Sgonzo
107240483Shselasky# USB storage support
108240483Shselaskydevice		scbus
109240483Shselaskydevice		da
110240483Shselaskydevice		umass
111239922Sgonzo
112240483Shselasky# USB ethernet support
113240483Shselaskydevice		smcphy
114240483Shselaskydevice		mii
115240483Shselaskydevice		smsc
116239922Sgonzo
117239922Sgonzo# Flattened Device Tree
118239922Sgonzooptions         FDT
119247304Skientzle# Note:  DTB is normally loaded and modified by RPi boot loader, then
120247304Skientzle# handed to kernel via U-Boot and ubldr.
121247304Skientzle#options         FDT_DTB_STATIC
122252440Srpaulomakeoptions     FDT_DTS_FILE=rpi.dts
123252522Sandrew
124252522Sandrewdevice		vfp			# vfp/neon
125252522Sandrewoptions 	ARM_VFP_SUPPORT		# vfp/neon
126