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