TWINTAIL revision 1.49
1#	$NetBSD: TWINTAIL,v 1.49 2012/04/04 01:40:57 bsh Exp $
2#
3#	TWINTAIL -- Genetec corp. G4255EB-X002 Evaluation Board Kernel
4#
5
6include	"arch/evbarm/conf/std.g42xxeb"
7
8# estimated number of users
9
10maxusers	32
11
12options 	VERBOSE_ARM32
13#options 	INTR_DEBUG
14#options	BOOTHOWTO=RB_SINGLE
15options 	PCMCIADEBUG
16options 	PCMCIACISDEBUG
17
18# Standard system options
19
20options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
21#options 	NTP		# NTP phase/frequency locked loop
22
23# CPU options
24
25options 	CPU_XSCALE_PXA250	# Support the XScale core
26#options 	CPU_XSCALE_PXA270	# You can enable this, but useless for this board.
27#options 	XSCALE_CACHE_WRITE_THROUGH
28options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
29makeoptions	CPUFLAGS="-mcpu=xscale"
30
31# Architecture options
32
33# File systems
34
35file-system	FFS		# UFS
36#file-system	LFS		# log-structured file system
37file-system	MFS		# memory file system
38file-system	NFS		# Network file system
39#file-system 	ADOSFS		# AmigaDOS-compatible file system
40#file-system 	EXT2FS		# second extended file system (linux)
41file-system	CD9660		# ISO 9660 + Rock Ridge file system
42file-system	MSDOSFS		# MS-DOS file system
43file-system	FDESC		# /dev/fd
44file-system	KERNFS		# /kern
45file-system	NULLFS		# loopback file system
46file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
47file-system	PROCFS		# /proc
48#file-system	UMAPFS		# NULLFS + uid and gid remapping
49file-system	UNION		# union file system
50file-system	PTYFS		# /dev/pts/N support
51
52# File system options
53#options 	QUOTA		# legacy UFS quotas
54#options 	QUOTA2		# new, in-filesystem UFS quotas
55#options 	FFS_EI		# FFS Endian Independent support
56#options 	NFSSERVER
57options 	WAPBL		# File system journaling support
58#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
59
60# Networking options
61
62#options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
67#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
68#options 	IPSEC_DEBUG	# debug for IP security
69#options 	MROUTING	# IP multicast routing
70#options 	ISO,TPIP	# OSI
71#options 	EON		# OSI tunneling over IP
72#options 	NETATALK	# AppleTalk networking
73#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
74#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
75#options 	PPP_DEFLATE	# Deflate compression support for PPP
76#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
77options 	PFIL_HOOKS	# pfil(9) packet filter hooks
78options 	IPFILTER_LOG	# ipmon(8) log support
79options 	IPFILTER_LOOKUP	# ippool(8) support
80options 	IPFILTER_COMPAT # Compat for IP-Filter
81#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
82#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
83
84options 	NFS_BOOT_BOOTP
85options 	NFS_BOOT_DHCP
86#options 	NFS_BOOT_BOOTPARAM
87
88# Compatibility options
89
90#options 	COMPAT_43	# 4.3BSD compatibility.
91options 	COMPAT_50	# NetBSD 5.0 compatibility.
92options 	COMPAT_40	# NetBSD 4.0 compatibility.
93options 	COMPAT_30	# NetBSD 3.0 compatibility.
94options 	COMPAT_20	# NetBSD 2.0 compatibility.
95options 	COMPAT_16	# NetBSD 1.6 compatibility.
96#options 	COMPAT_15	# NetBSD 1.5 compatibility.
97#options 	COMPAT_14	# NetBSD 1.4 compatibility.
98#options 	COMPAT_13	# NetBSD 1.3 compatibility.
99#options 	COMPAT_12	# NetBSD 1.2 compatibility.
100#options 	COMPAT_11	# NetBSD 1.1 compatibility.
101#options 	COMPAT_10	# NetBSD 1.0 compatibility.
102#options 	COMPAT_09	# NetBSD 0.9 compatibility.
103#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
104
105# Shared memory options
106
107#options 	SYSVMSG		# System V-like message queues
108#options 	SYSVSEM		# System V-like semaphores
109#options 	SEMMNI=10	# number of semaphore identifiers
110#options 	SEMMNS=60	# number of semaphores in system
111#options 	SEMUME=10	# max number of undo entries per process
112#options 	SEMMNU=30	# number of undo structures in system
113#options 	SYSVSHM		# System V-like memory sharing
114
115# Device options
116
117#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
118#options 	MEMORY_DISK_SIZE=3072	# Size in blocks
119#options 	MEMORY_DISK_DYNAMIC
120#options 	MINIROOTSIZE=1000	# Size in blocks
121#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
122
123# Miscellaneous kernel options
124options 	KTRACE		# system call tracing, a la ktrace(1)
125#options 	KMEMSTATS	# kernel memory statistics
126options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
127options 	USBVERBOSE	# verbose USB device autoconfig messages
128options 	SCSIVERBOSE	# Verbose SCSI errors
129#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
130#options 	DDB_KEYCODE=0x40
131#options 	USERCONF	# userconf(4) support
132
133# Development and Debugging options
134
135options 	DIAGNOSTIC	# internally consistency checks
136#options 	DEBUG
137#options 	PMAP_DEBUG	# Enable pmap_debug_level code
138#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
139#options 	DDB		# in-kernel debugger
140#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
141#options 	KGDB
142#options  	DEBUG_KGDB
143makeoptions	DEBUG="-g -O2"	# compile full symbol table
144options 	SYMTAB_SPACE=620000
145#options 	AUDIO_DEBUG=2
146
147config		netbsd		root on ? type ?
148config		netbsd-ne0	root on ne0 type nfs
149
150# The main bus device
151mainbus0	at root
152
153# The boot cpu
154cpu0		at mainbus?
155
156# integrated peripherals
157pxaip0	at mainbus?
158
159pxaintc0 at pxaip?	# interrupt controller
160pxagpio0 at pxaip?	# GPIO
161
162# cotulla integrated 16550 UARTs
163options COM_PXA2X0
164com0	at pxaip?  addr 0x40100000 intr 22      # Full Function UART
165com1	at pxaip?  addr 0x40200000 intr 21 	# BlueTootth UART
166#com2	at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
167options FFUARTCONSOLE
168options BTUARTCONSOLE
169options KGDB_DEVNAME="\"ffuart\""   # ffuart or btuart
170options KGDB_DEVRATE=115200
171
172#aupxa0	at pxaip?		# AC97 interface
173
174# Audio support
175#audio*	at audiobus?
176
177
178# FlashROM disk driver
179# frd*	at pxaip?
180
181# On-board device support
182obio0          at pxaip? intr 8
183ne0            at obio? addr 0x0e000200 intr 5         # on-board Asix AX88796
184
185# LCD
186#device-major	lcd  		char 37
187lcd0		at obio?
188wsdisplay*	at lcd? console ?
189options FONT_SONY8x16
190#options FONT_VT220L8x8
191options 	WSEMUL_VT100		# VT100 / VT220 emulation
192options G4250_LCD_TOSHIBA_LTM035
193#options G4250_LCD_NEC_NL3224BC35
194
195kmkbd* at obio?
196wskbd* at kmkbd? # mux 1 # console ?
197options WSDISPLAY_COMPAT_RAWKBD
198
199# GB-225 option board
200opio0 	at obio?  intr 2
201
202# USB host
203# slhci0	at opio0
204# options 	SLHCI_DEBUG
205
206# USB bus support
207#usb*   at slhci?
208
209# USB Hubs
210# uhub*  at usb?
211# uhub*  at uhub? port ?
212
213# USB HID device
214# uhidev*	at uhub? port ? configuration ? interface ?
215
216# USB Mice
217# ums*	at uhidev? reportid ?
218# wsmouse* at ums? mux 0
219
220# USB Keyboards
221#ukbd*	at uhidev? reportid ?
222#wskbd*	at ukbd? console ? mux 1
223
224# USB serial adapter
225#ucycom*	at uhidev? reportid ?
226
227# USB Generic HID devices
228# uhid*	at uhidev? reportid ?
229
230# USB Printer
231#ulpt*	at uhub? port ? configuration ? interface ?
232
233# USB Modem
234#umodem*	at uhub? port ? configuration ?
235#ucom*	at umodem?
236
237# Option N.V. Wireless WAN modems
238#uhso*	at uhub? port ? configuration ?
239
240# USB Mass Storage
241#umass*	at uhub? port ? configuration ? interface ?
242#wd* at umass?
243
244# USB audio
245#uaudio*	at uhub? port ? configuration ?
246
247# USB MIDI
248#umidi* at uhub? port ? configuration ?
249
250# USB IrDA
251# USB-IrDA bridge spec
252#uirda* at uhub? port ? configuration ? interface ?
253#irframe* at uirda?
254
255# SigmaTel STIr4200 USB/IrDA Bridge
256#ustir* at uhub? port ?
257#irframe* at ustir?
258
259# USB Ethernet adapters
260#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
261#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
262#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
263#uax*	at uhub? port ?		# ASIX AX88172 based adapters
264#url*	at uhub? port ?		# Realtek RTL8150L based adapters
265
266# Prolific PL2301/PL2302 host-to-host adapter
267#upl*	at uhub? port ?
268
269# Serial adapters
270#ubsa*	at uhub? port ?		# Belkin serial adapter
271#ucom*	at ubsa? portno ?
272
273#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
274#ucom*	at uftdi? portno ?
275
276#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
277#ucom*	at umct? portno ?
278
279#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
280#ucom*	at uplcom? portno ?
281
282#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
283#ucom*	at uvscom? portno ?
284
285# Diamond Multimedia Rio 500
286#urio*	at uhub? port ?
287
288# USB Handspring Visor
289#uvisor*	at uhub? port ?
290#ucom*	at uvisor?
291
292# Kyocera AIR-EDGE PHONE
293#ukyopon* at uhub? port ?
294#ucom*	at ukyopon? portno ?
295
296# USB scanners
297#uscanner* at uhub? port ?
298
299# USB scanners that use SCSI emulation, e.g., HP5300
300#usscanner* at uhub? port ?
301
302# Y@P firmware loader
303#uyap* at uhub? port ?
304
305# D-Link DSB-R100 USB radio
306#udsbr*	at uhub? port ?
307#radio*	at udsbr?
308
309# USB Generic driver
310# ugen*	at uhub? port ?
311
312# PCMCIA/CF card
313opcic0	at opio?
314pcmcia*	at opcic?
315
316# PCMCIA serial interfaces
317com*	at pcmcia? function ?		# Modems and serial cards
318
319pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
320com*	at pcmcom? slave ?		# ...and the slave devices
321
322# PCMCIA SCSI controllers
323aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
324esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
325
326# SCSI bus support
327scsibus* at scsi?
328
329# SCSI devices
330sd*	at scsibus? target ? lun ?	# SCSI disk drives
331st*	at scsibus? target ? lun ?	# SCSI tape drives
332cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
333ch*	at scsibus? target ? lun ?	# SCSI autochangers
334ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
335ss*	at scsibus? target ? lun ?	# SCSI scanners
336uk*	at scsibus? target ? lun ?	# SCSI unknown
337
338# PCMCIA IDE controllers
339wdc*	at pcmcia? function ?
340atabus*	at wdc? channel ?
341wd*		at atabus? drive ? flags 0x0000
342
343# PCMCIA network interfaces
344an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
345awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
346cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
347ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
348mbe*	at pcmcia? function ?		# MB8696x based Ethernet
349ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
350ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
351sm*	at pcmcia? function ?		# Megahertz Ethernet
352# tr at pcmcia has problems with Cardbus bridges
353tr*	at pcmcia? function ?		# TROPIC based Token-Ring
354wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
355xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
356com*	at xirc?
357xi*	at xirc?
358
359mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
360com*	at mhzc?
361sm*	at mhzc?
362
363# DMAC support
364pxadmac0 at pxaip? addr 0x40000000 intr 25
365options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
366#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
367
368
369# MMC/SD contoller in PXA255
370#  (attached on obio for card detect and write protect signal)
371pxamci0 at obio?
372sdmmc* at pxamci?
373#options 	PXAMCI_DEBUG
374#options 	SDMMC_DEBUG
375#options 	SDMMC_DUMP_CSD
376
377ld* at sdmmc?				# MMC/SD card
378
379# Pseudo-Devices
380
381# disk/mass storage pseudo-devices
382#pseudo-device	md			# memory disk device (ramdisk)
383#pseudo-device	vnd			# disk-like interface to files
384#pseudo-device	fss			# file system snapshot device
385pseudo-device	putter			# for puffs and pud
386
387# network pseudo-devices
388pseudo-device	bpfilter		# Berkeley packet filter
389pseudo-device	ipfilter		# IP filter (firewall) and NAT
390pseudo-device	loop			# network loopback
391#pseudo-device	kttcp			# network loopback
392#pseudo-device	ppp			# Point-to-Point Protocol
393#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
394#pseudo-device	sl			# Serial Line IP
395#pseudo-device	strip			# Starmode Radio IP (Metricom)
396#pseudo-device	irframetty		# IrDA frame line discipline
397#pseudo-device	tap			# virtual Ethernet
398#pseudo-device	tun			# network tunneling over tty
399#pseudo-device	gre			# generic L3 over IP tunnel
400#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
401#pseudo-device	faith			# IPv[46] tcp relay translation i/f
402#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
403#pseudo-device	vlan			# IEEE 802.1q encapsulation
404#pseudo-device	bridge			# simple inter-network bridging
405#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
406#pseudo-device	pf			# PF packet filter
407#pseudo-device	pflog			# PF log if
408
409# miscellaneous pseudo-devices
410pseudo-device	pty			# pseudo-terminals
411pseudo-device	clockctl		# user control of clock subsystem
412
413# wscons pseudo-devices
414pseudo-device	wsmux			# mouse & keyboard multiplexor
415#pseudo-device	wsfont
416pseudo-device	ksyms			# /dev/ksyms
417