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
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.1 $"
11
12 # memory size
13 options DRAM_PAGES="16384" # 4Ki * 16384page = 64MiB
14 #options DRAM_PAGES="32768" # 4Ki * 32768page = 128MiB (WS011SH)
15
16 # estimated number of users
17 maxusers 32
18
19 # Standard system options
20
21 options 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
27 options CPU_XSCALE_PXA270 # Support the XScale PXA27x core
28 makeoptions CPUFLAGS="-mcpu=xscale"
29
30 # Architecture options
31 options XSCALE_CACHE_READ_WRITE_ALLOCATE
32 options PXAGPIO_HAS_GPION_INTRS
33
34 # File systems
35
36 file-system FFS # UFS
37 #file-system LFS # log-structured file system
38 #file-system MFS # memory file system
39 file-system NFS # Network file system
40 #file-system ADOSFS # AmigaDOS-compatible file system
41 file-system EXT2FS # second extended file system (linux)
42 file-system CD9660 # ISO 9660 + Rock Ridge file system
43 file-system MSDOSFS # MS-DOS file system
44 file-system FDESC # /dev/fd
45 file-system KERNFS # /kern
46 file-system NULLFS # loopback file system
47 #file-system OVERLAY # overlay filesystem
48 file-system PROCFS # /proc
49 #file-system UMAPFS # NULLFS + uid and gid remapping
50 file-system UNION # union file system
51 file-system PTYFS # /dev/pts/N support
52 file-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
58 options 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
65 options INET # IP + ICMP + TCP + UDP
66 options 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.
85 options COMPAT_50 # NetBSD 5.0 compatibility.
86 options COMPAT_40 # NetBSD 4.0 compatibility.
87 options COMPAT_30 # NetBSD 3.0 compatibility.
88 options 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.
98 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
99
100 # Shared memory options
101
102 options SYSVMSG # System V-like message queues
103 options SYSVSEM # System V-like semaphores
104 options SYSVSHM # System V-like memory sharing
105
106
107 # Miscellaneous kernel options
108 options 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
112 options USERCONF # userconf(4) support
113 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
114 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
115 options NFS_BOOT_DHCP
116
117 #
118 # wscons options
119 #
120 # builtin terminal emulations
121 options 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)"
131 options 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
140 options 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
147 config netbsd root on ? type ?
148
149 # The main bus device
150 mainbus0 at root
151
152 # The boot CPU
153 cpu0 at mainbus?
154
155 # integrated peripherals
156 pxaip0 at mainbus?
157
158 pxaintc0 at pxaip? addr 0x40d00000 # interrupt controller
159 pxagpio0 at pxaip? addr 0x40e00000 # GPIO
160 pxartc0 at pxaip? addr 0x40900000 # RTC
161
162 # DMAC support
163 pxadmac0 at pxaip? addr 0x40000000 intr 25
164 options 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
169 options COM_PXA2X0
170 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
171 #options CONSPEED=115200
172
173 # OS Timer
174 saost* at pxaip? addr 0x40a00000 size 0x20
175
176 # Physical console
177 lcd* at pxaip?
178 wsdisplay* at lcd? console ?
179
180 # Keyboard
181 wzero3kbd0 at pxaip?
182 hpckbd* at wzero3kbd?
183 wskbd0 at hpckbd? mux 1
184
185 # integrated MMC/SD contoller
186 pxamci0 at pxaip? addr 0x41100000 size 0x48
187 sdmmc* at pxamci?
188 ld* at sdmmc? # MMC/SD/SDHC card
189
190 # USB Controller and Devices
191 wzero3usb* at pxaip?
192 ohci0 at pxaip? addr 0x4c000000 intr 3 # USB Host Controller
193
194 # USB bus support
195 usb* at ohci?
196
197 # USB Hubs
198 uhub* at usb?
199 uhub* at uhub? port ?
200
201 # USB HID device
202 uhidev* at uhub? port ? configuration ? interface ?
203
204 # USB Mice
205 ums* at uhidev? reportid ?
206 wsmouse* at ums? mux 0
207
208 # USB Keyboards
209 ukbd* at uhidev? reportid ?
210 wskbd* at ukbd? console ? mux 1
211
212 # USB Generic HID devices
213 uhid* at uhidev? reportid ?
214
215 # USB Mass Storage
216 umass* at uhub? port ? configuration ? interface ?
217 wd* at umass?
218
219 # SCSI bus support
220 scsibus* at scsi?
221
222 # SCSI devices
223 sd* at scsibus? target ? lun ? # SCSI disk drives
224 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
225 uk* at scsibus? target ? lun ? # SCSI unknown
226
227 # USB Generic driver
228 ugen* 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
234 pseudo-device loop # network loopback
235 pseudo-device bpfilter # packet filter
236 pseudo-device sl # CSLIP
237 pseudo-device ppp # PPP
238 pseudo-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
247 pseudo-device pty # pseudo-terminals
248 pseudo-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
255 pseudo-device biconsdev 1 # build-in console device
256
257 pseudo-device md 1 # Ramdisk driver
258 pseudo-device rnd # /dev/random and in-kernel generator
259 pseudo-device clockctl # user control of clock subsystem
260 pseudo-device ksyms # /dev/ksyms
261 #pseudo-device bcsp # BlueCore Serial Protocol
262 #pseudo-device btuart # Bluetooth HCI UART (H4)
263
264 # wscons pseudo-devices
265 pseudo-device wsmux # mouse & keyboard multiplexor
266 pseudo-device wsfont
267