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