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