11.85Ssimonb#	$NetBSD: TWINTAIL,v 1.85 2022/08/07 02:52:25 simonb Exp $
21.1Sbsh#
31.1Sbsh#	TWINTAIL -- Genetec corp. G4255EB-X002 Evaluation Board Kernel
41.1Sbsh#
51.1Sbsh
61.1Sbshinclude	"arch/evbarm/conf/std.g42xxeb"
71.1Sbsh
81.1Sbsh# estimated number of users
91.1Sbsh
101.1Sbshmaxusers	32
111.1Sbsh
121.1Sbshoptions 	VERBOSE_ARM32
131.1Sbsh#options 	INTR_DEBUG
141.1Sbsh#options	BOOTHOWTO=RB_SINGLE
151.1Sbshoptions 	PCMCIADEBUG
161.1Sbshoptions 	PCMCIACISDEBUG
171.1Sbsh
181.1Sbsh# Standard system options
191.1Sbsh
201.1Sbshoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
211.1Sbsh#options 	NTP		# NTP phase/frequency locked loop
221.1Sbsh
231.1Sbsh# CPU options
241.1Sbsh
251.4Sbshoptions 	CPU_XSCALE_PXA250	# Support the XScale core
261.4Sbsh#options 	CPU_XSCALE_PXA270	# You can enable this, but useless for this board.
271.1Sbsh#options 	XSCALE_CACHE_WRITE_THROUGH
281.1Sbshoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
291.3Srearnshamakeoptions	CPUFLAGS="-mcpu=xscale"
301.1Sbsh
311.1Sbsh# Architecture options
321.1Sbsh
331.1Sbsh# File systems
341.1Sbsh
351.1Sbshfile-system	FFS		# UFS
361.1Sbsh#file-system	LFS		# log-structured file system
371.1Sbshfile-system	MFS		# memory file system
381.1Sbshfile-system	NFS		# Network file system
391.1Sbsh#file-system 	ADOSFS		# AmigaDOS-compatible file system
401.1Sbsh#file-system 	EXT2FS		# second extended file system (linux)
411.1Sbshfile-system	CD9660		# ISO 9660 + Rock Ridge file system
421.1Sbshfile-system	MSDOSFS		# MS-DOS file system
431.1Sbshfile-system	FDESC		# /dev/fd
441.1Sbshfile-system	KERNFS		# /kern
451.1Sbshfile-system	NULLFS		# loopback file system
461.53Smsaitohfile-system	PROCFS		# /proc
471.32Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
481.1Sbsh#file-system	UMAPFS		# NULLFS + uid and gid remapping
491.1Sbshfile-system	UNION		# union file system
501.10Schristosfile-system	PTYFS		# /dev/pts/N support
511.1Sbsh
521.1Sbsh# File system options
531.85Ssimonb#options 	FFS_EI		# FFS Endian Independent support
541.85Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
551.41Sbouyer#options 	QUOTA		# legacy UFS quotas
561.41Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
571.85Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
581.85Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
591.85Ssimonboptions 	WAPBL		# File system journaling support
601.70Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
611.85Ssimonb#options 	NFSSERVER	# Network File System server
621.1Sbsh
631.1Sbsh# Networking options
641.1Sbsh
651.1Sbsh#options 	GATEWAY		# packet forwarding
661.1Sbshoptions 	INET		# IP + ICMP + TCP + UDP
671.1Sbshoptions 	INET6		# IPV6
681.1Sbsh#options 	IPSEC		# IP security
691.1Sbsh#options 	IPSEC_DEBUG	# debug for IP security
701.1Sbsh#options 	MROUTING	# IP multicast routing
711.1Sbsh#options 	NETATALK	# AppleTalk networking
721.1Sbsh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
731.1Sbsh#options 	PPP_DEFLATE	# Deflate compression support for PPP
741.1Sbsh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
751.1Sbsh#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
761.1Sbsh
771.1Sbshoptions 	NFS_BOOT_BOOTP
781.1Sbshoptions 	NFS_BOOT_DHCP
791.1Sbsh#options 	NFS_BOOT_BOOTPARAM
801.1Sbsh
811.1Sbsh# Compatibility options
821.1Sbsh
831.72Smrginclude 	"conf/compat_netbsd16.config"
841.72Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
851.1Sbsh
861.1Sbsh# Shared memory options
871.1Sbsh
881.1Sbsh#options 	SYSVMSG		# System V-like message queues
891.1Sbsh#options 	SYSVSEM		# System V-like semaphores
901.1Sbsh#options 	SYSVSHM		# System V-like memory sharing
911.1Sbsh
921.1Sbsh# Device options
931.1Sbsh
941.81Srin#options 	MEMORY_DISK_HOOKS		# boottime setup of ramdisk
951.81Srin#options 	MEMORY_DISK_ROOT_SIZE=3072	# Size in blocks
961.1Sbsh#options 	MEMORY_DISK_DYNAMIC
971.81Srin#options 	MINIROOTSIZE=1000		# Size in blocks
981.81Srin#options 	MEMORY_DISK_IS_ROOT		# use memory disk as root
991.1Sbsh
1001.1Sbsh# Miscellaneous kernel options
1011.1Sbshoptions 	KTRACE		# system call tracing, a la ktrace(1)
1021.1Sbshoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1031.65Shtodd#options 	USBVERBOSE	# verbose USB device autoconfig messages
1041.1Sbshoptions 	SCSIVERBOSE	# Verbose SCSI errors
1051.1Sbsh#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1061.1Sbsh#options 	DDB_KEYCODE=0x40
1071.1Sbsh#options 	USERCONF	# userconf(4) support
1081.1Sbsh
1091.1Sbsh# Development and Debugging options
1101.1Sbsh
1111.60Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1121.1Sbsh#options 	DEBUG
1131.79Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1141.1Sbsh#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1151.1Sbsh#options 	DDB		# in-kernel debugger
1161.1Sbsh#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1171.1Sbsh#options 	KGDB
1181.1Sbsh#options  	DEBUG_KGDB
1191.52Smsaitohmakeoptions	DEBUG="-g"	# compile full symbol table
1201.52Smsaitoh#makeoptions	COPTS="-O2"
1211.63Sjoergmakeoptions	COPY_SYMTAB=1
1221.1Sbsh#options 	AUDIO_DEBUG=2
1231.1Sbsh
1241.1Sbshconfig		netbsd		root on ? type ?
1251.1Sbshconfig		netbsd-ne0	root on ne0 type nfs
1261.1Sbsh
1271.1Sbsh# The main bus device
1281.1Sbshmainbus0	at root
1291.1Sbsh
1301.1Sbsh# The boot cpu
1311.1Sbshcpu0		at mainbus?
1321.1Sbsh
1331.1Sbsh# integrated peripherals
1341.1Sbshpxaip0	at mainbus?
1351.1Sbsh
1361.1Sbshpxaintc0 at pxaip?	# interrupt controller
1371.1Sbshpxagpio0 at pxaip?	# GPIO
1381.1Sbsh
1391.1Sbsh# cotulla integrated 16550 UARTs
1401.1Sbshoptions COM_PXA2X0
1411.1Sbshcom0	at pxaip?  addr 0x40100000 intr 22      # Full Function UART
1421.1Sbshcom1	at pxaip?  addr 0x40200000 intr 21 	# BlueTootth UART
1431.1Sbsh#com2	at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
1441.1Sbshoptions FFUARTCONSOLE
1451.1Sbshoptions BTUARTCONSOLE
1461.1Sbshoptions KGDB_DEVNAME="\"ffuart\""   # ffuart or btuart
1471.1Sbshoptions KGDB_DEVRATE=115200
1481.1Sbsh
1491.1Sbsh#aupxa0	at pxaip?		# AC97 interface
1501.1Sbsh
1511.1Sbsh# Audio support
1521.1Sbsh#audio*	at audiobus?
1531.1Sbsh
1541.69Schristos#spkr*	at audio?		# PC speaker (synthesized)
1551.1Sbsh
1561.1Sbsh# FlashROM disk driver
1571.1Sbsh# frd*	at pxaip?
1581.1Sbsh
1591.1Sbsh# On-board device support
1601.1Sbshobio0          at pxaip? intr 8
1611.1Sbshne0            at obio? addr 0x0e000200 intr 5         # on-board Asix AX88796
1621.1Sbsh
1631.1Sbsh# LCD
1641.1Sbsh#device-major	lcd  		char 37
1651.1Sbshlcd0		at obio?
1661.1Sbshwsdisplay*	at lcd? console ?
1671.1Sbshoptions FONT_SONY8x16
1681.1Sbsh#options FONT_VT220L8x8
1691.1Sbshoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1701.51Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1711.1Sbshoptions G4250_LCD_TOSHIBA_LTM035
1721.1Sbsh#options G4250_LCD_NEC_NL3224BC35
1731.1Sbsh
1741.1Sbshkmkbd* at obio?
1751.49Sbshwskbd* at kmkbd? # mux 1 # console ?
1761.49Sbshoptions WSDISPLAY_COMPAT_RAWKBD
1771.1Sbsh
1781.39Sjakllsch# GB-225 option board
1791.1Sbshopio0 	at obio?  intr 2
1801.1Sbsh
1811.1Sbsh# USB host
1821.1Sbsh# slhci0	at opio0
1831.1Sbsh# options 	SLHCI_DEBUG
1841.1Sbsh
1851.1Sbsh# USB bus support
1861.1Sbsh#usb*   at slhci?
1871.1Sbsh
1881.1Sbsh# USB Hubs
1891.1Sbsh# uhub*  at usb?
1901.19Sdrochner# uhub*  at uhub? port ?
1911.1Sbsh
1921.1Sbsh# USB HID device
1931.1Sbsh# uhidev*	at uhub? port ? configuration ? interface ?
1941.1Sbsh
1951.1Sbsh# USB Mice
1961.1Sbsh# ums*	at uhidev? reportid ?
1971.1Sbsh# wsmouse* at ums? mux 0
1981.1Sbsh
1991.1Sbsh# USB Keyboards
2001.1Sbsh#ukbd*	at uhidev? reportid ?
2011.1Sbsh#wskbd*	at ukbd? console ? mux 1
2021.1Sbsh
2031.15Sskrll# USB serial adapter
2041.8Sskrll#ucycom*	at uhidev? reportid ?
2051.8Sskrll
2061.1Sbsh# USB Generic HID devices
2071.1Sbsh# uhid*	at uhidev? reportid ?
2081.1Sbsh
2091.1Sbsh# USB Printer
2101.1Sbsh#ulpt*	at uhub? port ? configuration ? interface ?
2111.1Sbsh
2121.1Sbsh# USB Modem
2131.1Sbsh#umodem*	at uhub? port ? configuration ?
2141.1Sbsh#ucom*	at umodem?
2151.1Sbsh
2161.33Splunky# Option N.V. Wireless WAN modems
2171.33Splunky#uhso*	at uhub? port ? configuration ?
2181.33Splunky
2191.1Sbsh# USB Mass Storage
2201.1Sbsh#umass*	at uhub? port ? configuration ? interface ?
2211.1Sbsh
2221.1Sbsh# USB audio
2231.1Sbsh#uaudio*	at uhub? port ? configuration ?
2241.1Sbsh
2251.1Sbsh# USB MIDI
2261.1Sbsh#umidi* at uhub? port ? configuration ?
2271.1Sbsh
2281.1Sbsh# USB IrDA
2291.1Sbsh# USB-IrDA bridge spec
2301.1Sbsh#uirda* at uhub? port ? configuration ? interface ?
2311.1Sbsh#irframe* at uirda?
2321.1Sbsh
2331.1Sbsh# SigmaTel STIr4200 USB/IrDA Bridge
2341.1Sbsh#ustir* at uhub? port ?
2351.1Sbsh#irframe* at ustir?
2361.1Sbsh
2371.1Sbsh# USB Ethernet adapters
2381.1Sbsh#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2391.1Sbsh#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
2401.1Sbsh#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
2411.1Sbsh#uax*	at uhub? port ?		# ASIX AX88172 based adapters
2421.1Sbsh#url*	at uhub? port ?		# Realtek RTL8150L based adapters
2431.1Sbsh
2441.1Sbsh# Prolific PL2301/PL2302 host-to-host adapter
2451.1Sbsh#upl*	at uhub? port ?
2461.1Sbsh
2471.1Sbsh# Serial adapters
2481.1Sbsh#ubsa*	at uhub? port ?		# Belkin serial adapter
2491.1Sbsh#ucom*	at ubsa? portno ?
2501.1Sbsh
2511.1Sbsh#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
2521.1Sbsh#ucom*	at uftdi? portno ?
2531.1Sbsh
2541.1Sbsh#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
2551.1Sbsh#ucom*	at umct? portno ?
2561.1Sbsh
2571.1Sbsh#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
2581.1Sbsh#ucom*	at uplcom? portno ?
2591.1Sbsh
2601.1Sbsh#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
2611.1Sbsh#ucom*	at uvscom? portno ?
2621.1Sbsh
2631.1Sbsh# USB Handspring Visor
2641.1Sbsh#uvisor*	at uhub? port ?
2651.1Sbsh#ucom*	at uvisor?
2661.1Sbsh
2671.2Sitohy# Kyocera AIR-EDGE PHONE
2681.2Sitohy#ukyopon* at uhub? port ?
2691.2Sitohy#ucom*	at ukyopon? portno ?
2701.2Sitohy
2711.1Sbsh# USB scanners that use SCSI emulation, e.g., HP5300
2721.1Sbsh#usscanner* at uhub? port ?
2731.1Sbsh
2741.1Sbsh# D-Link DSB-R100 USB radio
2751.1Sbsh#udsbr*	at uhub? port ?
2761.1Sbsh#radio*	at udsbr?
2771.1Sbsh
2781.1Sbsh# USB Generic driver
2791.1Sbsh# ugen*	at uhub? port ?
2801.1Sbsh
2811.1Sbsh# PCMCIA/CF card
2821.1Sbshopcic0	at opio?
2831.1Sbshpcmcia*	at opcic?
2841.1Sbsh
2851.1Sbsh# PCMCIA serial interfaces
2861.1Sbshcom*	at pcmcia? function ?		# Modems and serial cards
2871.1Sbsh
2881.1Sbshpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2891.1Sbshcom*	at pcmcom? slave ?		# ...and the slave devices
2901.1Sbsh
2911.1Sbsh# PCMCIA SCSI controllers
2921.1Sbshaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
2931.1Sbshesp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
2941.1Sbsh
2951.1Sbsh# SCSI bus support
2961.1Sbshscsibus* at scsi?
2971.1Sbsh
2981.1Sbsh# SCSI devices
2991.1Sbshsd*	at scsibus? target ? lun ?	# SCSI disk drives
3001.1Sbshst*	at scsibus? target ? lun ?	# SCSI tape drives
3011.1Sbshcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3021.1Sbshch*	at scsibus? target ? lun ?	# SCSI autochangers
3031.1Sbshses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
3041.1Sbshss*	at scsibus? target ? lun ?	# SCSI scanners
3051.1Sbshuk*	at scsibus? target ? lun ?	# SCSI unknown
3061.1Sbsh
3071.1Sbsh# PCMCIA IDE controllers
3081.1Sbshwdc*	at pcmcia? function ?
3091.1Sbshatabus*	at wdc? channel ?
3101.1Sbshwd*		at atabus? drive ? flags 0x0000
3111.1Sbsh
3121.1Sbsh# PCMCIA network interfaces
3131.1Sbshan*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
3141.1Sbshawi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
3151.1Sbshcnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
3161.1Sbshep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
3171.1Sbshmbe*	at pcmcia? function ?		# MB8696x based Ethernet
3181.1Sbshne*	at pcmcia? function ?		# NE2000-compatible Ethernet
3191.1Sbshray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
3201.1Sbshsm*	at pcmcia? function ?		# Megahertz Ethernet
3211.1Sbshwi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
3221.1Sbshxirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
3231.1Sbshcom*	at xirc?
3241.1Sbshxi*	at xirc?
3251.1Sbsh
3261.1Sbshmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
3271.1Sbshcom*	at mhzc?
3281.1Sbshsm*	at mhzc?
3291.1Sbsh
3301.34Sbsh# DMAC support
3311.34Sbshpxadmac0 at pxaip? addr 0x40000000 intr 25
3321.34Sbshoptions 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
3331.34Sbsh#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
3341.34Sbsh
3351.34Sbsh
3361.75Smsaitoh# MMC/SD controller in PXA255
3371.34Sbsh#  (attached on obio for card detect and write protect signal)
3381.34Sbshpxamci0 at obio?
3391.34Sbshsdmmc* at pxamci?
3401.34Sbsh#options 	PXAMCI_DEBUG
3411.34Sbsh#options 	SDMMC_DEBUG
3421.34Sbsh#options 	SDMMC_DUMP_CSD
3431.34Sbsh
3441.34Sbshld* at sdmmc?				# MMC/SD card
3451.34Sbsh
3461.1Sbsh# Pseudo-Devices
3471.1Sbsh
3481.1Sbsh# disk/mass storage pseudo-devices
3491.38Shannken#pseudo-device	md			# memory disk device (ramdisk)
3501.14Scube#pseudo-device	vnd			# disk-like interface to files
3511.35Spooka#pseudo-device	fss			# file system snapshot device
3521.32Spookapseudo-device	putter			# for puffs and pud
3531.1Sbsh
3541.1Sbsh# network pseudo-devices
3551.13Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3561.73Smaxvpseudo-device	npf			# NPF packet filter
3571.1Sbshpseudo-device	loop			# network loopback
3581.1Sbsh#pseudo-device	kttcp			# network loopback
3591.14Scube#pseudo-device	ppp			# Point-to-Point Protocol
3601.1Sbsh#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3611.14Scube#pseudo-device	sl			# Serial Line IP
3621.1Sbsh#pseudo-device	irframetty		# IrDA frame line discipline
3631.1Sbsh#pseudo-device	tap			# virtual Ethernet
3641.14Scube#pseudo-device	tun			# network tunneling over tty
3651.14Scube#pseudo-device	gre			# generic L3 over IP tunnel
3661.14Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3671.14Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3681.14Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3691.1Sbsh#pseudo-device	vlan			# IEEE 802.1q encapsulation
3701.1Sbsh#pseudo-device	bridge			# simple inter-network bridging
3711.83Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
3721.1Sbsh
3731.1Sbsh# miscellaneous pseudo-devices
3741.1Sbshpseudo-device	pty			# pseudo-terminals
3751.1Sbshpseudo-device	clockctl		# user control of clock subsystem
3761.1Sbsh
3771.1Sbsh# wscons pseudo-devices
3781.49Sbshpseudo-device	wsmux			# mouse & keyboard multiplexor
3791.1Sbsh#pseudo-device	wsfont
3801.1Sbshpseudo-device	ksyms			# /dev/ksyms
381