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