GUMSTIX revision 1.7 1 # $NetBSD: GUMSTIX,v 1.7 2007/02/20 17:23:09 kiyohara Exp $
2 #
3 # GUMSTIX -- Gumstix, Inc. gumstix platforms kernel
4 #
5
6 include "arch/evbarm/conf/std.gumstix"
7
8 # estimated number of users
9
10 maxusers 32
11
12 # CPU options
13
14 # For XScale systems
15 options CPU_XSCALE_PXA250 # Support the XScale core
16 makeoptions CPUFLAGS="-mcpu=xscale"
17
18 # Architecture options
19 #options XSCALE_CACHE_WRITE_THROUGH
20 options XSCALE_CACHE_READ_WRITE_ALLOCATE
21
22 # Standard system options
23
24 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
25 #options NTP # NTP phase/frequency locked loop
26
27 # File systems
28
29 file-system FFS # UFS
30 #file-system EXT2FS # second extended file system (linux)
31 #file-system LFS # log-structured file system
32 file-system MFS # memory file system
33 file-system NFS # Network file system client
34 #file-system NTFS # Windows/NT file system (experimental)
35 file-system CD9660 # ISO 9660 + Rock Ridge file system
36 file-system MSDOSFS # MS-DOS file system
37 file-system FDESC # /dev/fd
38 file-system KERNFS # /kern
39 file-system NULLFS # loopback file system
40 #file-system OVERLAY # overlay file system
41 file-system PORTAL # portal filesystem (still experimental)
42 file-system PROCFS # /proc
43 #file-system UMAPFS # NULLFS + uid and gid remapping
44 file-system UNION # union file system
45 #file-system CODA # Coda File System; also needs vcoda (below)
46 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
47 file-system PTYFS # /dev/pts/N support
48 file-system TMPFS # Efficient memory file-system
49 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
50
51 # File system options
52 #options QUOTA # UFS quotas
53 #options FFS_EI # FFS Endian Independant support
54 options SOFTDEP
55 #options NFSSERVER
56 #options FFS_NO_SNAPSHOT # No FFS snapshot support
57 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
58 # immutable) behave as system flags.
59
60 # Networking options
61
62 #options GATEWAY # packet forwarding
63 options INET # IP + ICMP + TCP + UDP
64 options INET6 # IPV6
65 options IPSEC # IP security
66 options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
67 options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
68 #options IPSEC_DEBUG # debug for IP security
69 #options MROUTING # IP multicast routing
70 #options ISO,TPIP # OSI
71 #options EON # OSI tunneling over IP
72 #options NETATALK # AppleTalk networking
73 #options PFIL_HOOKS # pfil(9) packet filter hooks
74 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
75 #options PPP_DEFLATE # Deflate compression support for PPP
76 #options PPP_FILTER # Active filter support for PPP (requires bpf)
77 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
78
79 options NFS_BOOT_BOOTP
80 options NFS_BOOT_DHCP
81 #options NFS_BOOT_BOOTPARAM
82
83 # Compatibility options
84
85 #options COMPAT_09 # NetBSD 0.9 compatibility.
86 #options COMPAT_10 # NetBSD 1.0 compatibility.
87 #options COMPAT_11 # NetBSD 1.1 compatibility.
88 #options COMPAT_12 # NetBSD 1.2 compatibility.
89 #options COMPAT_13 # NetBSD 1.3 compatibility.
90 #options COMPAT_14 # NetBSD 1.4 compatibility.
91 #options COMPAT_15 # NetBSD 1.5 compatibility.
92 options COMPAT_16 # NetBSD 1.6 compatibility.
93 options COMPAT_20 # NetBSD 2.0 compatibility.
94 options COMPAT_30 # NetBSD 3.0 compatibility.
95 #options COMPAT_43 # 4.3BSD compatibility.
96 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
97
98 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
99 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
100
101 # Shared memory options
102
103 #options SYSVMSG # System V-like message queues
104 #options SYSVSEM # System V-like semaphores
105 #options SEMMNI=10 # number of semaphore identifiers
106 #options SEMMNS=60 # number of semaphores in system
107 #options SEMUME=10 # max number of undo entries per process
108 #options SEMMNU=30 # number of undo structures in system
109 #options SYSVSHM # System V-like memory sharing
110 #options SHMMAXPGS=1024 # 1024 pages is the default
111 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
112
113 # Device options
114
115 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
116 #options MEMORY_DISK_IS_ROOT # use memory disk as root
117 #options MEMORY_DISK_DYNAMIC
118 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
119 #options MEMORY_RBFLAGS=RB_AUTOBOOT
120
121 # Miscellaneous kernel options
122
123 options KTRACE # system call tracing, a la ktrace(1)
124 #options SYSTRACE # system call vetting via systrace(1)
125 options IRQSTATS # manage IRQ statistics
126 #options LKM # loadable kernel modules
127 #options KMEMSTATS # kernel memory statistics
128 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
129 #options USBVERBOSE # verbose USB device autoconfig messages
130 options MIIVERBOSE # Verbose MII autoconfuration messages
131 #options DDB_KEYCODE=0x40
132 #options USERCONF # userconf(4) support
133 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
134 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
135
136 # Development and Debugging options
137
138 #options PERFCTRS # performance counters
139 options DIAGNOSTIC # internally consistency checks
140 options DEBUG
141 #options PMAP_DEBUG # Enable pmap_debug_level code
142 #options IPKDB
143 #options IPKDB_NE
144 #options IPKDBKEY="\"Debug_it_over_network\""
145 #options VERBOSE_INIT_ARM # verbose bootstraping messages
146 options DDB # in-kernel debugger
147 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
148 #options KGDB
149 #options DEBUG_KGDB
150 makeoptions DEBUG="-g -O2" # compile full symbol table
151 options SYMTAB_SPACE=350000
152 #options AUDIO_DEBUG=2
153
154 config netbsd root on ? type ?
155 config netbsd-sm0 root on sm0 type nfs
156
157 # The main bus device
158 mainbus0 at root
159
160 # The boot cpu
161 cpu0 at mainbus?
162
163 # integrated peripherals
164 pxaip0 at mainbus?
165
166 pxaintc0 at pxaip? # interrupt controller
167 options PXAGPIO_HAS_GPION_INTRS
168
169 pxagpio0 at pxaip? # GPIO
170
171 # cotulla integrated 16550 UARTs
172 options COM_PXA2X0
173 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
174 com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (waysmall-ST)
175 com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (older -bt)
176 com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART (waysmall, -bt)
177 options FFUARTCONSOLE
178 #options STUARTCONSOLE
179 #options BTUARTCONSOLE
180 #options HWUARTCONSOLE
181 #options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart
182 #options KGDB_DEVRATE=115200
183
184 # DMAC support
185 pxadmac0 at pxaip? addr 0x40000000 intr 25
186 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
187 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
188
189 # AC97 Audio support
190 pxaacu0 at pxaip? addr 0x40500000 intr 14
191
192 # Audio support
193 audio* at audiobus?
194
195 # LCD
196 # 44000000-4400ffff : pxa2xx-fb
197
198 # USB
199 # 40600000-4060ffff : pxa2xx-udc
200
201 # MMC card
202 # 41100000-41100fff : pxa2xx-mci
203 # 0xF0000000 by u-boot
204
205 # gumstix device support
206 gxio0 at pxaip?
207 options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART
208
209 # gumstix expantion boards
210
211 # SMC 91C111
212 sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix, net{MMC,CF,DUO}
213 sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC)
214
215 # PCMCIA/CF card
216 gxpcic* at gxio? addr 0x20000000 gpirq 11 # cfstix, netCF
217 pcmcia* at gxpcic?
218
219 # PCMCIA serial interfaces
220 com* at pcmcia? function ? # Modems and serial cards
221
222 # PCMCIA IDE controllers
223 wdc* at pcmcia? function ?
224 atabus* at wdc? channel ?
225 wd* at atabus? drive ? flags 0x0000
226
227 # PCMCIA network interfaces
228 ne* at pcmcia? function ? # NE2000-compatible Ethernet
229 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
230 xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
231 xi* at xirc?
232
233 # MII/PHY support
234 acphy* at mii? phy ? # AMD/Altima AC101 PHYs
235 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
236
237 # USB Controller and Devices
238
239 # ISA USB controllers
240 #slhci* at pcmcia? function ? # ScanLogic SL811HS
241
242 # USB bus support
243 #usb* at slhci?
244
245 # USB Hubs
246 #uhub* at usb?
247 #uhub* at uhub? port ? configuration ? interface ?
248
249 # USB HID device
250 #uhidev* at uhub? port ? configuration ? interface ?
251
252 # USB Mice
253 #ums* at uhidev? reportid ?
254 #wsmouse* at ums? mux 0
255
256 # USB eGalax touch-panel
257 #uep* at uhub? port ?
258 #wsmouse* at uep? mux 0
259
260 # USB Keyboards
261 #ukbd* at uhidev? reportid ?
262 #wskbd* at ukbd? console ? mux 1
263
264 # USB serial adpater
265 #ucycom* at uhidev? reportid ?
266
267 # USB Generic HID devices
268 #uhid* at uhidev? reportid ?
269
270 # USB Printer
271 #ulpt* at uhub? port ? configuration ? interface ?
272
273 # USB Modem
274 #umodem* at uhub? port ? configuration ?
275 #ucom* at umodem?
276
277 # USB Mass Storage
278 #umass* at uhub? port ? configuration ? interface ?
279 #wd* at umass?
280
281 # USB audio
282 #uaudio* at uhub? port ? configuration ?
283
284 # USB MIDI
285 #umidi* at uhub? port ? configuration ?
286
287 # USB IrDA
288 # USB-IrDA bridge spec
289 #uirda* at uhub? port ? configuration ? interface ?
290 #irframe* at uirda?
291
292 # SigmaTel STIr4200 USB/IrDA Bridge
293 #ustir* at uhub? port ?
294 #irframe* at ustir?
295
296 # USB Ethernet adapters
297 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
298 #axe* at uhub? port ? # ASIX AX88172 based adapters
299 #cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
300 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
301 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
302 #udav* at uhub? port ? # Davicom DM9601 based adapters
303 #url* at uhub? port ? # Realtek RTL8150L based adapters
304
305 # USB 802.11b adapters
306 #atu* at uhub? port ? # Atmel AT76C50XX based adapters
307 #ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
308
309 # Prolific PL2301/PL2302 host-to-host adapter
310 #upl* at uhub? port ?
311
312 # Serial adapters
313 #ubsa* at uhub? port ? # Belkin serial adapter
314 #ucom* at ubsa? portno ?
315
316 #uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
317 #ucom* at uftdi? portno ?
318
319 #uipaq* at uhub? port ? # iPAQ PDAs
320 #ucom* at uipaq? portno ?
321
322 #umct* at uhub? port ? # MCT USB-RS232 serial adapter
323 #ucom* at umct? portno ?
324
325 #uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
326 #ucom* at uplcom? portno ?
327
328 #uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
329 #ucom* at uvscom? portno ?
330
331 # Diamond Multimedia Rio 500
332 #urio* at uhub? port ?
333
334 # USB Handspring Visor
335 #uvisor* at uhub? port ?
336 #ucom* at uvisor?
337
338 # Kyocera AIR-EDGE PHONE
339 #ukyopon* at uhub? port ?
340 #ucom* at ukyopon? portno ?
341
342 # USB scanners
343 #uscanner* at uhub? port ?
344
345 # USB scanners that use SCSI emulation, e.g., HP5300
346 #usscanner* at uhub? port ?
347
348 # Y@P firmware loader
349 #uyap* at uhub? port ?
350
351 # D-Link DSB-R100 USB radio
352 #udsbr* at uhub? port ?
353 #radio* at udsbr?
354
355 # USB Generic driver
356 #ugen* at uhub? port ?
357
358 # Bluetooth Controller and Device support
359
360 # Bluetooth PCMCIA Controllers
361 #bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
362
363 # Bluetooth USB Controllers
364 #ubt* at uhub? port ? configuration ? interface ?
365
366 # Bluetooth Device Hub
367 #bthub* at bt3c?
368 #bthub* at ubt?
369 bthub* at btuart?
370
371 # Bluetooth HID support
372 #bthidev* at bthub?
373
374 # Bluetooth Mouse
375 #btms* at bthidev? reportid ?
376 #wsmouse* at btms? mux 0
377
378 # Bluetooth Keyboard
379 #btkbd* at bthidev? reportid ?
380 #wskbd* at btkbd? console ? mux 1
381
382 # Bluetooth Audio support
383 #btsco* at bthub?
384
385 # Pseudo-Devices
386
387 pseudo-device swcrypto # software crypto implementation
388
389 # disk/mass storage pseudo-devices
390 #pseudo-device ccd 4 # concatenated/striped disk devices
391 #pseudo-device cgd 4 # cryptographic disk devices
392 #pseudo-device raid 8 # RAIDframe disk driver
393 #options RAID_AUTOCONFIG # auto-configuration of RAID components
394 # Options to enable various other RAIDframe RAID types.
395 #options RF_INCLUDE_EVENODD=1
396 #options RF_INCLUDE_RAID5_RS=1
397 #options RF_INCLUDE_PARITYLOGGING=1
398 #options RF_INCLUDE_CHAINDECLUSTER=1
399 #options RF_INCLUDE_INTERDECLUSTER=1
400 #options RF_INCLUDE_PARITY_DECLUSTERING=1
401 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
402 #pseudo-device fss 4 # file system snapshot device
403
404 pseudo-device md 1 # memory disk device (ramdisk)
405 pseudo-device vnd # disk-like interface to files
406 options VND_COMPRESSION # compressed vnd(4)
407
408 # network pseudo-devices
409 pseudo-device bpfilter # Berkeley packet filter
410 #pseudo-device carp # Common Address Redundancy Protocol
411 pseudo-device ipfilter # IP filter (firewall) and NAT
412 pseudo-device loop # network loopback
413 pseudo-device ppp # Point-to-Point Protocol
414 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
415 #pseudo-device sl # Serial Line IP
416 #pseudo-device strip # Starmode Radio IP (Metricom)
417 #pseudo-device irframetty # IrDA frame line discipline
418 #pseudo-device tap # virtual Ethernet
419 #pseudo-device tun # network tunneling over tty
420 #pseudo-device gre # generic L3 over IP tunnel
421 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
422 #pseudo-device faith # IPv[46] tcp relay translation i/f
423 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
424 #pseudo-device vlan # IEEE 802.1q encapsulation
425 #pseudo-device bridge # simple inter-network bridging
426 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
427 #pseudo-device pf # PF packet filter
428 #pseudo-device pflog # PF log if
429
430 # miscellaneous pseudo-devices
431 pseudo-device pty # pseudo-terminals
432 #pseudo-device sequencer 1 # MIDI sequencer
433 pseudo-device rnd # /dev/random and in-kernel generator
434 options RND_COM
435 pseudo-device clockctl # user control of clock subsystem
436 pseudo-device ksyms # /dev/ksyms
437 pseudo-device btuart # Bluetooth HCI UART (H4)
438
439 # a pseudo device needed for Coda # also needs CODA (above)
440 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
441
442 # a pseudo device needed for SMBFS
443 #pseudo-device nsmb # experimental - SMB requester
444
445 # wscons pseudo-devices
446 #pseudo-device wsmux # mouse & keyboard multiplexor
447 #pseudo-device wsfont
448
449 # data mover pseudo-devices
450 #pseudo-device swdmover # softare dmover(9) back-end
451 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
452
453 # Veriexec
454 #pseudo-device veriexec
455 #
456 # Uncomment the fingerprint methods below that are desired. Note that
457 # removing fingerprint methods will have almost no impact on the kernel
458 # code size.
459 #
460 #options VERIFIED_EXEC_FP_RMD160
461 #options VERIFIED_EXEC_FP_SHA256
462 #options VERIFIED_EXEC_FP_SHA384
463 #options VERIFIED_EXEC_FP_SHA512
464 #options VERIFIED_EXEC_FP_SHA1
465 #options VERIFIED_EXEC_FP_MD5
466