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