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