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