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