WZERO3 revision 1.21 1 # $NetBSD: WZERO3,v 1.21 2011/06/30 20:09:30 wiz Exp $
2 #
3 # WZERO3 -- Sharp Windows Mobile 5 based PDA
4 #
5
6 include "arch/hpcarm/conf/std.pxa2x0"
7 include "arch/hpcarm/conf/files.wzero3"
8
9 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10
11 #ident "GENERIC-$Revision: 1.21 $"
12
13 # estimated number of users
14 maxusers 32
15
16 # Standard system options
17
18 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
19 # (default timezone is passed from hpcboot)
20 #options NTP # NTP phase/frequency locked loop
21
22 # CPU options
23
24 # For XScale systems
25 options CPU_XSCALE_PXA270 # Support the XScale PXA27x core
26 makeoptions CPUFLAGS="-mcpu=xscale"
27
28 # Architecture options
29 options XSCALE_CACHE_READ_WRITE_ALLOCATE
30 options PXAGPIO_HAS_GPION_INTRS
31
32 # File systems
33
34 file-system FFS # UFS
35 #file-system LFS # log-structured file system
36 #file-system MFS # memory file system
37 file-system NFS # Network file system
38 #file-system ADOSFS # AmigaDOS-compatible file system
39 file-system EXT2FS # second extended file system (linux)
40 file-system CD9660 # ISO 9660 + Rock Ridge file system
41 file-system MSDOSFS # MS-DOS file system
42 file-system FDESC # /dev/fd
43 file-system KERNFS # /kern
44 file-system NULLFS # loopback file system
45 #file-system OVERLAY # overlay filesystem
46 file-system PROCFS # /proc
47 #file-system UMAPFS # NULLFS + uid and gid remapping
48 file-system UNION # union file system
49 file-system PTYFS # /dev/pts/N support
50 file-system TMPFS # Efficient memory file-system
51 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
52
53 # File system options
54 #options QUOTA # legacy UFS quotas
55 #options QUOTA2 # new, in-filesystem UFS quotas
56 #options FFS_EI # FFS Endian Independent support
57 options WAPBL # File system journaling support - Experimental
58 #options FFS_NO_SNAPSHOT # No FFS snapshot support
59 #options NFSSERVER
60
61 # Networking options
62
63 #options GATEWAY # packet forwarding
64 options INET # IP + ICMP + TCP + UDP
65 options INET6 # IPV6
66 #options IPSEC # IP security
67 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
68 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
69 #options IPSEC_DEBUG # debug for IP security
70 #options MROUTING # IP multicast routing
71 #options PIM # Protocol Independent Multicast
72 #options ISO,TPIP # OSI
73 #options EON # OSI tunneling over IP
74 #options NETATALK # AppleTalk networking
75 #options PFIL_HOOKS # pfil(9) packet filter hooks
76 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
77 #options PPP_DEFLATE # Deflate compression support for PPP
78 #options PPP_FILTER # Active filter support for PPP (requires bpf)
79 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
80
81 # Compatibility options
82
83 #options COMPAT_43 # 4.3BSD compatibility.
84 options COMPAT_50 # NetBSD 5.0 compatibility.
85 options COMPAT_40 # NetBSD 4.0 compatibility.
86 options COMPAT_30 # NetBSD 3.0 compatibility.
87 options COMPAT_20 # NetBSD 2.0 compatibility.
88 options COMPAT_16 # NetBSD 1.6 compatibility.
89 #options COMPAT_15 # NetBSD 1.5 compatibility.
90 #options COMPAT_14 # NetBSD 1.4 compatibility.
91 #options COMPAT_13 # NetBSD 1.3 compatibility.
92 #options COMPAT_12 # NetBSD 1.2 compatibility.
93 #options COMPAT_11 # NetBSD 1.1 compatibility.
94 #options COMPAT_10 # NetBSD 1.0 compatibility.
95 #options COMPAT_09 # NetBSD 0.9 compatibility.
96 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
97 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
98
99 # Shared memory options
100
101 options SYSVMSG # System V-like message queues
102 options SYSVSEM # System V-like semaphores
103 options SYSVSHM # System V-like memory sharing
104 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
105
106 # Miscellaneous kernel options
107 options KTRACE # system call tracing, a la ktrace(1)
108 #options IRQSTATS # manage IRQ statistics
109 #options KMEMSTATS # kernel memory statistics
110 #options SCSIVERBOSE # Verbose SCSI errors
111 options USERCONF # userconf(4) support
112 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
113 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
114 options NFS_BOOT_DHCP
115
116 #
117 # wscons options
118 #
119 # builtin terminal emulations
120 options WSEMUL_VT100
121 # allocate a number of virtual screens at autoconfiguration time
122 #options WSDISPLAY_DEFAULTSCREENS=2
123 # The X server requires theses two options
124 options WSDISPLAY_COMPAT_USL
125 options WSDISPLAY_COMPAT_RAWKBD
126 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
127 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
128 #options WS_DEFAULT_FG=WSCOL_WHITE
129 #options WS_DEFAULT_BG=WSCOL_BLACK
130 #options WS_DEFAULT_COLATTR="(0)"
131 #options WS_DEFAULT_MONOATTR="(0)"
132 options WS_KERNEL_FG=WSCOL_GREEN
133 #options WS_KERNEL_BG=WSCOL_BLACK
134 #options WS_KERNEL_COLATTR=""
135 #options WS_KERNEL_MONOATTR=""
136
137 options FONT_VT220L8x16
138
139 # Development and Debugging options
140
141 #options VERBOSE_INIT_ARM
142 #options BOOT_DUMP # Enable memorydump at boot
143 options DIAGNOSTIC # internal consistency checks
144 #options DEBUG # expensive debugging checks/support
145 #options PMAP_DEBUG # Enable pmap_debug_level code
146 options DDB # in-kernel debugger
147 #options DDB_HISTORY_SIZE=512 # Enable history editing in DDB
148 #makeoptions DEBUG="-g" # compile full symbol table
149
150 config netbsd root on ? type ?
151
152 # The main bus device
153 mainbus0 at root
154
155 # The boot CPU
156 cpu0 at mainbus?
157
158 # integrated peripherals
159 pxaip0 at mainbus?
160
161 pxaintc0 at pxaip? addr 0x40d00000 # interrupt controller
162 pxagpio0 at pxaip? addr 0x40e00000 # GPIO
163 pxartc0 at pxaip? addr 0x40900000 # RTC
164
165 # DMAC support
166 pxadmac0 at pxaip? addr 0x40000000 intr 25
167 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
168 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
169
170 # Serial
171 # integrated 16550 UARTs
172 options COM_PXA2X0
173 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
174 #options CONSPEED=115200
175
176 # OS Timer
177 saost* at pxaip? addr 0x40a00000 size 0x20
178
179 # Physical console
180 lcd* at pxaip?
181 options PXA2X0_LCD_WRITETHROUGH
182 wsdisplay* at lcd? console ?
183
184 # for touchpad, keypad
185 wzero3ssp0 at pxaip?
186
187 # touchpad
188 wzero3tp0 at pxaip?
189 wsmouse* at wzero3tp? mux 0
190
191 # keyboard
192 wzero3kbd0 at pxaip?
193 hpckbd* at wzero3kbd?
194 wskbd0 at hpckbd? mux 1
195
196 # keypad
197 wzero3keypad0 at pxaip?
198 wskbd1 at wzero3keypad? mux 1
199
200 # integrated MMC/SD contoller
201 pxamci0 at pxaip? addr 0x41100000 size 0x48
202 sdmmc* at pxamci?
203 ld* at sdmmc? # MMC/SD/SDHC card
204
205 # USB Controller and Devices
206 wzero3usb* at pxaip?
207 ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller
208
209 # USB bus support
210 usb* at ohci?
211
212 # USB Hubs
213 uhub* at usb?
214 uhub* at uhub? port ?
215
216 # USB HID device
217 uhidev* at uhub? port ? configuration ? interface ?
218
219 # USB Mice
220 ums* at uhidev? reportid ?
221 wsmouse* at ums? mux 0
222
223 # USB Keyboards
224 ukbd* at uhidev? reportid ?
225 wskbd* at ukbd? console ? mux 1
226
227 # USB Generic HID devices
228 uhid* at uhidev? reportid ?
229
230 # USB Mass Storage
231 umass* at uhub? port ? configuration ? interface ?
232 wd* at umass?
233
234 # USB audio
235 uaudio* at uhub? port ? configuration ?
236 audio* at audiobus?
237
238 # USB Ethernet adapters
239 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
240 axe* at uhub? port ? # ASIX AX88172 based adapters
241 cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
242 cue* at uhub? port ? # CATC USB-EL1201A based adapters
243 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
244 udav* at uhub? port ? # Davicom DM9601 based adapters
245 url* at uhub? port ? # Realtek RTL8150L based adapters
246
247 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
248 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
249 ukphy* at mii? phy ? # generic unknown PHYs
250 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
251
252 # USB 802.11 adapters
253 atu* at uhub? port ? # Atmel AT76C50XX based adapters
254 #ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
255 rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g
256 upgt* at uhub? port ? # Intersil PrismGT
257 zyd* at uhub? port ? # Zydas ZD1211
258
259 # ATAPI bus support
260 atapibus* at atapi?
261
262 # ATAPI devices
263 # flags have the same meaning as for IDE drives.
264 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
265 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
266 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
267 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
268
269 # SCSI bus support
270 scsibus* at scsi?
271
272 # SCSI devices
273 sd* at scsibus? target ? lun ? # SCSI disk drives
274 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
275 uk* at scsibus? target ? lun ? # SCSI unknown
276
277 # USB Generic driver
278 ugen* at uhub? port ?
279 # On ugen bulk endpoints, perform read-ahead and write-behind.
280 #options UGEN_BULK_RA_WB
281
282
283 # Pseudo-devices
284 pseudo-device loop # network loopback
285 pseudo-device bpfilter # packet filter
286 pseudo-device sl # CSLIP
287 pseudo-device ppp # PPP
288 pseudo-device tun # network tunneling over tty
289 #pseudo-device gre # generic L3 over IP tunnel
290 #pseudo-device ipfilter # ip filter
291 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
292 #pseudo-device faith # IPv[46] tcp relay translation i/f
293 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
294 #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
295
296 #pseudo-device vlan # IEEE 802.1q encapsulation
297 pseudo-device pty # pseudo-terminals
298 pseudo-device vnd # disk-like interface to files
299 #pseudo-device ccd 2 # concatenated disk devices
300 #pseudo-device cgd 2 # cryptographic disk devices
301 #pseudo-device raid 4 # RAIDframe disk driver
302 #options RAID_AUTOCONFIG # auto-configuration of RAID components
303 #pseudo-device fss # file system snapshot device
304
305 pseudo-device biconsdev 1 # build-in console device
306
307 pseudo-device md # Ramdisk driver
308 pseudo-device rnd # /dev/random and in-kernel generator
309 pseudo-device clockctl # user control of clock subsystem
310 pseudo-device ksyms # /dev/ksyms
311 #pseudo-device bcsp # BlueCore Serial Protocol
312 #pseudo-device btuart # Bluetooth HCI UART (H4)
313
314 # wscons pseudo-devices
315 pseudo-device wsmux # mouse & keyboard multiplexor
316 pseudo-device wsfont
317