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