TWINTAIL revision 1.72
1#	$NetBSD: TWINTAIL,v 1.72 2017/09/14 07:58:40 mrg 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	PROCFS		# /proc
47file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
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 	DISKLABEL_EI	# disklabel Endian Independent support
56#options 	FFS_EI		# FFS Endian Independent support
57#options 	NFSSERVER
58options 	WAPBL		# File system journaling support
59#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
60
61# Networking options
62
63#options 	GATEWAY		# packet forwarding
64options 	INET		# IP + ICMP + TCP + UDP
65options 	INET6		# IPV6
66#options 	IPSEC		# IP security
67#options 	IPSEC_DEBUG	# debug for IP security
68#options 	MROUTING	# IP multicast routing
69#options 	NETATALK	# AppleTalk networking
70#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
71#options 	PPP_DEFLATE	# Deflate compression support for PPP
72#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
73options 	IPFILTER_LOG	# ipmon(8) log support
74options 	IPFILTER_LOOKUP	# ippool(8) support
75options 	IPFILTER_COMPAT # Compat for IP-Filter
76#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
77#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
78
79options 	NFS_BOOT_BOOTP
80options 	NFS_BOOT_DHCP
81#options 	NFS_BOOT_BOOTPARAM
82
83# Compatibility options
84
85include 	"conf/compat_netbsd16.config"
86options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
87
88# Shared memory options
89
90#options 	SYSVMSG		# System V-like message queues
91#options 	SYSVSEM		# System V-like semaphores
92#options 	SYSVSHM		# System V-like memory sharing
93
94# Device options
95
96#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
97#options 	MEMORY_DISK_SIZE=3072	# Size in blocks
98#options 	MEMORY_DISK_DYNAMIC
99#options 	MINIROOTSIZE=1000	# Size in blocks
100#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
101
102# Miscellaneous kernel options
103options 	KTRACE		# system call tracing, a la ktrace(1)
104options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
105#options 	USBVERBOSE	# verbose USB device autoconfig messages
106options 	SCSIVERBOSE	# Verbose SCSI errors
107#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
108#options 	DDB_KEYCODE=0x40
109#options 	USERCONF	# userconf(4) support
110
111# Development and Debugging options
112
113options 	DIAGNOSTIC	# internal consistency checks
114#options 	DEBUG
115#options 	PMAP_DEBUG	# Enable pmap_debug_level code
116#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
117#options 	DDB		# in-kernel debugger
118#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
119#options 	KGDB
120#options  	DEBUG_KGDB
121makeoptions	DEBUG="-g"	# compile full symbol table
122#makeoptions	COPTS="-O2"
123makeoptions	COPY_SYMTAB=1
124#options 	AUDIO_DEBUG=2
125
126config		netbsd		root on ? type ?
127config		netbsd-ne0	root on ne0 type nfs
128
129# The main bus device
130mainbus0	at root
131
132# The boot cpu
133cpu0		at mainbus?
134
135# integrated peripherals
136pxaip0	at mainbus?
137
138pxaintc0 at pxaip?	# interrupt controller
139pxagpio0 at pxaip?	# GPIO
140
141# cotulla integrated 16550 UARTs
142options COM_PXA2X0
143com0	at pxaip?  addr 0x40100000 intr 22      # Full Function UART
144com1	at pxaip?  addr 0x40200000 intr 21 	# BlueTootth UART
145#com2	at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
146options FFUARTCONSOLE
147options BTUARTCONSOLE
148options KGDB_DEVNAME="\"ffuart\""   # ffuart or btuart
149options KGDB_DEVRATE=115200
150
151#aupxa0	at pxaip?		# AC97 interface
152
153# Audio support
154#audio*	at audiobus?
155
156#spkr*	at audio?		# PC speaker (synthesized)
157
158# FlashROM disk driver
159# frd*	at pxaip?
160
161# On-board device support
162obio0          at pxaip? intr 8
163ne0            at obio? addr 0x0e000200 intr 5         # on-board Asix AX88796
164
165# LCD
166#device-major	lcd  		char 37
167lcd0		at obio?
168wsdisplay*	at lcd? console ?
169options FONT_SONY8x16
170#options FONT_VT220L8x8
171options 	WSEMUL_VT100		# VT100 / VT220 emulation
172options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
173options G4250_LCD_TOSHIBA_LTM035
174#options G4250_LCD_NEC_NL3224BC35
175
176kmkbd* at obio?
177wskbd* at kmkbd? # mux 1 # console ?
178options WSDISPLAY_COMPAT_RAWKBD
179
180# GB-225 option board
181opio0 	at obio?  intr 2
182
183# USB host
184# slhci0	at opio0
185# options 	SLHCI_DEBUG
186
187# USB bus support
188#usb*   at slhci?
189
190# USB Hubs
191# uhub*  at usb?
192# uhub*  at uhub? port ?
193
194# USB HID device
195# uhidev*	at uhub? port ? configuration ? interface ?
196
197# USB Mice
198# ums*	at uhidev? reportid ?
199# wsmouse* at ums? mux 0
200
201# USB Keyboards
202#ukbd*	at uhidev? reportid ?
203#wskbd*	at ukbd? console ? mux 1
204
205# USB serial adapter
206#ucycom*	at uhidev? reportid ?
207
208# USB Generic HID devices
209# uhid*	at uhidev? reportid ?
210
211# USB Printer
212#ulpt*	at uhub? port ? configuration ? interface ?
213
214# USB Modem
215#umodem*	at uhub? port ? configuration ?
216#ucom*	at umodem?
217
218# Option N.V. Wireless WAN modems
219#uhso*	at uhub? port ? configuration ?
220
221# USB Mass Storage
222#umass*	at uhub? port ? configuration ? interface ?
223#wd* at umass?
224
225# USB audio
226#uaudio*	at uhub? port ? configuration ?
227
228# USB MIDI
229#umidi* at uhub? port ? configuration ?
230
231# USB IrDA
232# USB-IrDA bridge spec
233#uirda* at uhub? port ? configuration ? interface ?
234#irframe* at uirda?
235
236# SigmaTel STIr4200 USB/IrDA Bridge
237#ustir* at uhub? port ?
238#irframe* at ustir?
239
240# USB Ethernet adapters
241#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
242#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
243#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
244#uax*	at uhub? port ?		# ASIX AX88172 based adapters
245#url*	at uhub? port ?		# Realtek RTL8150L based adapters
246
247# Prolific PL2301/PL2302 host-to-host adapter
248#upl*	at uhub? port ?
249
250# Serial adapters
251#ubsa*	at uhub? port ?		# Belkin serial adapter
252#ucom*	at ubsa? portno ?
253
254#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
255#ucom*	at uftdi? portno ?
256
257#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
258#ucom*	at umct? portno ?
259
260#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
261#ucom*	at uplcom? portno ?
262
263#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
264#ucom*	at uvscom? portno ?
265
266# Diamond Multimedia Rio 500
267#urio*	at uhub? port ?
268
269# USB Handspring Visor
270#uvisor*	at uhub? port ?
271#ucom*	at uvisor?
272
273# Kyocera AIR-EDGE PHONE
274#ukyopon* at uhub? port ?
275#ucom*	at ukyopon? portno ?
276
277# USB scanners
278#uscanner* at uhub? port ?
279
280# USB scanners that use SCSI emulation, e.g., HP5300
281#usscanner* at uhub? port ?
282
283# Y@P firmware loader
284#uyap* at uhub? port ?
285
286# D-Link DSB-R100 USB radio
287#udsbr*	at uhub? port ?
288#radio*	at udsbr?
289
290# USB Generic driver
291# ugen*	at uhub? port ?
292
293# PCMCIA/CF card
294opcic0	at opio?
295pcmcia*	at opcic?
296
297# PCMCIA serial interfaces
298com*	at pcmcia? function ?		# Modems and serial cards
299
300pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
301com*	at pcmcom? slave ?		# ...and the slave devices
302
303# PCMCIA SCSI controllers
304aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
305esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
306
307# SCSI bus support
308scsibus* at scsi?
309
310# SCSI devices
311sd*	at scsibus? target ? lun ?	# SCSI disk drives
312st*	at scsibus? target ? lun ?	# SCSI tape drives
313cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
314ch*	at scsibus? target ? lun ?	# SCSI autochangers
315ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
316ss*	at scsibus? target ? lun ?	# SCSI scanners
317uk*	at scsibus? target ? lun ?	# SCSI unknown
318
319# PCMCIA IDE controllers
320wdc*	at pcmcia? function ?
321atabus*	at wdc? channel ?
322wd*		at atabus? drive ? flags 0x0000
323
324# PCMCIA network interfaces
325an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
326awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
327cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
328ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
329mbe*	at pcmcia? function ?		# MB8696x based Ethernet
330ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
331ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
332sm*	at pcmcia? function ?		# Megahertz Ethernet
333# tr at pcmcia has problems with Cardbus bridges
334tr*	at pcmcia? function ?		# TROPIC based Token-Ring
335wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
336xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
337com*	at xirc?
338xi*	at xirc?
339
340mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
341com*	at mhzc?
342sm*	at mhzc?
343
344# DMAC support
345pxadmac0 at pxaip? addr 0x40000000 intr 25
346options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
347#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
348
349
350# MMC/SD contoller in PXA255
351#  (attached on obio for card detect and write protect signal)
352pxamci0 at obio?
353sdmmc* at pxamci?
354#options 	PXAMCI_DEBUG
355#options 	SDMMC_DEBUG
356#options 	SDMMC_DUMP_CSD
357
358ld* at sdmmc?				# MMC/SD card
359
360# Pseudo-Devices
361
362# disk/mass storage pseudo-devices
363#pseudo-device	md			# memory disk device (ramdisk)
364#pseudo-device	vnd			# disk-like interface to files
365#pseudo-device	fss			# file system snapshot device
366pseudo-device	putter			# for puffs and pud
367
368# network pseudo-devices
369pseudo-device	bpfilter		# 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			# Point-to-Point Protocol
374#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
375#pseudo-device	sl			# Serial Line IP
376#pseudo-device	strip			# Starmode Radio IP (Metricom)
377#pseudo-device	irframetty		# IrDA frame line discipline
378#pseudo-device	tap			# virtual Ethernet
379#pseudo-device	tun			# network tunneling over tty
380#pseudo-device	gre			# generic L3 over IP tunnel
381#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
382#pseudo-device	faith			# IPv[46] tcp relay translation i/f
383#pseudo-device	stf			# 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	clockctl		# user control of clock subsystem
393
394# wscons pseudo-devices
395pseudo-device	wsmux			# mouse & keyboard multiplexor
396#pseudo-device	wsfont
397pseudo-device	ksyms			# /dev/ksyms
398