RPI revision 1.16
1#
2#	$NetBSD: RPI,v 1.16 2013/01/09 01:39:44 jmcneill Exp $
3#
4#	RPi -- Raspberry Pi
5#
6
7include	"arch/evbarm/conf/std.rpi"
8
9# estimated number of users
10
11maxusers	32
12
13# Standard system options
14
15options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
16#options 	NTP		# NTP phase/frequency locked loop
17
18# CPU options
19
20options 	CPU_ARM1176
21options 	BCM2835
22options 	PMAPCOUNTERS
23options 	FPU_VFP
24
25# Architecture options
26
27# File systems
28
29file-system	FFS		# UFS
30#file-system	LFS		# log-structured file system
31file-system	MFS		# memory file system
32file-system	NFS		# Network file system
33#file-system 	ADOSFS		# AmigaDOS-compatible file system
34file-system 	EXT2FS		# second extended file system (linux)
35#file-system	CD9660		# ISO 9660 + Rock Ridge file system
36file-system	MSDOSFS		# MS-DOS file system
37#file-system	FDESC		# /dev/fd
38file-system	KERNFS		# /kern
39file-system	NULLFS		# loopback file system
40file-system	PROCFS		# /proc
41#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
42#file-system	UMAPFS		# NULLFS + uid and gid remapping
43#file-system	UNION		# union file system
44file-system	TMPFS		# memory file system
45file-system	PTYFS		# /dev/pts/N support
46
47# File system options
48options 	QUOTA		# legacy UFS quotas
49options 	QUOTA2		# new, in-filesystem UFS quotas
50#options 	FFS_EI		# FFS Endian Independent support
51#options 	NFSSERVER
52options 	WAPBL		# File system journaling support
53#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
54
55# Networking options
56
57#options 	GATEWAY		# packet forwarding
58options 	INET		# IP + ICMP + TCP + UDP
59options 	INET6		# IPV6
60#options 	IPSEC		# IP security
61#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
62#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
63#options 	IPSEC_DEBUG	# debug for IP security
64#options 	MROUTING	# IP multicast routing
65#options 	PIM		# Protocol Independent Multicast
66#options 	NS		# XNS
67#options 	NSIP		# XNS tunneling over IP
68#options 	ISO,TPIP	# OSI
69#options 	EON		# OSI tunneling over IP
70#options 	CCITT,LLC,HDLC	# X.25
71#options 	NETATALK	# AppleTalk networking
72#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
73#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
74#options 	PPP_DEFLATE	# Deflate compression support for PPP
75#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
76#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
77
78#options 	NFS_BOOT_BOOTP
79#options 	NFS_BOOT_DHCP
80#options		NFS_BOOT_BOOTSTATIC
81#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
82#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
83#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
84#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
85#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
86
87options		NFS_BOOT_RWSIZE=1024
88
89# Compatibility options
90
91#options 	COMPAT_43	# 4.3BSD compatibility.
92#options 	COMPAT_60	# NetBSD 6.0 compatibility.
93#options 	COMPAT_50	# NetBSD 5.0 compatibility.
94#options 	COMPAT_40	# NetBSD 4.0 compatibility.
95#options 	COMPAT_30	# NetBSD 3.0 compatibility.
96#options 	COMPAT_20	# NetBSD 2.0 compatibility.
97#options 	COMPAT_16	# NetBSD 1.6 compatibility.
98#options 	COMPAT_15	# NetBSD 1.5 compatibility.
99#options 	COMPAT_14	# NetBSD 1.4 compatibility.
100#options 	COMPAT_13	# NetBSD 1.3 compatibility.
101#options 	COMPAT_12	# NetBSD 1.2 compatibility.
102#options 	COMPAT_11	# NetBSD 1.1 compatibility.
103#options 	COMPAT_10	# NetBSD 1.0 compatibility.
104#options 	COMPAT_09	# NetBSD 0.9 compatibility.
105#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
106#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
107
108# Shared memory options
109
110options 	SYSVMSG		# System V-like message queues
111options 	SYSVSEM		# System V-like semaphores
112#options 	SEMMNI=10	# number of semaphore identifiers
113#options 	SEMMNS=60	# number of semaphores in system
114#options 	SEMUME=10	# max number of undo entries per process
115#options 	SEMMNU=30	# number of undo structures in system
116options 	SYSVSHM		# System V-like memory sharing
117
118# Device options
119
120#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
121#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
122#options 	MEMORY_DISK_DYNAMIC
123#options 	MINIROOTSIZE=1000	# Size in blocks
124#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
125
126# Miscellaneous kernel options
127options 	KTRACE		# system call tracing, a la ktrace(1)
128#options 	KMEMSTATS	# kernel memory statistics
129#options 	SCSIVERBOSE	# Verbose SCSI errors
130#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
131#options 	DDB_KEYCODE=0x40
132#options 	USERCONF	# userconf(4) support
133#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
134
135# Development and Debugging options
136#options 	PERFCTRS	# performance counters
137options 	DIAGNOSTIC	# internally consistency checks
138options 	DEBUG
139#options 	LOCKDEBUG
140#options 	IPKDB		# remote kernel debugging
141#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
142options 	DDB		# in-kernel debugger
143options		DDB_ONPANIC=1
144options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
145#options 	KGDB
146makeoptions	DEBUG="-g"	# compile full symbol table
147options 	SYMTAB_SPACE=510000
148options 	PLCONSOLE
149#options 	PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
150
151## USB Debugging options
152options USB_DEBUG
153#options EHCI_DEBUG
154#options OHCI_DEBUG
155#options UHUB_DEBUG
156
157
158# Valid options for BOOT_ARGS:
159#  single		Boot to single user only
160#  kdb			Give control to kernel debugger
161#  ask			Ask for file name to reboot from
162#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
163#  memorydisk=<n>	Set memorydisk size to <n> KB
164#  quiet		Show aprint_naive output
165#  verbose		Show aprint_normal and aprint_verbose output
166#options		BOOT_ARGS="\"\""
167
168config		netbsd		root on ld0a type ?
169
170# The main bus device
171mainbus0	at root
172
173# The cpu
174cpu0		at mainbus?
175
176# OBIO
177obio0		at mainbus?
178
179# Interrupt Controller
180bcmicu0		at obio?
181
182# VC Mailbox
183bcmmbox0	at obio?
184vcmbox0 	at bcmmbox0
185
186# PL011 uart
187plcom0		at obio?
188
189# Framebuffer console
190#genfb0		at obio?
191#wsdisplay*	at genfb?
192
193# System timer
194bcmtmr0		at obio?
195
196# Power management, Reset controller and Watchdog registers
197bcmpm0		at obio?
198
199# Arasan SD/MMC Interface
200sdhc* at obio?
201sdmmc*  at sdhc?
202
203ld*     at sdmmc?
204
205# On-SoC USB 2.0 OTG Controller (as USB host) - some day soon(tm)
206#unimplementedusbhcd* at obio?
207#usb* at unimplementedusbhcd?
208
209# USB device drivers, just as soon as we have something to attach them to
210#include "dev/usb/usbdevices.config"
211
212# Broadcom Serial Control (I2C)
213bsciic* at obio?
214iic* at i2cbus?
215
216# SPI controller
217bcmspi* at obio?
218spi* at spibus?
219
220# various options for wscons - we try to look as much like a standard
221# sun console as possible
222options 	WSEMUL_VT100		# sun terminal emulation
223options 	WS_DEFAULT_FG=WSCOL_WHITE
224options 	WS_DEFAULT_BG=WSCOL_BLACK
225options 	WS_KERNEL_FG=WSCOL_GREEN
226options 	WS_KERNEL_BG=WSCOL_BLACK
227options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
228options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
229options 	WSDISPLAY_DEFAULTSCREENS=4
230#options 	FONT_QVSS8x15
231#options 	FONT_GALLANT12x22	# the console font
232
233# Pseudo-Devices
234
235# disk/mass storage pseudo-devices
236#pseudo-device	fss			# file system snapshot device
237
238pseudo-device	md			# memory disk device (ramdisk)
239pseudo-device	vnd			# disk-like interface to files
240#pseudo-device	putter			# for puffs and pud
241
242# network pseudo-devices
243pseudo-device	bpfilter		# Berkeley packet filter
244#pseudo-device	carp			# Common Address Redundancy Protocol
245#pseudo-device	ipfilter		# IP filter (firewall) and NAT
246pseudo-device	loop			# network loopback
247#pseudo-device	kttcp			# network loopback
248#pseudo-device	ppp			# Point-to-Point Protocol
249#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
250#options 	PPPOE_SERVER		# Enable PPPoE server via link0
251#pseudo-device	sl			# Serial Line IP
252#pseudo-device	strip			# Starmode Radio IP (Metricom)
253#pseudo-device	irframetty		# IrDA frame line discipline
254#pseudo-device	tap			# virtual Ethernet
255#pseudo-device	tun			# network tunneling over tty
256#pseudo-device	gre			# generic L3 over IP tunnel
257#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
258#pseudo-device	faith			# IPv[46] TCP relay translation i/f
259#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
260#pseudo-device	vlan			# IEEE 802.1q encapsulation
261#pseudo-device	bridge			# simple inter-network bridging
262#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
263#pseudo-device	agr			# IEEE 802.3ad link aggregation
264#pseudo-device	pf			# PF packet filter
265#pseudo-device	pflog			# PF log if
266
267# miscellaneous pseudo-devices
268pseudo-device	pty			# pseudo-terminals
269#options	RND_COM
270#pseudo-device	clockctl		# user control of clock subsystem
271pseudo-device	ksyms			# /dev/ksyms
272pseudo-device	lockstat		# lock profiling
273
274# wscons pseudo-devices
275pseudo-device	wsmux			# mouse & keyboard multiplexor
276pseudo-device	wsfont
277
278# data mover pseudo-devices
279#pseudo-device	swdmover		# software dmover(9) back-end
280#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
281
282# local configuration
283cinclude "arch/evbarm/conf/RPI.local"
284