GUMSTIX revision 1.31
1#	$NetBSD: GUMSTIX,v 1.31 2008/11/24 11:41:09 ad 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=400000
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# SCSI bus support
218#scsibus* at scsi?
219
220# SCSI devices
221#sd*	at scsibus? target ? lun ? # SCSI disk drives
222#uk*	at scsibus? target ? lun ? # SCSI unknown
223
224# gumstix device support
225gxio0	at pxaip?
226options 	GXIO_BLUETOOTH_ON_HWUART	# Bluetooth module on HWUART
227options 	GXIO_DEFAULT_EXPANSION="\"netCF\""
228
229# gumstix expantion boards
230
231# SMC 91C111
232sm0	at gxio? addr 0x04000300 gpirq 36	# etherstix, net{MMC,CF,DUO}
233sm1	at gxio? addr 0x08000300 gpirq 27	# netDUO(2nd NIC)
234
235# Inter-Integrated Circuit controller
236gxiic0	at pxaip?
237iic*	at gxiic?
238#dsrtc*	at iic? addr 0x68		# Can mount DS1307 at console, breakout
239
240# integrated PCMCIA/CF controller
241pxapcic0 at pxaip?				# cfstix, netCF
242
243# PCMCIA bus support
244pcmcia*	at pxapcic?
245
246# PCMCIA serial interfaces
247com*	at pcmcia? function ?		# Modems and serial cards
248
249# PCMCIA IDE controllers
250wdc*	at pcmcia? function ?
251atabus*	at wdc? channel ?
252wd*	at atabus? drive ? flags 0x0000
253
254# PCMCIA network interfaces
255ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
256wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
257#xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
258#xi*	at xirc?
259
260# MII/PHY support
261#acphy*	at mii? phy ?			# AMD/Altima AC101 PHYs
262sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
263
264# PCMCIA USB controllers
265#slhci*	at pcmcia? function ?		# ScanLogic SL811HS
266
267# USB bus support
268#usb*	at slhci?
269
270# USB Hubs
271#uhub*	at usb?
272#uhub*	at uhub? port ?
273
274# USB HID device
275#uhidev*	at uhub? port ? configuration ? interface ?
276
277# USB Mice
278#ums*	at uhidev? reportid ?
279#wsmouse* at ums? mux 0
280
281# USB eGalax touch-panel
282#uep*	at uhub? port ?
283#wsmouse* at uep? mux 0
284
285# USB Keyboards
286#ukbd*	at uhidev? reportid ?
287#wskbd*	at ukbd? console ? mux 1
288
289# USB serial adapter
290#ucycom*	at uhidev? reportid ?
291
292# USB Generic HID devices
293#uhid*	at uhidev? reportid ?
294
295# USB Printer
296#ulpt*	at uhub? port ? configuration ? interface ?
297
298# USB Modem
299#umodem*	at uhub? port ? configuration ?
300#ucom*	at umodem?
301
302# Huawei E220 3G/HSDPA modem
303#uhmodem* at uhub? port ? configuration ? interface ?
304#ucom*	at uhmodem? portno ?
305
306# USB Mass Storage
307#umass*	at uhub? port ? configuration ? interface ?
308#wd*	at umass?
309
310# USB audio
311#uaudio*	at uhub? port ? configuration ?
312
313# USB MIDI
314#umidi* at uhub? port ? configuration ?
315
316# USB IrDA
317# USB-IrDA bridge spec
318#uirda* at uhub? port ? configuration ? interface ?
319#irframe* at uirda?
320
321#stuirda* at uhub? port ? configuration ? interface ?
322#irframe* at stuirda?
323
324# SigmaTel STIr4200 USB/IrDA Bridge
325#ustir* at uhub? port ?
326#irframe* at ustir?
327
328# USB Ethernet adapters
329#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
330#axe*	at uhub? port ?		# ASIX AX88172 based adapters
331#cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
332#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
333#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
334#udav*	at uhub? port ?		# Davicom DM9601 based adapters
335#url*	at uhub? port ?		# Realtek RTL8150L based adapters
336
337# USB 802.11 adapters
338#atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
339#ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
340#rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
341#zyd*	at uhub? port ?		# Zydas ZD1211
342
343# Prolific PL2301/PL2302 host-to-host adapter
344#upl*	at uhub? port ?
345
346# Serial adapters
347#ubsa*	at uhub? port ?		# Belkin serial adapter
348#ucom*	at ubsa? portno ?
349
350#uchcom*	at uhub? port ?		# WinChipHead CH341/CH340 serial adapter
351#ucom*	at uchcom? portno ?
352
353#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
354#ucom*	at uftdi? portno ?
355
356#uipaq*	at uhub? port ?		# iPAQ PDAs
357#ucom*	at uipaq? portno ?
358
359#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
360#ucom*	at umct? portno ?
361
362#uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
363#ucom*	at uplcom? portno ?
364
365#uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
366#ucom*	at uslsa? portno ?
367
368#uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
369#ucom*	at uvscom? portno ?
370
371# Diamond Multimedia Rio 500
372#urio*	at uhub? port ?
373
374# USB Handspring Visor
375#uvisor*	at uhub? port ?
376#ucom*	at uvisor?
377
378# Kyocera AIR-EDGE PHONE
379#ukyopon* at uhub? port ?
380#ucom*	at ukyopon? portno ?
381
382# USB scanners
383#uscanner* at uhub? port ?
384
385# USB scanners that use SCSI emulation, e.g., HP5300
386#usscanner* at uhub? port ?
387
388# Topfield TF5000PVR range of DVB recorders
389#utoppy*	at uhub? port ?
390
391# Y@P firmware loader
392#uyap* at uhub? port ?
393
394# D-Link DSB-R100 USB radio
395#udsbr*	at uhub? port ?
396#radio*	at udsbr?
397
398# USB Generic driver
399#ugen*	at uhub? port ?
400# On ugen bulk endpoints, perform read-ahead and write-behind.
401#options UGEN_BULK_RA_WB
402
403# USB 3G datacards
404#u3g*	at uhub? port ?
405#ucom*	at u3g?
406
407# USB generic serial port (e.g., data over cellular)
408#ugensa*	at uhub? port ?
409#ucom*	at ugensa?
410
411# Bluetooth Controller and Device support
412
413# Bluetooth PCMCIA Controllers
414#bt3c*	at pcmcia? function ?		# 3Com 3CRWB6096-A
415#btbc*	at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
416
417# Bluetooth USB Controllers
418#ubt*	at uhub? port ?
419
420# Bluetooth Device Hub
421#bthub*	at bcsp?
422#bthub*	at bt3c?
423#bthub*	at btbc?
424bthub*	at btuart?
425#bthub*	at ubt?
426
427# Bluetooth HID support
428#bthidev* at bthub?
429
430# Bluetooth Mouse
431#btms*	at bthidev? reportid ?
432#wsmouse* at btms? mux 0
433
434# Bluetooth Keyboard
435#btkbd*	at bthidev? reportid ?
436#wskbd*	at btkbd? console ? mux 1
437
438# Bluetooth Audio support
439#btsco*	at bthub?
440
441# Pseudo-Devices
442
443pseudo-device	crypto			# /dev/crypto device
444pseudo-device	swcrypto		# software crypto implementation
445
446# disk/mass storage pseudo-devices
447#pseudo-device	bio			# RAID control device driver
448#pseudo-device	ccd		4	# concatenated/striped disk devices
449pseudo-device	cgd		4	# cryptographic disk devices
450#pseudo-device	raid		8	# RAIDframe disk driver
451#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
452# Options to enable various other RAIDframe RAID types.
453#options 	RF_INCLUDE_EVENODD=1
454#options 	RF_INCLUDE_RAID5_RS=1
455#options 	RF_INCLUDE_PARITYLOGGING=1
456#options 	RF_INCLUDE_CHAINDECLUSTER=1
457#options 	RF_INCLUDE_INTERDECLUSTER=1
458#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
459#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
460#pseudo-device	fss		4	# file system snapshot device
461
462pseudo-device	md		1	# memory disk device (ramdisk)
463pseudo-device	vnd			# disk-like interface to files
464options 	VND_COMPRESSION		# compressed vnd(4)
465
466# network pseudo-devices
467pseudo-device	bpfilter		# Berkeley packet filter
468#pseudo-device	carp			# Common Address Redundancy Protocol
469pseudo-device	ipfilter		# IP filter (firewall) and NAT
470pseudo-device	loop			# network loopback
471pseudo-device	ppp			# Point-to-Point Protocol
472#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
473#pseudo-device	sl			# Serial Line IP
474#pseudo-device	strip			# Starmode Radio IP (Metricom)
475#pseudo-device	irframetty		# IrDA frame line discipline
476#pseudo-device	tap			# virtual Ethernet
477#pseudo-device	tun			# network tunneling over tty
478#pseudo-device	gre			# generic L3 over IP tunnel
479#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
480#pseudo-device	faith			# IPv[46] tcp relay translation i/f
481#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
482#pseudo-device	vlan			# IEEE 802.1q encapsulation
483#pseudo-device	bridge			# simple inter-network bridging
484#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
485#pseudo-device	agr			# IEEE 802.3ad link aggregation
486#pseudo-device	pf			# PF packet filter
487#pseudo-device	pflog			# PF log if
488
489# miscellaneous pseudo-devices
490pseudo-device	pty			# pseudo-terminals
491#pseudo-device	sequencer	1	# MIDI sequencer
492pseudo-device	rnd			# /dev/random and in-kernel generator
493options		RND_COM
494pseudo-device	clockctl		# user control of clock subsystem
495pseudo-device	ksyms			# /dev/ksyms
496pseudo-device	bcsp			# BlueCore Serial Protocol
497pseudo-device	btuart			# Bluetooth HCI UART (H4)
498					# connect with Ericsson Bluetooth Module
499
500# a pseudo device needed for Coda	# also needs CODA (above)
501pseudo-device	vcoda		4	# coda minicache <-> venus comm.
502
503# a pseudo device needed for SMBFS
504pseudo-device	nsmb			# experimental - SMB requester
505
506# wscons pseudo-devices
507#pseudo-device	wsmux			# mouse & keyboard multiplexor
508#pseudo-device	wsfont
509
510# data mover pseudo-devices
511#pseudo-device	swdmover		# softare dmover(9) back-end
512#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
513
514#options 	FILEASSOC		# fileassoc(9) - required for Veriexec
515
516# Veriexec
517#pseudo-device	veriexec
518#
519# Uncomment the fingerprint methods below that are desired. Note that
520# removing fingerprint methods will have almost no impact on the kernel
521# code size.
522#
523#options VERIFIED_EXEC_FP_RMD160
524#options VERIFIED_EXEC_FP_SHA256
525#options VERIFIED_EXEC_FP_SHA384
526#options VERIFIED_EXEC_FP_SHA512
527#options VERIFIED_EXEC_FP_SHA1
528#options VERIFIED_EXEC_FP_MD5
529
530#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
531#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
532