RPI revision 1.8 1 1.1 skrll #
2 1.8 msaitoh # $NetBSD: RPI,v 1.8 2012/09/11 19:43:10 msaitoh 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.1 skrll #options COMPAT_50 # NetBSD 5.0 compatibility.
93 1.1 skrll #options COMPAT_40 # NetBSD 4.0 compatibility.
94 1.1 skrll #options COMPAT_30 # NetBSD 3.0 compatibility.
95 1.1 skrll #options COMPAT_20 # NetBSD 2.0 compatibility.
96 1.1 skrll #options COMPAT_16 # NetBSD 1.6 compatibility.
97 1.1 skrll #options COMPAT_15 # NetBSD 1.5 compatibility.
98 1.1 skrll #options COMPAT_14 # NetBSD 1.4 compatibility.
99 1.1 skrll #options COMPAT_13 # NetBSD 1.3 compatibility.
100 1.1 skrll #options COMPAT_12 # NetBSD 1.2 compatibility.
101 1.1 skrll #options COMPAT_11 # NetBSD 1.1 compatibility.
102 1.1 skrll #options COMPAT_10 # NetBSD 1.0 compatibility.
103 1.1 skrll #options COMPAT_09 # NetBSD 0.9 compatibility.
104 1.1 skrll #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
105 1.1 skrll #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
106 1.1 skrll
107 1.1 skrll # Shared memory options
108 1.1 skrll
109 1.1 skrll options SYSVMSG # System V-like message queues
110 1.1 skrll options SYSVSEM # System V-like semaphores
111 1.1 skrll #options SEMMNI=10 # number of semaphore identifiers
112 1.1 skrll #options SEMMNS=60 # number of semaphores in system
113 1.1 skrll #options SEMUME=10 # max number of undo entries per process
114 1.1 skrll #options SEMMNU=30 # number of undo structures in system
115 1.1 skrll options SYSVSHM # System V-like memory sharing
116 1.1 skrll
117 1.1 skrll # Device options
118 1.1 skrll
119 1.1 skrll #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
120 1.1 skrll #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
121 1.1 skrll #options MEMORY_DISK_DYNAMIC
122 1.1 skrll #options MINIROOTSIZE=1000 # Size in blocks
123 1.1 skrll #options MEMORY_DISK_IS_ROOT # use memory disk as root
124 1.1 skrll
125 1.1 skrll # Miscellaneous kernel options
126 1.1 skrll options KTRACE # system call tracing, a la ktrace(1)
127 1.1 skrll #options KMEMSTATS # kernel memory statistics
128 1.1 skrll #options SCSIVERBOSE # Verbose SCSI errors
129 1.1 skrll #options MIIVERBOSE # Verbose MII autoconfuration messages
130 1.1 skrll #options DDB_KEYCODE=0x40
131 1.1 skrll #options USERCONF # userconf(4) support
132 1.1 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
133 1.1 skrll
134 1.1 skrll # Development and Debugging options
135 1.1 skrll #options PERFCTRS # performance counters
136 1.1 skrll options DIAGNOSTIC # internally consistency checks
137 1.1 skrll options DEBUG
138 1.1 skrll #options IPKDB # remote kernel debugging
139 1.1 skrll options VERBOSE_INIT_ARM # verbose bootstraping messages
140 1.1 skrll options DDB # in-kernel debugger
141 1.1 skrll options DDB_ONPANIC=1
142 1.1 skrll options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
143 1.1 skrll #options KGDB
144 1.1 skrll makeoptions DEBUG="-g" # compile full symbol table
145 1.6 matt options SYMTAB_SPACE=510000
146 1.1 skrll options PLCONSOLE
147 1.1 skrll #options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
148 1.1 skrll
149 1.1 skrll ## USB Debugging options
150 1.1 skrll options USB_DEBUG
151 1.1 skrll #options EHCI_DEBUG
152 1.1 skrll #options OHCI_DEBUG
153 1.1 skrll #options UHUB_DEBUG
154 1.1 skrll
155 1.1 skrll
156 1.1 skrll # Valid options for BOOT_ARGS:
157 1.1 skrll # single Boot to single user only
158 1.1 skrll # kdb Give control to kernel debugger
159 1.1 skrll # ask Ask for file name to reboot from
160 1.1 skrll # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
161 1.1 skrll # memorydisk=<n> Set memorydisk size to <n> KB
162 1.1 skrll # quiet Show aprint_naive output
163 1.1 skrll # verbose Show aprint_normal and aprint_verbose output
164 1.1 skrll #options BOOT_ARGS="\"\""
165 1.1 skrll
166 1.1 skrll config netbsd root on ld0a type ?
167 1.1 skrll
168 1.1 skrll # The main bus device
169 1.1 skrll mainbus0 at root
170 1.1 skrll
171 1.1 skrll # The cpu
172 1.1 skrll cpu0 at mainbus?
173 1.1 skrll
174 1.1 skrll # OBIO
175 1.1 skrll obio0 at mainbus?
176 1.1 skrll
177 1.1 skrll # Interrupt Controller
178 1.1 skrll bcmicu0 at obio?
179 1.1 skrll
180 1.4 skrll # VC Mailbox
181 1.4 skrll bcmmbox0 at obio?
182 1.4 skrll
183 1.1 skrll # PL011 uart
184 1.1 skrll plcom0 at obio?
185 1.1 skrll
186 1.1 skrll # System timer
187 1.1 skrll bcmtmr0 at obio?
188 1.1 skrll
189 1.1 skrll # Power management, Reset controller and Watchdog registers
190 1.1 skrll bcmpm0 at obio?
191 1.1 skrll
192 1.1 skrll # Arasan SD/MMC Interface
193 1.1 skrll sdhc* at obio?
194 1.1 skrll sdmmc* at sdhc?
195 1.1 skrll
196 1.1 skrll ld* at sdmmc?
197 1.1 skrll
198 1.7 jakllsch # On-SoC USB 2.0 OTG Controller (as USB host) - some day soon(tm)
199 1.7 jakllsch #unimplementedusbhcd* at obio?
200 1.7 jakllsch #usb* at unimplementedusbhcd?
201 1.7 jakllsch
202 1.7 jakllsch # USB device drivers, just as soon as we have something to attach them to
203 1.7 jakllsch #include "dev/usb/usbdevices.config"
204 1.7 jakllsch
205 1.1 skrll # various options for wscons - we try to look as much like a standard
206 1.1 skrll # sun console as possible
207 1.1 skrll options WSEMUL_VT100 # sun terminal emulation
208 1.5 skrll options WS_DEFAULT_FG=WSCOL_WHITE
209 1.5 skrll options WS_DEFAULT_BG=WSCOL_BLACK
210 1.5 skrll options WS_KERNEL_FG=WSCOL_GREEN
211 1.5 skrll options WS_KERNEL_BG=WSCOL_BLACK
212 1.3 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
213 1.1 skrll options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
214 1.1 skrll options WSDISPLAY_DEFAULTSCREENS=4
215 1.1 skrll options FONT_QVSS8x15
216 1.1 skrll #options FONT_GALLANT12x22 # the console font
217 1.1 skrll
218 1.1 skrll pseudo-device wsmux # mouse & keyboard multiplexor
219 1.1 skrll pseudo-device wsfont
220 1.1 skrll
221 1.1 skrll # Pseudo-Devices
222 1.1 skrll
223 1.1 skrll # disk/mass storage pseudo-devices
224 1.1 skrll pseudo-device md # memory disk device (ramdisk)
225 1.1 skrll pseudo-device vnd # disk-like interface to files
226 1.1 skrll #pseudo-device fss # file system snapshot device
227 1.8 msaitoh #pseudo-device putter # for puffs and pud
228 1.1 skrll
229 1.1 skrll # network pseudo-devices
230 1.1 skrll pseudo-device bpfilter # Berkeley packet filter
231 1.1 skrll pseudo-device loop # network loopback
232 1.1 skrll #pseudo-device kttcp # network loopback
233 1.1 skrll
234 1.1 skrll # miscellaneous pseudo-devices
235 1.1 skrll pseudo-device pty # pseudo-terminals
236 1.1 skrll #options RND_COM
237 1.1 skrll #pseudo-device clockctl # user control of clock subsystem
238 1.1 skrll pseudo-device ksyms # /dev/ksyms
239