RPI revision 1.3
1#
2#	$NetBSD: RPI,v 1.3 2012/08/17 19:43:24 abs 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	UMAPFS		# NULLFS + uid and gid remapping
42#file-system	UNION		# union file system
43file-system	TMPFS		# memory file system
44file-system	PTYFS		# /dev/pts/N support
45
46# File system options
47options 	QUOTA		# legacy UFS quotas
48options 	QUOTA2		# new, in-filesystem UFS quotas
49#options 	FFS_EI		# FFS Endian Independent support
50#options 	NFSSERVER
51options 	WAPBL		# File system journaling support
52#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
53
54# Networking options
55
56#options 	GATEWAY		# packet forwarding
57options 	INET		# IP + ICMP + TCP + UDP
58options 	INET6		# IPV6
59#options 	IPSEC		# IP security
60#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
61#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
62#options 	IPSEC_DEBUG	# debug for IP security
63#options 	MROUTING	# IP multicast routing
64#options 	PIM		# Protocol Independent Multicast
65#options 	NS		# XNS
66#options 	NSIP		# XNS tunneling over IP
67#options 	ISO,TPIP	# OSI
68#options 	EON		# OSI tunneling over IP
69#options 	CCITT,LLC,HDLC	# X.25
70#options 	NETATALK	# AppleTalk networking
71#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
72#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
73#options 	PPP_DEFLATE	# Deflate compression support for PPP
74#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
75#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
76
77#options 	NFS_BOOT_BOOTP
78#options 	NFS_BOOT_DHCP
79#options		NFS_BOOT_BOOTSTATIC
80#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
81#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
82#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
83#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
84#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
85
86options		NFS_BOOT_RWSIZE=1024
87
88# Compatibility options
89
90#options 	COMPAT_43	# 4.3BSD compatibility.
91#options 	COMPAT_50	# NetBSD 5.0 compatibility.
92#options 	COMPAT_40	# NetBSD 4.0 compatibility.
93#options 	COMPAT_30	# NetBSD 3.0 compatibility.
94#options 	COMPAT_20	# NetBSD 2.0 compatibility.
95#options 	COMPAT_16	# NetBSD 1.6 compatibility.
96#options 	COMPAT_15	# NetBSD 1.5 compatibility.
97#options 	COMPAT_14	# NetBSD 1.4 compatibility.
98#options 	COMPAT_13	# NetBSD 1.3 compatibility.
99#options 	COMPAT_12	# NetBSD 1.2 compatibility.
100#options 	COMPAT_11	# NetBSD 1.1 compatibility.
101#options 	COMPAT_10	# NetBSD 1.0 compatibility.
102#options 	COMPAT_09	# NetBSD 0.9 compatibility.
103#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
104#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
105
106# Shared memory options
107
108options 	SYSVMSG		# System V-like message queues
109options 	SYSVSEM		# System V-like semaphores
110#options 	SEMMNI=10	# number of semaphore identifiers
111#options 	SEMMNS=60	# number of semaphores in system
112#options 	SEMUME=10	# max number of undo entries per process
113#options 	SEMMNU=30	# number of undo structures in system
114options 	SYSVSHM		# System V-like memory sharing
115
116# Device options
117
118#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
119#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
120#options 	MEMORY_DISK_DYNAMIC
121#options 	MINIROOTSIZE=1000	# Size in blocks
122#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
123
124# Miscellaneous kernel options
125options 	KTRACE		# system call tracing, a la ktrace(1)
126#options 	KMEMSTATS	# kernel memory statistics
127#options 	SCSIVERBOSE	# Verbose SCSI errors
128#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
129#options 	DDB_KEYCODE=0x40
130#options 	USERCONF	# userconf(4) support
131#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
132
133# Development and Debugging options
134#options 	PERFCTRS	# performance counters
135options 	DIAGNOSTIC	# internally consistency checks
136options 	DEBUG
137#options 	IPKDB		# remote kernel debugging
138options 	VERBOSE_INIT_ARM # verbose bootstraping messages
139options 	DDB		# in-kernel debugger
140options		DDB_ONPANIC=1
141options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
142#options 	KGDB
143makeoptions	DEBUG="-g"	# compile full symbol table
144options 	SYMTAB_SPACE=500000
145options 	PLCONSOLE
146#options 	PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
147
148## USB Debugging options
149options USB_DEBUG
150#options EHCI_DEBUG
151#options OHCI_DEBUG
152#options UHUB_DEBUG
153
154
155# Valid options for BOOT_ARGS:
156#  single		Boot to single user only
157#  kdb			Give control to kernel debugger
158#  ask			Ask for file name to reboot from
159#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
160#  memorydisk=<n>	Set memorydisk size to <n> KB
161#  quiet		Show aprint_naive output
162#  verbose		Show aprint_normal and aprint_verbose output
163#options		BOOT_ARGS="\"\""
164
165config		netbsd		root on ld0a type ?
166
167# The main bus device
168mainbus0	at root
169
170# The cpu
171cpu0		at mainbus?
172
173# OBIO
174obio0		at mainbus?
175
176# Interrupt Controller
177bcmicu0		at obio?
178
179# PL011 uart
180plcom0		at obio?
181
182# System timer
183bcmtmr0		at obio?
184
185# Power management, Reset controller and Watchdog registers
186bcmpm0		at obio?
187
188# Arasan SD/MMC Interface
189sdhc* at obio?
190sdmmc*  at sdhc?
191
192ld*     at sdmmc?
193
194# various options for wscons - we try to look as much like a standard
195# sun console as possible
196options 	WSEMUL_VT100		# sun terminal emulation
197options 	WS_DEFAULT_FG=WSCOL_BLACK
198options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
199options		WS_KERNEL_FG=WSCOL_GREEN
200options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
201options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
202options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
203options 	WSDISPLAY_DEFAULTSCREENS=4
204options		FONT_QVSS8x15
205#options 	FONT_GALLANT12x22	# the console font
206
207pseudo-device	wsmux			# mouse & keyboard multiplexor
208pseudo-device	wsfont
209
210# On-board USB - some day soon(tm)
211#uhub*		at usb?
212#uhub*		at uhub? port ?
213#umass*		at uhub? port ? configuration ? interface ?
214#wd*		at umass?
215#uhidev*		at uhub?
216#ukbd*		at uhidev?
217#ums*		at uhidev?
218#wskbd*		at ukbd?
219#wsmouse*	at ums?
220
221#axe*		at uhub? port ? configuration ? interface ?
222
223# Pseudo-Devices
224
225# disk/mass storage pseudo-devices
226pseudo-device	md			# memory disk device (ramdisk)
227pseudo-device	vnd			# disk-like interface to files
228#pseudo-device	fss			# file system snapshot device
229
230# network pseudo-devices
231pseudo-device	bpfilter		# Berkeley packet filter
232pseudo-device	loop			# network loopback
233#pseudo-device	kttcp			# network loopback
234
235# miscellaneous pseudo-devices
236pseudo-device	pty			# pseudo-terminals
237#options	RND_COM
238#pseudo-device	clockctl		# user control of clock subsystem
239pseudo-device	ksyms			# /dev/ksyms
240