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