RPI-B revision 252440
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 252440 2013-07-01 05:01:27Z rpaulo $
19
20ident		RPI-B
21machine		arm	armv6
22cpu 		CPU_ARM1176
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 	INET6			#IPv6 communications protocols
42options 	FFS			#Berkeley Fast Filesystem
43options 	SOFTUPDATES		#Enable FFS soft updates support
44options 	UFS_ACL			#Support for access control lists
45options 	UFS_DIRHASH		#Improve performance on big directories
46options 	MSDOSFS			#MSDOS Filesystem
47device		snp
48
49options 	NFSCL			#Network Filesystem Client
50
51#options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
52#options 	BOOTP_NFSROOT
53#options 	BOOTP_COMPAT
54#options 	BOOTP
55#options 	BOOTP_NFSV3
56#options 	BOOTP_WIRED_TO=ue0
57
58options 	PSEUDOFS		#Pseudo-filesystem framework
59options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
60options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
61options 	KTRACE			#ktrace(1) support
62options 	SYSVSHM			#SYSV-style shared memory
63options 	SYSVMSG			#SYSV-style message queues
64options 	SYSVSEM			#SYSV-style semaphores
65options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
66options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
67#options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
68
69options 	PREEMPTION
70
71device		bpf
72device		loop
73device		ether
74device		uart
75device		pl011
76
77device		pty
78
79# Comment following lines for boot console on serial port
80device		sc
81device		kbdmux
82options         SC_DFLT_FONT    # compile font in
83makeoptions     SC_DFLT_FONT=cp437
84device		ukbd
85
86device		sdhci
87device		mmc
88device		mmcsd
89
90device		gpio
91device		gpioled
92
93options 	KDB
94options 	DDB			#Enable the kernel debugger
95options 	INVARIANTS		#Enable calls of extra sanity checking
96options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
97
98device		md
99device		random		# Entropy device
100
101# USB support
102device		usb
103options 	USB_DEBUG
104device		dwcotg		#DWC OTG controller
105
106# USB storage support
107device		scbus
108device		da
109device		umass
110
111# USB ethernet support
112device		smcphy
113device		mii
114device		smsc
115
116# Flattened Device Tree
117options         FDT
118# Note:  DTB is normally loaded and modified by RPi boot loader, then
119# handed to kernel via U-Boot and ubldr.
120#options         FDT_DTB_STATIC
121makeoptions     FDT_DTS_FILE=rpi.dts
122