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