RPI-B revision 242321
1# RPI-B -- Custom configuration for the Raspberry Pi
2#
3# For more information on this file, please read the handbook section on
4# Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files. 
15# If you are in doubt as to the purpose or necessity of a line, check first 
16# in NOTES.
17#
18# $FreeBSD: head/sys/arm/conf/RPI-B 242321 2012-10-29 17:23:45Z gonzo $
19
20ident		RPI-B
21machine		arm	armv6
22cpu 		CPU_ARM11
23
24files		"../broadcom/bcm2835/files.bcm2835"
25makeoptions	MODULES_OVERRIDE=""
26
27options 	KERNVIRTADDR=0xc0100000
28makeoptions	KERNVIRTADDR=0xc0100000
29options 	KERNPHYSADDR=0x00100000
30makeoptions	KERNPHYSADDR=0x00100000
31options 	PHYSADDR=0x00000000
32options 	STARTUP_PAGETABLE_ADDR=0x01000000
33options		FREEBSD_BOOT_LOADER
34options		LINUX_BOOT_ABI
35
36makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
37options 	HZ=100
38
39options 	SCHED_4BSD		#4BSD scheduler
40options 	INET			#InterNETworking
41options 	FFS			#Berkeley Fast Filesystem
42options 	SOFTUPDATES		#Enable FFS soft updates support
43options 	UFS_ACL			#Support for access control lists
44options 	UFS_DIRHASH		#Improve performance on big directories
45device		snp
46
47#options 	NFSCL			#Network Filesystem Client
48#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
49#options 	BOOTP_NFSROOT
50#options 	BOOTP_COMPAT
51#options 	BOOTP
52#options 	BOOTP_NFSV3
53#options 	BOOTP_WIRED_TO=ue0
54
55options 	PSEUDOFS		#Pseudo-filesystem framework
56options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
57options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
58options 	KTRACE			#ktrace(1) support
59options 	SYSVSHM			#SYSV-style shared memory
60options 	SYSVMSG			#SYSV-style message queues
61options 	SYSVSEM			#SYSV-style semaphores
62options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
63options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
64#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
65
66options 	PREEMPTION
67
68device		bpf
69device		loop
70device		ether
71device		uart
72device		pl011
73
74device		pty
75
76# NOTE: serial console will be disabled if syscons enabled
77# Uncomment following lines for framebuffer/syscons support
78# device		sc
79# device		kbdmux
80# options         SC_DFLT_FONT    # compile font in
81# makeoptions     SC_DFLT_FONT=cp437
82
83device		sdhci
84device		mmc
85device		mmcsd
86
87options 	KDB
88options 	DDB			#Enable the kernel debugger
89options 	INVARIANTS		#Enable calls of extra sanity checking
90options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
91
92device		md
93device		random		# Entropy device
94
95# USB support
96device		usb
97options 	USB_DEBUG
98device		dwcotg		#DWC OTG controller
99
100# USB storage support
101device		scbus
102device		da
103device		umass
104
105# USB ethernet support
106device		smcphy
107device		mii
108device		smsc
109
110# Flattened Device Tree
111options         FDT
112options         FDT_DTB_STATIC
113makeoptions     FDT_DTS_FILE=bcm2835-rpi-b.dts
114