RPI revision 1.8 1 #
2 # $NetBSD: RPI,v 1.8 2012/09/11 19:43:10 msaitoh Exp $
3 #
4 # RPi -- Raspberry Pi
5 #
6
7 include "arch/evbarm/conf/std.rpi"
8
9 # estimated number of users
10
11 maxusers 32
12
13 # Standard system options
14
15 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
16 #options NTP # NTP phase/frequency locked loop
17
18 # CPU options
19
20 options CPU_ARM1176
21 options BCM2835
22 options PMAPCOUNTERS
23 options FPU_VFP
24
25 # Architecture options
26
27 # File systems
28
29 file-system FFS # UFS
30 #file-system LFS # log-structured file system
31 file-system MFS # memory file system
32 file-system NFS # Network file system
33 #file-system ADOSFS # AmigaDOS-compatible file system
34 file-system EXT2FS # second extended file system (linux)
35 #file-system CD9660 # ISO 9660 + Rock Ridge file system
36 file-system MSDOSFS # MS-DOS file system
37 #file-system FDESC # /dev/fd
38 file-system KERNFS # /kern
39 file-system NULLFS # loopback file system
40 file-system PROCFS # /proc
41 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
42 #file-system UMAPFS # NULLFS + uid and gid remapping
43 #file-system UNION # union file system
44 file-system TMPFS # memory file system
45 file-system PTYFS # /dev/pts/N support
46
47 # File system options
48 options QUOTA # legacy UFS quotas
49 options QUOTA2 # new, in-filesystem UFS quotas
50 #options FFS_EI # FFS Endian Independent support
51 #options NFSSERVER
52 options WAPBL # File system journaling support
53 #options FFS_NO_SNAPSHOT # No FFS snapshot support
54
55 # Networking options
56
57 #options GATEWAY # packet forwarding
58 options INET # IP + ICMP + TCP + UDP
59 options INET6 # IPV6
60 #options IPSEC # IP security
61 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
62 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
63 #options IPSEC_DEBUG # debug for IP security
64 #options MROUTING # IP multicast routing
65 #options PIM # Protocol Independent Multicast
66 #options NS # XNS
67 #options NSIP # XNS tunneling over IP
68 #options ISO,TPIP # OSI
69 #options EON # OSI tunneling over IP
70 #options CCITT,LLC,HDLC # X.25
71 #options NETATALK # AppleTalk networking
72 #options PFIL_HOOKS # pfil(9) packet filter hooks
73 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
74 #options PPP_DEFLATE # Deflate compression support for PPP
75 #options PPP_FILTER # Active filter support for PPP (requires bpf)
76 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
77
78 #options NFS_BOOT_BOOTP
79 #options NFS_BOOT_DHCP
80 #options NFS_BOOT_BOOTSTATIC
81 #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
82 #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
83 #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
84 #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
85 #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""
86
87 options NFS_BOOT_RWSIZE=1024
88
89 # Compatibility options
90
91 #options COMPAT_43 # 4.3BSD compatibility.
92 #options COMPAT_50 # NetBSD 5.0 compatibility.
93 #options COMPAT_40 # NetBSD 4.0 compatibility.
94 #options COMPAT_30 # NetBSD 3.0 compatibility.
95 #options COMPAT_20 # NetBSD 2.0 compatibility.
96 #options COMPAT_16 # NetBSD 1.6 compatibility.
97 #options COMPAT_15 # NetBSD 1.5 compatibility.
98 #options COMPAT_14 # NetBSD 1.4 compatibility.
99 #options COMPAT_13 # NetBSD 1.3 compatibility.
100 #options COMPAT_12 # NetBSD 1.2 compatibility.
101 #options COMPAT_11 # NetBSD 1.1 compatibility.
102 #options COMPAT_10 # NetBSD 1.0 compatibility.
103 #options COMPAT_09 # NetBSD 0.9 compatibility.
104 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
105 #options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
106
107 # Shared memory options
108
109 options SYSVMSG # System V-like message queues
110 options SYSVSEM # System V-like semaphores
111 #options SEMMNI=10 # number of semaphore identifiers
112 #options SEMMNS=60 # number of semaphores in system
113 #options SEMUME=10 # max number of undo entries per process
114 #options SEMMNU=30 # number of undo structures in system
115 options SYSVSHM # System V-like memory sharing
116
117 # Device options
118
119 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
120 #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks
121 #options MEMORY_DISK_DYNAMIC
122 #options MINIROOTSIZE=1000 # Size in blocks
123 #options MEMORY_DISK_IS_ROOT # use memory disk as root
124
125 # Miscellaneous kernel options
126 options KTRACE # system call tracing, a la ktrace(1)
127 #options KMEMSTATS # kernel memory statistics
128 #options SCSIVERBOSE # Verbose SCSI errors
129 #options MIIVERBOSE # Verbose MII autoconfuration messages
130 #options DDB_KEYCODE=0x40
131 #options USERCONF # userconf(4) support
132 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
133
134 # Development and Debugging options
135 #options PERFCTRS # performance counters
136 options DIAGNOSTIC # internally consistency checks
137 options DEBUG
138 #options IPKDB # remote kernel debugging
139 options VERBOSE_INIT_ARM # verbose bootstraping messages
140 options DDB # in-kernel debugger
141 options DDB_ONPANIC=1
142 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
143 #options KGDB
144 makeoptions DEBUG="-g" # compile full symbol table
145 options SYMTAB_SPACE=510000
146 options PLCONSOLE
147 #options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00
148
149 ## USB Debugging options
150 options USB_DEBUG
151 #options EHCI_DEBUG
152 #options OHCI_DEBUG
153 #options UHUB_DEBUG
154
155
156 # Valid options for BOOT_ARGS:
157 # single Boot to single user only
158 # kdb Give control to kernel debugger
159 # ask Ask for file name to reboot from
160 # pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n>
161 # memorydisk=<n> Set memorydisk size to <n> KB
162 # quiet Show aprint_naive output
163 # verbose Show aprint_normal and aprint_verbose output
164 #options BOOT_ARGS="\"\""
165
166 config netbsd root on ld0a type ?
167
168 # The main bus device
169 mainbus0 at root
170
171 # The cpu
172 cpu0 at mainbus?
173
174 # OBIO
175 obio0 at mainbus?
176
177 # Interrupt Controller
178 bcmicu0 at obio?
179
180 # VC Mailbox
181 bcmmbox0 at obio?
182
183 # PL011 uart
184 plcom0 at obio?
185
186 # System timer
187 bcmtmr0 at obio?
188
189 # Power management, Reset controller and Watchdog registers
190 bcmpm0 at obio?
191
192 # Arasan SD/MMC Interface
193 sdhc* at obio?
194 sdmmc* at sdhc?
195
196 ld* at sdmmc?
197
198 # On-SoC USB 2.0 OTG Controller (as USB host) - some day soon(tm)
199 #unimplementedusbhcd* at obio?
200 #usb* at unimplementedusbhcd?
201
202 # USB device drivers, just as soon as we have something to attach them to
203 #include "dev/usb/usbdevices.config"
204
205 # various options for wscons - we try to look as much like a standard
206 # sun console as possible
207 options WSEMUL_VT100 # sun terminal emulation
208 options WS_DEFAULT_FG=WSCOL_WHITE
209 options WS_DEFAULT_BG=WSCOL_BLACK
210 options WS_KERNEL_FG=WSCOL_GREEN
211 options WS_KERNEL_BG=WSCOL_BLACK
212 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
213 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
214 options WSDISPLAY_DEFAULTSCREENS=4
215 options FONT_QVSS8x15
216 #options FONT_GALLANT12x22 # the console font
217
218 pseudo-device wsmux # mouse & keyboard multiplexor
219 pseudo-device wsfont
220
221 # Pseudo-Devices
222
223 # disk/mass storage pseudo-devices
224 pseudo-device md # memory disk device (ramdisk)
225 pseudo-device vnd # disk-like interface to files
226 #pseudo-device fss # file system snapshot device
227 #pseudo-device putter # for puffs and pud
228
229 # network pseudo-devices
230 pseudo-device bpfilter # Berkeley packet filter
231 pseudo-device loop # network loopback
232 #pseudo-device kttcp # network loopback
233
234 # miscellaneous pseudo-devices
235 pseudo-device pty # pseudo-terminals
236 #options RND_COM
237 #pseudo-device clockctl # user control of clock subsystem
238 pseudo-device ksyms # /dev/ksyms
239