xref: /netbsd/sys/arch/evbarm/conf/GUMSTIX (revision 6550d01e)
1#	$NetBSD: GUMSTIX,v 1.54 2010/11/23 11:13:56 hannken 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 basix/connex motherboards
18options 	CPU_XSCALE_PXA270	# Support the verdex motherboards
19makeoptions	CPUFLAGS="-mcpu=xscale"
20
21# Architecture options
22#options 	XSCALE_CACHE_WRITE_THROUGH
23options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
24
25# Gumstix options
26options 	GUMSTIX
27# if not specified 'busheader=' in args from u-boot, use GXIO_DEFAULT_EXPANSION.
28options 	GUMSTIX_NETBSD_ARGS_BUSHEADER
29options 	GUMSTIX_NETBSD_ARGS_CONSOLE	# dynamically configure console
30						# 'console=lcd' or ffuart,stuart
31
32# Standard system options
33
34options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
35#options 	NTP		# NTP phase/frequency locked loop
36
37# File systems
38
39file-system 	FFS		# UFS
40file-system 	EXT2FS		# second extended file system (linux)
41file-system 	LFS		# log-structured file system
42file-system 	MFS		# memory file system
43file-system 	NFS		# Network File System client
44#file-system 	NTFS		# Windows/NT file system (experimental)
45#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
46file-system 	MSDOSFS		# MS-DOS file system
47file-system 	FDESC		# /dev/fd
48file-system 	KERNFS		# /kern
49file-system 	NULLFS		# loopback file system
50file-system 	OVERLAY		# overlay file system
51file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
52file-system 	PROCFS		# /proc
53file-system 	UMAPFS		# NULLFS + uid and gid remapping
54file-system 	UNION		# union file system
55file-system 	CODA		# Coda File System; also needs vcoda (below)
56file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
57file-system 	PTYFS		# /dev/ptm support
58file-system 	TMPFS		# Efficient memory file-system
59#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
60#file-system 	HFS		# experimental - Apple HFS+ (read-only)
61
62# File system options
63#options 	QUOTA		# UFS quotas
64#options 	FFS_EI		# FFS Endian Independent support
65options 	WAPBL		# File system journaling support - Experimental
66# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
67# It is not recommended for general use.
68#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
69#options 	NFSSERVER	# Network File System server
70#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
71#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
72				# immutable) behave as system flags.
73
74# Networking options
75
76#options 	GATEWAY		# packet forwarding
77options 	INET		# IP + ICMP + TCP + UDP
78options 	INET6		# IPv6
79options 	IPSEC		# IP security
80options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
81options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	MROUTING	# IP multicast routing
84#options 	PIM		# Protocol Independent Multicast
85#options 	ISO,TPIP	# OSI
86#options 	EON		# OSI tunneling over IP
87#options 	NETATALK	# AppleTalk networking
88#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
89#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
90#options 	PPP_DEFLATE	# Deflate compression support for PPP
91#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
92#options 	IPFILTER_LOG	# ipmon(8) log support
93#options 	IPFILTER_LOOKUP	# ippool(8) support
94options 	IPFILTER_COMPAT # Compat for IP-Filter
95#options 	IPFILTER_DEFAULT_BLOCK  # block all packets by default
96#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
97
98options 	NFS_BOOT_BOOTP
99options 	NFS_BOOT_DHCP
100#options 	NFS_BOOT_BOOTPARAM
101
102# Compatibility options
103
104#options 	COMPAT_09	# NetBSD 0.9 compatibility.
105#options 	COMPAT_10	# NetBSD 1.0 compatibility.
106#options 	COMPAT_11	# NetBSD 1.1 compatibility.
107#options 	COMPAT_12	# NetBSD 1.2 compatibility.
108#options 	COMPAT_13	# NetBSD 1.3 compatibility.
109#options 	COMPAT_14	# NetBSD 1.4 compatibility.
110#options 	COMPAT_15	# NetBSD 1.5 compatibility.
111options 	COMPAT_16	# NetBSD 1.6 compatibility.
112options 	COMPAT_20	# NetBSD 2.0 compatibility.
113options 	COMPAT_30	# NetBSD 3.0 compatibility.
114options 	COMPAT_40	# NetBSD 4.0 compatibility.
115options 	COMPAT_50	# NetBSD 5.0 compatibility.
116#options 	COMPAT_43	# 4.3BSD compatibility.
117#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
118
119options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
120options 	COMPAT_LINUX	# binary compatibility with Linux
121options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
122
123# Shared memory options
124
125#options 	SYSVMSG		# System V-like message queues
126#options 	SYSVSEM		# System V-like semaphores
127#options 	SEMMNI=10	# number of semaphore identifiers
128#options 	SEMMNS=60	# number of semaphores in system
129#options 	SEMUME=10	# max number of undo entries per process
130#options 	SEMMNU=30	# number of undo structures in system
131#options 	SYSVSHM		# System V-like memory sharing
132options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
133
134# Device options
135
136#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
137#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
138#options 	MEMORY_DISK_DYNAMIC
139#options 	MEMORY_DISK_ROOT_SIZE=22528	# Size in blocks
140
141# Miscellaneous kernel options
142
143options 	KTRACE		# system call tracing, a la ktrace(1)
144options 	IRQSTATS	# manage IRQ statistics
145#options 	KMEMSTATS	# kernel memory statistics
146options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
147#options 	USBVERBOSE	# verbose USB device autoconfig messages
148options 	MIIVERBOSE	# Verbose MII autoconfuration messages
149#options 	DDB_KEYCODE=0x40
150#options 	USERCONF	# userconf(4) support
151#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
152#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
153
154# Development and Debugging options
155
156#options 	PERFCTRS	# performance counters
157options 	DIAGNOSTIC	# internally consistency checks
158options 	DEBUG
159#options 	LOCKDEBUG
160#options 	PMAP_DEBUG	# Enable pmap_debug_level code
161#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
162options 	DDB		# in-kernel debugger
163#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
164#options 	KGDB
165#options 	DEBUG_KGDB
166makeoptions	DEBUG="-g -O2"	# compile full symbol table
167options 	SYMTAB_SPACE=500000
168#options 	AUDIO_DEBUG=2
169
170config		netbsd		root on ? type ?
171config		netbsd-sm0	root on sm0 type nfs
172config		netbsd-smsh0	root on smsh0 type nfs
173
174# The main bus device
175mainbus0 at root
176
177# The boot cpu
178cpu0	at mainbus?
179
180# integrated peripherals
181pxaip0	at mainbus?
182
183pxaintc0 at pxaip?				# interrupt controller
184options 	PXAGPIO_HAS_GPION_INTRS
185
186pxagpio0 at pxaip?				# GPIO
187pxartc0	at pxaip? addr 0x40900000		# RTC
188
189# cotulla integrated 16550 UARTs
190options COM_PXA2X0
191com0	at pxaip? addr 0x40100000 intr 22	# Full Function UART
192com1	at pxaip? addr 0x40700000 intr 20	# Standard UART (console-st)
193com2	at pxaip? addr 0x40200000 intr 21	# Bluetooth UART (old bt or vx)
194com3	at pxaip? addr 0x41600000 intr 7	# Hardware UART(console-hw, bt)
195options 	FFUARTCONSOLE
196#options 	STUARTCONSOLE
197#options 	BTUARTCONSOLE
198#options 	HWUARTCONSOLE
199#options 	KGDB_DEVNAME="\"ffuart\""	# or stuart or btuart or hwuart
200#options 	KGDB_DEVRATE=115200
201
202# DMAC support
203pxadmac0 at pxaip? addr 0x40000000 intr 25
204options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
205#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
206
207# AC97 Audio support
208pxaacu0	at pxaip? addr 0x40500000 intr 14	# Audiostix, Audiostx2, GPSstix
209
210# Audio support
211audio*	at audiobus?
212
213# LCD
214lcd0	at pxaip? addr 0x44000000		# consoleLCD-vx,consoleLCD16-vx
215wsdisplay* at lcd? console ?
216
217# USB Host/Device Controller
218ohci0	at pxaip? addr 0x4c000000 intr 3	# consoleLCD-vx,consoleLCD16-vx
219						# ALSO NEEDS pxaudc
220pxaudc0	at pxaip? addr 0x40600000
221
222# integrated MMC/SD contoller
223pxamci0	at pxaip? addr 0x41100000 size 0x48
224sdmmc*	at pxamci?
225#options 	PXAMCI_DEBUG
226#options 	SDMMC_DEBUG
227#options 	SDMMC_DUMP_CSD
228
229ld*	at sdmmc?
230
231# gumstix device support
232gxio0	at pxaip?
233options 	GXIO_BLUETOOTH_ON_HWUART	# Bluetooth module on HWUART
234#options 	GXIO_DEFAULT_EXPANSION="\"netCF\""
235
236# gumstix expantion boards
237
238# SMC 91C111
239sm0	at gxio? addr 0x04000300 gpirq ?
240#sm0	at gxio? addr 0x04000300 gpirq 36	# etherstix,netMMC,netCF,netDUO
241#sm0	at gxio? addr 0x04000300 gpirq 99	# netCF-vx
242sm1	at gxio? addr 0x08000300 gpirq 27	# netDUO(2nd NIC)
243
244# SMSC LAN9117
245smsh0	at gxio? addr 0x04000300 gpirq 99	# netmicroSD-vx, netpro-vx
246
247# Inter-Integrated Circuit controller
248gxiic0	at pxaip? addr 0x40300000
249iic*	at gxiic?
250#dsrtc*	at iic? addr 0x68		# Can mount DS1307 at console, breakout
251
252# integrated PCMCIA/CF controller
253pxapcic0 at pxaip? addr 0x20000000		# cfstix, netCF
254
255# PCMCIA bus support
256pcmcia*	at pxapcic?
257
258# Marvell 88W8385
259#malo*	at pcmcia? function ?		# wifistix, netwifimicrosd, netpro-vx
260
261
262# PCMCIA serial interfaces
263com*	at pcmcia? function ?		# Modems and serial cards
264
265# PCMCIA IDE controllers
266wdc*	at pcmcia? function ?
267atabus*	at wdc? channel ?
268wd*	at atabus? drive ? flags 0x0000
269
270# PCMCIA network interfaces
271ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
272wi*	at pcmcia? function ?		# Lucent/Intersil WaveLAN/IEEE (802.11)
273#xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
274#xi*	at xirc?
275
276# MII/PHY support
277#acphy*	at mii? phy ?			# AMD/Altima AC101 PHYs
278sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
279ukphy*	at mii? phy ?			# smsh(4) internal PHY
280
281# PCMCIA USB controllers
282#slhci*	at pcmcia? function ?		# ScanLogic SL811HS
283
284# USB bus support
285usb*	at ohci?
286#usb*	at slhci?
287
288# USB Hubs
289uhub*	at usb?
290uhub*	at uhub? port ?
291
292# USB HID device
293uhidev* at uhub? port ? configuration ? interface ?
294
295# USB Mice
296ums*	at uhidev? reportid ?
297wsmouse* at ums? mux 0
298
299# USB Keyboards
300ukbd*	at uhidev? reportid ?
301wskbd*	at ukbd? console ? mux 1
302
303# USB LCDs and USB-VGA adaptors
304udl*	at uhub? port ?			# DisplayLink DL-1x0/1x5
305wsdisplay* at udl?
306
307# USB Mass Storage
308umass*	at uhub? port ? configuration ? interface ?
309#wd*	at umass?
310
311# SCSI bus support
312scsibus* at scsi?
313
314# SCSI devices
315sd*	at scsibus? target ? lun ?	# SCSI disk drives
316
317# Bluetooth Controller and Device support
318
319# Bluetooth PCMCIA Controllers
320#btbc*	at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
321
322# Bluetooth USB Controllers
323#ubt*	at uhub? port ?
324
325# Bluetooth Device Hub
326bthub*	at bcsp?
327#bthub*	at btbc?
328bthub*	at btuart?
329#bthub*	at ubt?
330
331# Bluetooth HID support
332bthidev* at bthub?
333
334# Bluetooth Mouse
335btms*	at bthidev? reportid ?
336wsmouse* at btms? mux 0
337
338# Bluetooth Keyboard
339btkbd*	at bthidev? reportid ?
340wskbd*	at btkbd? console ? mux 1
341
342# Bluetooth Apple Magic Mouse
343btmagic* at bthub?
344wsmouse* at btmagic? mux 0
345
346# Bluetooth Audio support
347btsco*	at bthub?
348
349# Pseudo-Devices
350
351# disk/mass storage pseudo-devices
352#pseudo-device	bio			# RAID control device driver
353#pseudo-device	ccd		4	# concatenated/striped disk devices
354pseudo-device	cgd		4	# cryptographic disk devices
355#pseudo-device	raid		8	# RAIDframe disk driver
356#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
357# Options to enable various other RAIDframe RAID types.
358#options 	RF_INCLUDE_EVENODD=1
359#options 	RF_INCLUDE_RAID5_RS=1
360#options 	RF_INCLUDE_PARITYLOGGING=1
361#options 	RF_INCLUDE_CHAINDECLUSTER=1
362#options 	RF_INCLUDE_INTERDECLUSTER=1
363#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
364#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
365#pseudo-device	fss			# file system snapshot device
366
367#pseudo-device	md			# memory disk device (ramdisk)
368pseudo-device	vnd			# disk-like interface to files
369options 	VND_COMPRESSION		# compressed vnd(4)
370pseudo-device	putter			# for puffs and pud
371
372# network pseudo-devices
373pseudo-device	bpfilter		# Berkeley packet filter
374#pseudo-device	carp			# Common Address Redundancy Protocol
375pseudo-device	ipfilter		# IP filter (firewall) and NAT
376pseudo-device	loop			# network loopback
377pseudo-device	ppp			# Point-to-Point Protocol
378#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
379#options 	PPPOE_SERVER		# Enable PPPoE server via link0
380#pseudo-device	sl			# Serial Line IP
381#pseudo-device	strip			# Starmode Radio IP (Metricom)
382#pseudo-device	irframetty		# IrDA frame line discipline
383pseudo-device	tap			# virtual Ethernet
384#pseudo-device	tun			# network tunneling over tty
385#pseudo-device	gre			# generic L3 over IP tunnel
386#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
387#pseudo-device	faith			# IPv[46] TCP relay translation i/f
388#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
389#pseudo-device	vlan			# IEEE 802.1q encapsulation
390pseudo-device	bridge			# simple inter-network bridging
391#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
392#pseudo-device	agr			# IEEE 802.3ad link aggregation
393#pseudo-device	pf			# PF packet filter
394#pseudo-device	pflog			# PF log if
395
396# miscellaneous pseudo-devices
397pseudo-device	pty			# pseudo-terminals
398#pseudo-device	sequencer	1	# MIDI sequencer
399pseudo-device	rnd			# /dev/random and in-kernel generator
400options 	RND_COM
401pseudo-device	clockctl		# user control of clock subsystem
402pseudo-device	ksyms			# /dev/ksyms
403pseudo-device	bcsp			# BlueCore Serial Protocol
404pseudo-device	btuart			# Bluetooth HCI UART (H4)
405					# connect with Ericsson Bluetooth Module
406					#  or Infineon SingleStone (PBA31307)
407					#  or Infineon UniStone (PBA31308)
408
409# a pseudo device needed for Coda	# also needs CODA (above)
410pseudo-device	vcoda		4	# coda minicache <-> venus comm.
411
412# a pseudo device needed for SMBFS
413pseudo-device	nsmb			# experimental - SMB requester
414
415# wscons pseudo-devices
416pseudo-device	wsmux			# mouse & keyboard multiplexor
417#pseudo-device	wsfont
418
419# data mover pseudo-devices
420pseudo-device	swdmover		# softare dmover(9) back-end
421pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
422
423# userland interface to drivers, including autoconf and properties retrieval
424pseudo-device	drvctl
425
426#options 	FILEASSOC		# fileassoc(9) - required for Veriexec
427
428# Veriexec
429#pseudo-device	veriexec
430#
431# Uncomment the fingerprint methods below that are desired. Note that
432# removing fingerprint methods will have almost no impact on the kernel
433# code size.
434#
435#options VERIFIED_EXEC_FP_RMD160
436#options VERIFIED_EXEC_FP_SHA256
437#options VERIFIED_EXEC_FP_SHA384
438#options VERIFIED_EXEC_FP_SHA512
439#options VERIFIED_EXEC_FP_SHA1
440#options VERIFIED_EXEC_FP_MD5
441
442#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
443#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
444