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