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