RPI revision 1.41 1 1.1 skrll #
2 1.41 skrll # $NetBSD: RPI,v 1.41 2013/10/15 09:07:48 skrll 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.37 skrll 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.33 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
46 1.33 reinoud #file-system HFS # experimental - Apple HFS+ (read-only)
47 1.33 reinoud #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 PPP_BSDCOMP # BSD-Compress compression support for PPP
69 1.1 skrll #options PPP_DEFLATE # Deflate compression support for PPP
70 1.1 skrll #options PPP_FILTER # Active filter support for PPP (requires bpf)
71 1.1 skrll #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
72 1.1 skrll
73 1.1 skrll #options NFS_BOOT_BOOTP
74 1.1 skrll #options NFS_BOOT_DHCP
75 1.1 skrll #options NFS_BOOT_BOOTSTATIC
76 1.1 skrll #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
77 1.1 skrll #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
78 1.1 skrll #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
79 1.1 skrll #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
80 1.1 skrll #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
81 1.1 skrll
82 1.1 skrll options NFS_BOOT_RWSIZE=1024
83 1.1 skrll
84 1.1 skrll # Compatibility options
85 1.1 skrll
86 1.1 skrll #options COMPAT_43 # 4.3BSD compatibility.
87 1.19 skrll options COMPAT_60 # NetBSD 6.0 compatibility.
88 1.1 skrll #options COMPAT_50 # NetBSD 5.0 compatibility.
89 1.1 skrll #options COMPAT_40 # NetBSD 4.0 compatibility.
90 1.1 skrll #options COMPAT_30 # NetBSD 3.0 compatibility.
91 1.1 skrll #options COMPAT_20 # NetBSD 2.0 compatibility.
92 1.1 skrll #options COMPAT_16 # NetBSD 1.6 compatibility.
93 1.1 skrll #options COMPAT_15 # NetBSD 1.5 compatibility.
94 1.1 skrll #options COMPAT_14 # NetBSD 1.4 compatibility.
95 1.1 skrll #options COMPAT_13 # NetBSD 1.3 compatibility.
96 1.1 skrll #options COMPAT_12 # NetBSD 1.2 compatibility.
97 1.1 skrll #options COMPAT_11 # NetBSD 1.1 compatibility.
98 1.1 skrll #options COMPAT_10 # NetBSD 1.0 compatibility.
99 1.1 skrll #options COMPAT_09 # NetBSD 0.9 compatibility.
100 1.1 skrll #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
101 1.1 skrll #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
102 1.1 skrll
103 1.1 skrll # Shared memory options
104 1.1 skrll
105 1.1 skrll options SYSVMSG # System V-like message queues
106 1.1 skrll options SYSVSEM # System V-like semaphores
107 1.1 skrll #options SEMMNI=10 # number of semaphore identifiers
108 1.1 skrll #options SEMMNS=60 # number of semaphores in system
109 1.1 skrll #options SEMUME=10 # max number of undo entries per process
110 1.1 skrll #options SEMMNU=30 # number of undo structures in system
111 1.1 skrll options SYSVSHM # System V-like memory sharing
112 1.1 skrll
113 1.1 skrll # Device options
114 1.1 skrll
115 1.1 skrll #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
116 1.1 skrll #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
117 1.1 skrll #options MEMORY_DISK_DYNAMIC
118 1.1 skrll #options MINIROOTSIZE=1000 # Size in blocks
119 1.1 skrll #options MEMORY_DISK_IS_ROOT # use memory disk as root
120 1.1 skrll
121 1.1 skrll # Miscellaneous kernel options
122 1.1 skrll options KTRACE # system call tracing, a la ktrace(1)
123 1.1 skrll #options KMEMSTATS # kernel memory statistics
124 1.1 skrll #options SCSIVERBOSE # Verbose SCSI errors
125 1.1 skrll #options MIIVERBOSE # Verbose MII autoconfuration messages
126 1.1 skrll #options DDB_KEYCODE=0x40
127 1.1 skrll #options USERCONF # userconf(4) support
128 1.1 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
129 1.1 skrll
130 1.1 skrll # Development and Debugging options
131 1.1 skrll #options PERFCTRS # performance counters
132 1.1 skrll options DIAGNOSTIC # internally consistency checks
133 1.1 skrll options DEBUG
134 1.9 skrll #options LOCKDEBUG
135 1.1 skrll #options IPKDB # remote kernel debugging
136 1.11 skrll #options VERBOSE_INIT_ARM # verbose bootstraping messages
137 1.1 skrll options DDB # in-kernel debugger
138 1.1 skrll options DDB_ONPANIC=1
139 1.1 skrll options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
140 1.33 reinoud #options KGDB,KGDB_PLCOMUNIT=0,KGDB_DEVRATE=115200,KGDB_CONMODE=0xB00
141 1.1 skrll makeoptions DEBUG="-g" # compile full symbol table
142 1.40 matt options SYMTAB_SPACE=830000
143 1.1 skrll options PLCONSOLE
144 1.1 skrll #options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
145 1.1 skrll
146 1.1 skrll ## USB Debugging options
147 1.1 skrll options USB_DEBUG
148 1.1 skrll #options EHCI_DEBUG
149 1.1 skrll #options OHCI_DEBUG
150 1.1 skrll #options UHUB_DEBUG
151 1.1 skrll
152 1.1 skrll
153 1.1 skrll # Valid options for BOOT_ARGS:
154 1.1 skrll # single Boot to single user only
155 1.1 skrll # kdb Give control to kernel debugger
156 1.1 skrll # ask Ask for file name to reboot from
157 1.1 skrll # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
158 1.1 skrll # memorydisk=<n> Set memorydisk size to <n> KB
159 1.1 skrll # quiet Show aprint_naive output
160 1.1 skrll # verbose Show aprint_normal and aprint_verbose output
161 1.1 skrll #options BOOT_ARGS="\"\""
162 1.1 skrll
163 1.22 jakllsch config netbsd root on ? type ?
164 1.1 skrll
165 1.1 skrll # The main bus device
166 1.1 skrll mainbus0 at root
167 1.1 skrll
168 1.1 skrll # The cpu
169 1.1 skrll cpu0 at mainbus?
170 1.1 skrll
171 1.1 skrll # OBIO
172 1.1 skrll obio0 at mainbus?
173 1.1 skrll
174 1.1 skrll # Interrupt Controller
175 1.1 skrll bcmicu0 at obio?
176 1.1 skrll
177 1.4 skrll # VC Mailbox
178 1.4 skrll bcmmbox0 at obio?
179 1.13 jmcneill vcmbox0 at bcmmbox0
180 1.4 skrll
181 1.27 jmcneill # VCHIQ
182 1.30 jmcneill vchiq0 at obio?
183 1.30 jmcneill
184 1.30 jmcneill # AUDS
185 1.30 jmcneill vcaudio0 at vchiq0
186 1.30 jmcneill audio0 at vcaudio0
187 1.27 jmcneill
188 1.1 skrll # PL011 uart
189 1.1 skrll plcom0 at obio?
190 1.1 skrll
191 1.15 jmcneill # Framebuffer console
192 1.20 jmcneill genfb0 at obio?
193 1.20 jmcneill wsdisplay* at genfb?
194 1.31 reinoud options VCONS_DRAW_INTR
195 1.15 jmcneill
196 1.1 skrll # System timer
197 1.1 skrll bcmtmr0 at obio?
198 1.1 skrll
199 1.1 skrll # Power management, Reset controller and Watchdog registers
200 1.1 skrll bcmpm0 at obio?
201 1.1 skrll
202 1.23 jmcneill # Random number generator
203 1.23 jmcneill bcmrng0 at obio?
204 1.23 jmcneill
205 1.1 skrll # Arasan SD/MMC Interface
206 1.1 skrll sdhc* at obio?
207 1.1 skrll sdmmc* at sdhc?
208 1.1 skrll
209 1.1 skrll ld* at sdmmc?
210 1.1 skrll
211 1.17 skrll # On-board USB
212 1.41 skrll dwctwo* at obio?
213 1.41 skrll usb* at dwctwo?
214 1.7 jakllsch
215 1.38 skrll # USB device drivers
216 1.17 skrll include "dev/usb/usbdevices.config"
217 1.7 jakllsch
218 1.18 skrll ukphy* at mii? phy ?
219 1.18 skrll
220 1.14 jakllsch # Broadcom Serial Control (I2C)
221 1.14 jakllsch bsciic* at obio?
222 1.14 jakllsch iic* at i2cbus?
223 1.14 jakllsch
224 1.14 jakllsch # SPI controller
225 1.14 jakllsch bcmspi* at obio?
226 1.14 jakllsch spi* at spibus?
227 1.14 jakllsch
228 1.1 skrll # various options for wscons - we try to look as much like a standard
229 1.1 skrll # sun console as possible
230 1.1 skrll options WSEMUL_VT100 # sun terminal emulation
231 1.5 skrll options WS_DEFAULT_FG=WSCOL_WHITE
232 1.5 skrll options WS_DEFAULT_BG=WSCOL_BLACK
233 1.5 skrll options WS_KERNEL_FG=WSCOL_GREEN
234 1.5 skrll options WS_KERNEL_BG=WSCOL_BLACK
235 1.24 skrll options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
236 1.24 skrll options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls
237 1.3 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
238 1.1 skrll options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
239 1.1 skrll options WSDISPLAY_DEFAULTSCREENS=4
240 1.24 skrll
241 1.15 jmcneill #options FONT_QVSS8x15
242 1.1 skrll #options FONT_GALLANT12x22 # the console font
243 1.1 skrll
244 1.1 skrll # Pseudo-Devices
245 1.1 skrll
246 1.1 skrll # disk/mass storage pseudo-devices
247 1.9 skrll #pseudo-device fss # file system snapshot device
248 1.9 skrll
249 1.35 matt #pseudo-device md # memory disk device (ramdisk)
250 1.1 skrll pseudo-device vnd # disk-like interface to files
251 1.32 skrll pseudo-device putter # for puffs and pud
252 1.1 skrll
253 1.1 skrll # network pseudo-devices
254 1.1 skrll pseudo-device bpfilter # Berkeley packet filter
255 1.9 skrll #pseudo-device carp # Common Address Redundancy Protocol
256 1.9 skrll #pseudo-device ipfilter # IP filter (firewall) and NAT
257 1.1 skrll pseudo-device loop # network loopback
258 1.1 skrll #pseudo-device kttcp # network loopback
259 1.9 skrll #pseudo-device ppp # Point-to-Point Protocol
260 1.9 skrll #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
261 1.9 skrll #options PPPOE_SERVER # Enable PPPoE server via link0
262 1.9 skrll #pseudo-device sl # Serial Line IP
263 1.9 skrll #pseudo-device strip # Starmode Radio IP (Metricom)
264 1.9 skrll #pseudo-device irframetty # IrDA frame line discipline
265 1.9 skrll #pseudo-device tap # virtual Ethernet
266 1.9 skrll #pseudo-device tun # network tunneling over tty
267 1.9 skrll #pseudo-device gre # generic L3 over IP tunnel
268 1.9 skrll #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)
269 1.9 skrll #pseudo-device faith # IPv[46] TCP relay translation i/f
270 1.9 skrll #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
271 1.9 skrll #pseudo-device vlan # IEEE 802.1q encapsulation
272 1.9 skrll #pseudo-device bridge # simple inter-network bridging
273 1.9 skrll #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
274 1.9 skrll #pseudo-device agr # IEEE 802.3ad link aggregation
275 1.9 skrll #pseudo-device pf # PF packet filter
276 1.9 skrll #pseudo-device pflog # PF log if
277 1.1 skrll
278 1.1 skrll # miscellaneous pseudo-devices
279 1.1 skrll pseudo-device pty # pseudo-terminals
280 1.1 skrll #options RND_COM
281 1.1 skrll #pseudo-device clockctl # user control of clock subsystem
282 1.1 skrll pseudo-device ksyms # /dev/ksyms
283 1.12 skrll pseudo-device lockstat # lock profiling
284 1.9 skrll
285 1.9 skrll # wscons pseudo-devices
286 1.9 skrll pseudo-device wsmux # mouse & keyboard multiplexor
287 1.9 skrll pseudo-device wsfont
288 1.9 skrll
289 1.9 skrll # data mover pseudo-devices
290 1.9 skrll #pseudo-device swdmover # software dmover(9) back-end
291 1.9 skrll #pseudo-device dmoverio # /dev/dmover dmover(9) interface
292 1.16 jmcneill
293 1.29 jmcneill # userland interface to drivers, including autoconf and properties retrieval
294 1.29 jmcneill pseudo-device drvctl
295 1.29 jmcneill
296 1.16 jmcneill # local configuration
297 1.16 jmcneill cinclude "arch/evbarm/conf/RPI.local"
298