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