TWINTAIL revision 1.14
11.14Scube#	$NetBSD: TWINTAIL,v 1.14 2006/02/05 05:01:49 cube 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.1Sbshfile-system	PORTAL		# portal filesystem (still experimental)
471.1Sbshfile-system	PROCFS		# /proc
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.1Sbsh#options 	QUOTA		# UFS quotas
541.1Sbsh#options 	FFS_EI		# FFS Endian Independant support
551.1Sbsh#options 	NFSSERVER
561.1Sbshoptions 	SOFTDEP
571.12Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
581.1Sbsh
591.1Sbsh# Networking options
601.1Sbsh
611.1Sbsh#options 	GATEWAY		# packet forwarding
621.1Sbshoptions 	INET		# IP + ICMP + TCP + UDP
631.1Sbshoptions 	INET6		# IPV6
641.1Sbsh#options 	IPSEC		# IP security
651.1Sbsh#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
661.5Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
671.1Sbsh#options 	IPSEC_DEBUG	# debug for IP security
681.1Sbsh#options 	MROUTING	# IP multicast routing
691.1Sbsh#options 	NS		# XNS
701.1Sbsh#options 	NSIP		# XNS tunneling over IP
711.1Sbsh#options 	ISO,TPIP	# OSI
721.1Sbsh#options 	EON		# OSI tunneling over IP
731.1Sbsh#options 	CCITT,LLC,HDLC	# X.25
741.1Sbsh#options 	NETATALK	# AppleTalk networking
751.1Sbsh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
761.1Sbsh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
771.1Sbsh#options 	PPP_DEFLATE	# Deflate compression support for PPP
781.1Sbsh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
791.1Sbsh#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
801.1Sbsh
811.1Sbshoptions 	NFS_BOOT_BOOTP
821.1Sbshoptions 	NFS_BOOT_DHCP
831.1Sbsh#options 	NFS_BOOT_BOOTPARAM
841.1Sbsh
851.1Sbsh# Compatibility options
861.1Sbsh
871.1Sbsh#options 	COMPAT_43	# 4.3BSD compatibility.
881.9Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
891.1Sbshoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
901.1Sbshoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
911.1Sbsh#options 	COMPAT_15	# NetBSD 1.5 compatibility.
921.1Sbsh#options 	COMPAT_14	# NetBSD 1.4 compatibility.
931.1Sbsh#options 	COMPAT_13	# NetBSD 1.3 compatibility.
941.1Sbsh#options 	COMPAT_12	# NetBSD 1.2 compatibility.
951.1Sbsh#options 	COMPAT_11	# NetBSD 1.1 compatibility.
961.1Sbsh#options 	COMPAT_10	# NetBSD 1.0 compatibility.
971.1Sbsh#options 	COMPAT_09	# NetBSD 0.9 compatibility.
981.1Sbsh#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
991.1Sbsh
1001.1Sbsh# Shared memory options
1011.1Sbsh
1021.1Sbsh#options 	SYSVMSG		# System V-like message queues
1031.1Sbsh#options 	SYSVSEM		# System V-like semaphores
1041.1Sbsh#options 	SEMMNI=10	# number of semaphore identifiers
1051.1Sbsh#options 	SEMMNS=60	# number of semaphores in system
1061.1Sbsh#options 	SEMUME=10	# max number of undo entries per process
1071.1Sbsh#options 	SEMMNU=30	# number of undo structures in system
1081.1Sbsh#options 	SYSVSHM		# System V-like memory sharing
1091.1Sbsh#options 	SHMMAXPGS=1024	# 1024 pages is the default
1101.1Sbsh
1111.1Sbsh# Device options
1121.1Sbsh
1131.1Sbsh#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1141.1Sbsh#options 	MEMORY_DISK_SIZE=3072	# Size in blocks
1151.1Sbsh#options 	MEMORY_DISK_DYNAMIC
1161.1Sbsh#options 	MINIROOTSIZE=1000	# Size in blocks
1171.1Sbsh#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1181.1Sbsh
1191.1Sbsh# Miscellaneous kernel options
1201.1Sbshoptions 	KTRACE		# system call tracing, a la ktrace(1)
1211.1Sbsh#options 	LKM		# loadable kernel modules
1221.1Sbsh#options 	KMEMSTATS	# kernel memory statistics
1231.1Sbshoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1241.1Sbshoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1251.1Sbshoptions 	SCSIVERBOSE	# Verbose SCSI errors
1261.1Sbsh#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1271.1Sbsh#options 	DDB_KEYCODE=0x40
1281.1Sbsh#options 	USERCONF	# userconf(4) support
1291.1Sbsh
1301.1Sbsh# Development and Debugging options
1311.1Sbsh
1321.1Sbshoptions 	DIAGNOSTIC	# internally consistency checks
1331.1Sbsh#options 	DEBUG
1341.1Sbsh#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1351.1Sbsh#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1361.1Sbsh#options 	DDB		# in-kernel debugger
1371.1Sbsh#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1381.1Sbsh#options 	KGDB
1391.1Sbsh#options 	IPKDB
1401.1Sbsh#options 	IPKDB_NE
1411.1Sbsh#options 	IPKDBKEY="\"Debug_it_over_network\""
1421.1Sbsh#options  	DEBUG_KGDB
1431.4Sbshmakeoptions	DEBUG="-g -O2"	# compile full symbol table
1441.1Sbshoptions 	SYMTAB_SPACE=200000
1451.1Sbsh#options 	AUDIO_DEBUG=2
1461.1Sbsh
1471.1Sbshconfig		netbsd		root on ? type ?
1481.1Sbshconfig		netbsd-ne0	root on ne0 type nfs
1491.1Sbsh
1501.1Sbsh# The main bus device
1511.1Sbshmainbus0	at root
1521.1Sbsh
1531.1Sbsh# The boot cpu
1541.1Sbshcpu0		at mainbus?
1551.1Sbsh
1561.1Sbsh# integrated peripherals
1571.1Sbshpxaip0	at mainbus?
1581.1Sbsh
1591.1Sbshpxaintc0 at pxaip?	# interrupt controller
1601.1Sbshpxagpio0 at pxaip?	# GPIO
1611.1Sbsh
1621.1Sbsh# cotulla integrated 16550 UARTs
1631.1Sbshoptions COM_PXA2X0
1641.1Sbshcom0	at pxaip?  addr 0x40100000 intr 22      # Full Function UART
1651.1Sbshcom1	at pxaip?  addr 0x40200000 intr 21 	# BlueTootth UART
1661.1Sbsh#com2	at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
1671.1Sbshoptions FFUARTCONSOLE
1681.1Sbshoptions BTUARTCONSOLE
1691.1Sbshoptions KGDB_DEVNAME="\"ffuart\""   # ffuart or btuart
1701.1Sbshoptions KGDB_DEVRATE=115200
1711.1Sbsh
1721.1Sbsh#aupxa0	at pxaip?		# AC97 interface
1731.1Sbsh
1741.1Sbsh# Audio support
1751.1Sbsh#audio*	at audiobus?
1761.1Sbsh
1771.1Sbsh
1781.1Sbsh# FlashROM disk driver
1791.1Sbsh# frd*	at pxaip?
1801.1Sbsh
1811.1Sbsh# On-board device support
1821.1Sbshobio0          at pxaip? intr 8
1831.1Sbshne0            at obio? addr 0x0e000200 intr 5         # on-board Asix AX88796
1841.1Sbsh
1851.1Sbsh# LCD
1861.1Sbsh#device-major	lcd  		char 37
1871.1Sbshlcd0		at obio?
1881.1Sbshwsdisplay*	at lcd? console ?
1891.1Sbshoptions FONT_SONY8x16
1901.1Sbsh#options FONT_VT220L8x8
1911.1Sbshoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1921.1Sbshoptions G4250_LCD_TOSHIBA_LTM035
1931.1Sbsh#options G4250_LCD_NEC_NL3224BC35
1941.1Sbsh
1951.1Sbshkmkbd* at obio?
1961.1Sbshwskbd* at kmkbd? # console ?
1971.1Sbsh
1981.1Sbsh# GB-225 option board 
1991.1Sbshopio0 	at obio?  intr 2
2001.1Sbsh
2011.1Sbsh# USB host
2021.1Sbsh# slhci0	at opio0
2031.1Sbsh# options 	SLHCI_DEBUG
2041.1Sbsh
2051.1Sbsh# USB bus support
2061.1Sbsh#usb*   at slhci?
2071.1Sbsh
2081.1Sbsh# USB Hubs
2091.1Sbsh# uhub*  at usb?
2101.1Sbsh# uhub*  at uhub? port ? configuration ? interface ?
2111.1Sbsh
2121.1Sbsh# USB HID device
2131.1Sbsh# uhidev*	at uhub? port ? configuration ? interface ?
2141.1Sbsh
2151.1Sbsh# USB Mice
2161.1Sbsh# ums*	at uhidev? reportid ?
2171.1Sbsh# wsmouse* at ums? mux 0
2181.1Sbsh
2191.1Sbsh# USB Keyboards
2201.1Sbsh#ukbd*	at uhidev? reportid ?
2211.1Sbsh#wskbd*	at ukbd? console ? mux 1
2221.1Sbsh
2231.8Sskrll# USB serial adpater
2241.8Sskrll#ucycom*	at uhidev? reportid ?
2251.8Sskrll
2261.1Sbsh# USB Generic HID devices
2271.1Sbsh# uhid*	at uhidev? reportid ?
2281.1Sbsh
2291.1Sbsh# USB Printer
2301.1Sbsh#ulpt*	at uhub? port ? configuration ? interface ?
2311.1Sbsh
2321.1Sbsh# USB Modem
2331.1Sbsh#umodem*	at uhub? port ? configuration ?
2341.1Sbsh#ucom*	at umodem?
2351.1Sbsh
2361.1Sbsh# USB Mass Storage
2371.1Sbsh#umass*	at uhub? port ? configuration ? interface ?
2381.1Sbsh#wd* at umass?
2391.1Sbsh
2401.1Sbsh# USB audio
2411.1Sbsh#uaudio*	at uhub? port ? configuration ?
2421.1Sbsh
2431.1Sbsh# USB MIDI
2441.1Sbsh#umidi* at uhub? port ? configuration ?
2451.1Sbsh
2461.1Sbsh# USB IrDA
2471.1Sbsh# USB-IrDA bridge spec
2481.1Sbsh#uirda* at uhub? port ? configuration ? interface ?
2491.1Sbsh#irframe* at uirda?
2501.1Sbsh
2511.1Sbsh# SigmaTel STIr4200 USB/IrDA Bridge
2521.1Sbsh#ustir* at uhub? port ?
2531.1Sbsh#irframe* at ustir?
2541.1Sbsh
2551.1Sbsh# USB Ethernet adapters
2561.1Sbsh#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2571.1Sbsh#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
2581.1Sbsh#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
2591.1Sbsh#uax*	at uhub? port ?		# ASIX AX88172 based adapters
2601.1Sbsh#url*	at uhub? port ?		# Realtek RTL8150L based adapters
2611.1Sbsh
2621.1Sbsh# Prolific PL2301/PL2302 host-to-host adapter
2631.1Sbsh#upl*	at uhub? port ?
2641.1Sbsh
2651.1Sbsh# Serial adapters
2661.1Sbsh#ubsa*	at uhub? port ?		# Belkin serial adapter
2671.1Sbsh#ucom*	at ubsa? portno ?
2681.1Sbsh
2691.1Sbsh#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
2701.1Sbsh#ucom*	at uftdi? portno ?
2711.1Sbsh
2721.1Sbsh#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
2731.1Sbsh#ucom*	at umct? portno ?
2741.1Sbsh
2751.1Sbsh#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
2761.1Sbsh#ucom*	at uplcom? portno ?
2771.1Sbsh
2781.1Sbsh#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
2791.1Sbsh#ucom*	at uvscom? portno ?
2801.1Sbsh
2811.1Sbsh# Diamond Multimedia Rio 500
2821.1Sbsh#urio*	at uhub? port ?
2831.1Sbsh
2841.1Sbsh# USB Handspring Visor
2851.1Sbsh#uvisor*	at uhub? port ?
2861.1Sbsh#ucom*	at uvisor?
2871.1Sbsh
2881.2Sitohy# Kyocera AIR-EDGE PHONE
2891.2Sitohy#ukyopon* at uhub? port ?
2901.2Sitohy#ucom*	at ukyopon? portno ?
2911.2Sitohy
2921.1Sbsh# USB scanners
2931.1Sbsh#uscanner* at uhub? port ?
2941.1Sbsh
2951.1Sbsh# USB scanners that use SCSI emulation, e.g., HP5300
2961.1Sbsh#usscanner* at uhub? port ?
2971.1Sbsh
2981.1Sbsh# Y@P firmware loader
2991.1Sbsh#uyap* at uhub? port ?
3001.1Sbsh
3011.1Sbsh# D-Link DSB-R100 USB radio
3021.1Sbsh#udsbr*	at uhub? port ?
3031.1Sbsh#radio*	at udsbr?
3041.1Sbsh
3051.1Sbsh# USB Generic driver
3061.1Sbsh# ugen*	at uhub? port ?
3071.1Sbsh
3081.1Sbsh# PCMCIA/CF card
3091.1Sbshopcic0	at opio?
3101.1Sbshpcmcia*	at opcic?
3111.1Sbsh
3121.1Sbsh# PCMCIA serial interfaces
3131.1Sbshcom*	at pcmcia? function ?		# Modems and serial cards
3141.1Sbsh
3151.1Sbshpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
3161.1Sbshcom*	at pcmcom? slave ?		# ...and the slave devices
3171.1Sbsh
3181.1Sbsh# PCMCIA SCSI controllers
3191.1Sbshaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3201.1Sbshesp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
3211.1Sbsh
3221.1Sbsh# SCSI bus support
3231.1Sbshscsibus* at scsi?
3241.1Sbsh
3251.1Sbsh# SCSI devices
3261.1Sbshsd*	at scsibus? target ? lun ?	# SCSI disk drives
3271.1Sbshst*	at scsibus? target ? lun ?	# SCSI tape drives
3281.1Sbshcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3291.1Sbshch*	at scsibus? target ? lun ?	# SCSI autochangers
3301.1Sbshses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
3311.1Sbshss*	at scsibus? target ? lun ?	# SCSI scanners
3321.1Sbshuk*	at scsibus? target ? lun ?	# SCSI unknown
3331.1Sbsh
3341.1Sbsh# PCMCIA IDE controllers
3351.1Sbshwdc*	at pcmcia? function ?
3361.1Sbshatabus*	at wdc? channel ?
3371.1Sbshwd*		at atabus? drive ? flags 0x0000
3381.1Sbsh
3391.1Sbsh# PCMCIA audio devices
3401.1Sbsh#esl*	at pcmcia? function ?			# ESS 1688 AudioDrive
3411.1Sbsh
3421.1Sbsh# PCMCIA network interfaces
3431.1Sbshan*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
3441.1Sbshawi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
3451.1Sbshcnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
3461.1Sbshep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
3471.1Sbshmbe*	at pcmcia? function ?		# MB8696x based Ethernet
3481.1Sbshne*	at pcmcia? function ?		# NE2000-compatible Ethernet
3491.1Sbshray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
3501.1Sbshsm*	at pcmcia? function ?		# Megahertz Ethernet
3511.1Sbsh# tr at pcmcia has problems with Cardbus bridges
3521.1Sbshtr*	at pcmcia? function ?		# TROPIC based Token-Ring
3531.1Sbshwi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
3541.1Sbshxirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
3551.1Sbshcom*	at xirc?
3561.1Sbshxi*	at xirc?
3571.1Sbsh
3581.1Sbshmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
3591.1Sbshcom*	at mhzc?
3601.1Sbshsm*	at mhzc?
3611.1Sbsh
3621.1Sbsh# Pseudo-Devices
3631.1Sbsh
3641.1Sbsh# disk/mass storage pseudo-devices
3651.1Sbsh#pseudo-device	md		1	# memory disk device (ramdisk)
3661.14Scube#pseudo-device	vnd			# disk-like interface to files
3671.1Sbsh#pseudo-device	fss		4	# file system snapshot device
3681.1Sbsh
3691.1Sbsh# network pseudo-devices
3701.13Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3711.1Sbshpseudo-device	ipfilter		# IP filter (firewall) and NAT
3721.1Sbshpseudo-device	loop			# network loopback
3731.1Sbsh#pseudo-device	kttcp			# network loopback
3741.14Scube#pseudo-device	ppp			# Point-to-Point Protocol
3751.1Sbsh#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3761.14Scube#pseudo-device	sl			# Serial Line IP
3771.14Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
3781.1Sbsh#pseudo-device	irframetty		# IrDA frame line discipline
3791.1Sbsh#pseudo-device	tap			# virtual Ethernet
3801.14Scube#pseudo-device	tun			# network tunneling over tty
3811.14Scube#pseudo-device	gre			# generic L3 over IP tunnel
3821.14Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3831.14Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3841.14Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3851.1Sbsh#pseudo-device	vlan			# IEEE 802.1q encapsulation
3861.1Sbsh#pseudo-device	bridge			# simple inter-network bridging
3871.1Sbsh#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3881.1Sbsh#pseudo-device	pf			# PF packet filter
3891.1Sbsh#pseudo-device	pflog			# PF log if
3901.1Sbsh
3911.1Sbsh# miscellaneous pseudo-devices
3921.1Sbshpseudo-device	pty			# pseudo-terminals
3931.1Sbshpseudo-device	rnd			# /dev/random and in-kernel generator
3941.1Sbshpseudo-device	clockctl		# user control of clock subsystem
3951.1Sbsh
3961.1Sbsh# wscons pseudo-devices
3971.1Sbsh#pseudo-device	wsmux			# mouse & keyboard multiplexor
3981.1Sbsh#pseudo-device	wsfont
3991.1Sbshpseudo-device	ksyms			# /dev/ksyms
400