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