ARMADILLO9 revision 1.45
11.45Smartin#	$NetBSD: ARMADILLO9,v 1.45 2014/08/03 08:53:56 martin Exp $
21.1Shamajima#
31.1Shamajima#	ARMADILLO9 -- Atmark Techno, Armadillo-9
41.1Shamajima#
51.1Shamajima
61.1Shamajimainclude	"arch/evbarm/conf/std.armadillo9"
71.1Shamajima
81.1Shamajima#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Shamajimaoptions		MSGBUFSIZE=65536
101.1Shamajima#options 	KSTACK_CHECK_MAGIC
111.1Shamajima
121.1Shamajima# estimated number of users
131.1Shamajimamaxusers	16
141.1Shamajima
151.1Shamajima# Standard system options
161.1Shamajimaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.1Shamajimaoptions 	NTP		# NTP phase/frequency locked loop
181.1Shamajima
191.1Shamajima# CPU options
201.1Shamajimaoptions 	CPU_ARM9	# Support the ARM9TDMI core
211.1Shamajima
221.1Shamajima# File systems
231.1Shamajimafile-system	FFS		# UFS
241.1Shamajima#file-system	LFS		# log-structured file system
251.1Shamajimafile-system	MFS		# memory file system
261.1Shamajimafile-system	NFS		# Network file system
271.1Shamajima#file-system 	ADOSFS		# AmigaDOS-compatible file system
281.1Shamajimafile-system 	EXT2FS		# second extended file system (linux)
291.1Shamajimafile-system	CD9660		# ISO 9660 + Rock Ridge file system
301.1Shamajimafile-system	MSDOSFS		# MS-DOS file system
311.1Shamajimafile-system	FDESC		# /dev/fd
321.1Shamajima#file-system	FILECORE	# Acorn filecore file system
331.1Shamajimafile-system	KERNFS		# /kern
341.1Shamajimafile-system	NULLFS		# loopback file system
351.1Shamajimafile-system	PROCFS		# /proc
361.37Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
371.1Shamajima#file-system	UMAPFS		# NULLFS + uid and gid remapping
381.1Shamajimafile-system	UNION		# union file system
391.1Shamajimafile-system	PTYFS		# /dev/pts/N support
401.1Shamajima
411.1Shamajima# File system options
421.29Sbouyer#options 	QUOTA		# legacy UFS quotas
431.29Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
441.30Swiz#options 	FFS_EI		# FFS Endian Independent support
451.32Sdhollandoptions 	WAPBL		# File system journaling support
461.1Shamajima#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
471.1Shamajimaoptions 	NFSSERVER	# Network File System server
481.6Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
491.1Shamajima#options	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
501.1Shamajima					# immutable) behave as system flags.
511.1Shamajima
521.1Shamajima# Networking options
531.1Shamajima#options 	GATEWAY		# packet forwarding
541.1Shamajimaoptions 	INET		# IP + ICMP + TCP + UDP
551.1Shamajimaoptions 	INET6		# IPV6
561.1Shamajima#options 	IPSEC		# IP security
571.1Shamajima#options 	IPSEC_DEBUG	# debug for IP security
581.1Shamajima#options 	MROUTING	# IP multicast routing
591.1Shamajima#options	PIM		# Protocol Independent Multicast
601.1Shamajima#options 	NETATALK	# AppleTalk networking
611.1Shamajima#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
621.1Shamajima#options 	PPP_DEFLATE	# Deflate compression support for PPP
631.1Shamajima#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
641.1Shamajima#options	IPFILTER_LOG	# ipmon(8) log support
651.15Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
661.1Shamajima#options	IPFILTER_DEFAULT_BLOCK	# block all packets by default
671.1Shamajima#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
681.1Shamajima
691.1Shamajimaoptions 	NFS_BOOT_BOOTP
701.1Shamajimaoptions 	NFS_BOOT_DHCP
711.1Shamajima#options 	NFS_BOOT_BOOTPARAM
721.1Shamajima
731.1Shamajima# Compatibility options
741.45Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
751.1Shamajima#options 	COMPAT_16	# NetBSD 1.6 compatibility.
761.1Shamajimaoptions 	COMPAT_20	# NetBSD 2.0
771.1Shamajimaoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
781.19Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
791.25Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
801.38Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
811.1Shamajimaoptions 	COMPAT_43	# 4.3BSD compatibility.
821.1Shamajima#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
831.1Shamajimaoptions		COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
841.1Shamajimaoptions 	COMPAT_LINUX	# binary compatibility with Linux
851.1Shamajimaoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
861.1Shamajima
871.1Shamajima# Shared memory options
881.1Shamajimaoptions 	SYSVMSG		# System V-like message queues
891.1Shamajimaoptions 	SYSVSEM		# System V-like semaphores
901.1Shamajimaoptions 	SYSVSHM		# System V-like memory sharing
911.1Shamajima
921.1Shamajima# Device options
931.1Shamajima
941.1Shamajima#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
951.1Shamajima#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
961.1Shamajima#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
971.1Shamajima
981.1Shamajima# Console options. The default console is speed is 115200 baud.
991.1Shamajimaoptions 	CONSPEED=115200		# Console speed
1001.9Shamajimaoptions 	CONUNIT=0		# Console port number
1011.1Shamajima
1021.1Shamajima# Miscellaneous kernel options
1031.1Shamajimaoptions 	KTRACE		# system call tracing, a la ktrace(1)
1041.1Shamajima#options 	IRQSTATS	# manage IRQ statistics
1051.1Shamajima#options 	KMEMSTATS	# kernel memory statistics
1061.1Shamajima#options 	SCSIVERBOSE	# Verbose SCSI errors
1071.1Shamajima#options 	PCIVERBOSE	# Verbose PCI descriptions
1081.1Shamajima#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1091.1Shamajima#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1101.1Shamajima#options 	DDB_KEYCODE=0x40
1111.1Shamajima#options 	USERCONF	# userconf(4) support
1121.1Shamajima#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1131.1Shamajima#options	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1141.1Shamajima
1151.1Shamajima# Development and Debugging options
1161.1Shamajima
1171.1Shamajima#options 	PERFCTRS	# performance counters
1181.44Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1191.1Shamajima#options 	DEBUG
1201.1Shamajima#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1211.1Shamajima#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1221.1Shamajimaoptions 	DDB		# in-kernel debugger
1231.1Shamajima#options	DDB_ONPANIC=1
1241.1Shamajimaoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1251.1Shamajima#makeoptions	DEBUG="-g"	# compile full symbol table
1261.36Smattoptions 	SYMTAB_SPACE=600000
1271.1Shamajima
1281.1Shamajima#options 	PMAP_INCLUDE_PTE_SYNC
1291.1Shamajima#options 	LOCKDEBUG
1301.1Shamajima
1311.2Shamajimaconfig		netbsd		root on ? type ?
1321.1Shamajima#config		netbsd		root on epe0 type nfs
1331.2Shamajima#config		netbsd		root on wd0 type ffs
1341.1Shamajima#config		netbsd		root on sd0 type ffs
1351.1Shamajima
1361.1Shamajima# The main bus device
1371.1Shamajimamainbus0	at root
1381.1Shamajima
1391.1Shamajima# The boot cpu
1401.1Shamajimacpu0		at mainbus?
1411.1Shamajima
1421.1Shamajima# Cirrus Logic EP93xx System-on-chip
1431.1Shamajimaepsoc0		at mainbus?
1441.1Shamajima
1451.1Shamajima# AHB Peripheral
1461.1Shamajima# On-chip 10/100 Ethernet
1471.1Shamajimaepe0		at epsoc? addr 0x80010000 size 0x10000 intr 39
1481.1Shamajima# On-chip USB host controller
1491.1Shamajimaohci0		at epsoc? addr 0x80020000 size 0x1000 intr 56
1501.1Shamajima# On-chip Raster (not yet)
1511.1Shamajima#vga0		at epsoc? addr 0x80030000 size 0x10000 intr ??
1521.1Shamajima# On-chip PCMCIA controller
1531.20Shamajimaeppcic0		at epsoc? addr 0x80080000 size 0x44
1541.1Shamajima# On-chip IDE (not yet)
1551.1Shamajima#wdc0		at epsoc? addr 0x800a0000 size 0x38 intr ??
1561.1Shamajima
1571.1Shamajima# APB Peripheral
1581.1Shamajima# On-chip timers
1591.1Shamajimaepclk0		at epsoc? addr 0x80810000 size 0x90 intr 4
1601.1Shamajima# GPIO
1611.1Shamajimaepgpio0		at epsoc? addr 0x80840000 size 0xcc intr 59
1621.1Shamajimagpio*		at epgpio?
1631.1Shamajima# On-chip serial UARTS
1641.1Shamajimaepcom0		at epsoc? addr 0x808c0000 size 0x1000 intr 52
1651.1Shamajimaepcom1		at epsoc? addr 0x808d0000 size 0x1000 intr 54
1661.1Shamajima#epcom2		at epsoc? addr 0x808e0000 size 0x1000 intr 55
1671.1Shamajima# RealTime Clock (no battery backup)
1681.1Shamajimaeprtc0		at epsoc? addr 0x80920000 size 0x10c intr 37
1691.1Shamajima# Watchdog Timer
1701.1Shamajimaepwdog0		at epsoc? addr 0x80940000 size 0x08 intr 36
1711.1Shamajima# LED
1721.1Shamajimaepled0		at epgpio0 port 4 bit1 0 bit2 1
1731.1Shamajima
1741.1Shamajima# I^2C Controller Unit
1751.1Shamajimaarmadillo9iic0	at epgpio0 port 1 bit1 4 bit2 5
1761.1Shamajimaiic*		at armadillo9iic?
1771.1Shamajimaseeprom0	at iic? addr 0x50 size 128
1781.1Shamajima#s3531rtc0	at iic? addr 0x30
1791.1Shamajima
1801.1Shamajima# PCMCIA bus support
1811.1Shamajimapcmcia*	at eppcic0 controller ? socket ?
1821.1Shamajima
1831.1Shamajima# PCMCIA network interfaces
1841.1Shamajimane*	at pcmcia? function ?		# NE2000-compatible Ethernet
1851.1Shamajimawi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
1861.1Shamajima
1871.1Shamajima# MII/PHY support
1881.1Shamajimalxtphy* at mii? phy ?			# Level One LXT-970 PHYs
1891.1Shamajima
1901.1Shamajima# PCMCIA serial interfaces
1911.1Shamajimacom*	at pcmcia? function ?		# Modems and serial cards
1921.1Shamajima
1931.1Shamajima# PCMCIA IDE disk
1941.1Shamajimawdc*	at pcmcia? function ?
1951.1Shamajima
1961.1Shamajima# USB Controller and Devices
1971.1Shamajima
1981.1Shamajima# USB bus support
1991.1Shamajimausb*	at ohci?
2001.1Shamajima
2011.1Shamajima# USB Hubs
2021.1Shamajimauhub*	at usb?
2031.16Sdrochneruhub*	at uhub? port ?
2041.1Shamajima
2051.1Shamajima# USB HID device
2061.1Shamajimauhidev*	at uhub? port ? configuration ? interface ?
2071.1Shamajima
2081.1Shamajima# USB Mice
2091.1Shamajima#ums*	at uhidev? reportid ?
2101.1Shamajima#wsmouse* at ums? mux 0
2111.1Shamajima
2121.1Shamajima# USB Keyboards
2131.1Shamajima#ukbd*	at uhidev? reportid ?
2141.1Shamajima#wskbd*	at ukbd? console ? mux 1
2151.1Shamajima
2161.1Shamajima# USB Generic HID devices
2171.1Shamajimauhid*	at uhidev? reportid ?
2181.1Shamajima
2191.1Shamajima# USB Mass Storage
2201.1Shamajimaumass*	at uhub? port ? configuration ? interface ?
2211.1Shamajimascsibus* at umass?
2221.1Shamajima
2231.1Shamajima# USB audio
2241.1Shamajima#uaudio*	at uhub? port ? configuration ?
2251.1Shamajima
2261.1Shamajima# USB MIDI
2271.1Shamajima#umidi*	at uhub? port ? configuration ?
2281.1Shamajima
2291.1Shamajima# USB Generic driver
2301.1Shamajimaugen*	at uhub? port ?
2311.1Shamajima
2321.1Shamajima# ATA (IDE) bus support
2331.1Shamajimaatabus*	at ata?
2341.1Shamajima
2351.1Shamajima# IDE drives
2361.1Shamajimawd*	at atabus? drive ? flags 0x0000
2371.1Shamajima
2381.1Shamajima# ATAPI bus support
2391.1Shamajimaatapibus* at atapi?
2401.1Shamajima
2411.1Shamajima# ATAPI devices
2421.1Shamajimacd*	at atapibus? drive ? flags 0x0ff0	# ATAPI CD-ROM drives
2431.1Shamajimasd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2441.1Shamajimauk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
2451.1Shamajima
2461.1Shamajima# SCSI devices
2471.1Shamajimasd*	at scsibus? target ? lun ?	# SCSI disk drives
2481.1Shamajimacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2491.1Shamajimauk*	at scsibus? target ? lun ?	# SCSI unknown
2501.1Shamajima
2511.1Shamajima# Audio support
2521.1Shamajima#audio*	at audiobus?
2531.1Shamajima
2541.1Shamajima# MIDI support
2551.1Shamajima#midi*	at midibus?
2561.1Shamajima
2571.1Shamajima# Pseudo-Devices
2581.1Shamajima
2591.1Shamajima# disk/mass storage pseudo-devices
2601.28Shannken#pseudo-device	md			# memory disk device (ramdisk)
2611.8Scubepseudo-device	vnd			# disk-like interface to files
2621.10Shamajimaoptions 	VND_COMPRESSION		# compressed vnd(4)
2631.27Spooka#pseudo-device	fss			# file system snapshot device
2641.37Smsaitoh#pseudo-device	putter			# for puffs and pud
2651.1Shamajima
2661.1Shamajima# network pseudo-devices
2671.7Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2681.1Shamajima#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2691.1Shamajimapseudo-device	loop			# network loopback
2701.8Scube#pseudo-device	ppp			# Point-to-Point Protocol
2711.1Shamajima#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2721.8Scube#pseudo-device	sl			# Serial Line IP
2731.8Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
2741.1Shamajima#pseudo-device	irframetty		# IrDA frame line discipline
2751.1Shamajima#pseudo-device	tap			# virtual Ethernet
2761.8Scube#pseudo-device	tun			# network tunneling over tty
2771.8Scube#pseudo-device	gre			# generic L3 over IP tunnel
2781.8Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2791.8Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2801.8Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2811.1Shamajima#pseudo-device	vlan			# IEEE 802.1q encapsulation
2821.1Shamajima#pseudo-device	bridge			# simple inter-network bridging
2831.1Shamajima#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2841.1Shamajima#pseudo-device	pf			# PF packet filter
2851.1Shamajima#pseudo-device	pflog			# PF log if
2861.1Shamajima#pseudo-device	kttcp			# network loopback
2871.1Shamajima
2881.1Shamajima# miscellaneous pseudo-devices
2891.1Shamajimapseudo-device	pty			# pseudo-terminals
2901.1Shamajima#options	RND_COM
2911.1Shamajimapseudo-device	clockctl		# user control of clock subsystem
2921.1Shamajimapseudo-device	ksyms			# /dev/ksyms
2931.4Sthorpej#pseudo-device	crypto			# /dev/crypto device
2941.5Sthorpej#pseudo-device	swcrypto		# software crypto implementation
2951.41Schristos#pseudo-device	sequencer		# MIDI sequencer
2961.1Shamajima
2971.1Shamajima#
2981.1Shamajima# wscons options
2991.1Shamajima#
3001.1Shamajima# builtin terminal emulations
3011.1Shamajima#options 	WSEMUL_SUN		# sun terminal emulation
3021.1Shamajimaoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
3031.1Shamajima# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
3041.1Shamajima#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
3051.1Shamajima#options 	WS_DEFAULT_FG=WSCOL_WHITE
3061.1Shamajima#options 	WS_DEFAULT_BG=WSCOL_BLACK
3071.1Shamajima#options 	WS_DEFAULT_COLATTR="(0)"
3081.1Shamajima#options 	WS_DEFAULT_MONOATTR="(0)"
3091.1Shamajima#options 	WS_KERNEL_FG=WSCOL_GREEN
3101.1Shamajima#options 	WS_KERNEL_BG=WSCOL_BLACK
3111.1Shamajima#options 	WS_KERNEL_COLATTR=""
3121.1Shamajima#options 	WS_KERNEL_MONOATTR=""
3131.1Shamajima# customization of console border color
3141.1Shamajima#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
3151.1Shamajima#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
3161.1Shamajima# compatibility to other console drivers
3171.1Shamajima#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
3181.1Shamajima#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
3191.35Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
3201.1Shamajima#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
3211.12Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
3221.1Shamajima#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
3231.1Shamajima# allocate a number of virtual screens at autoconfiguration time
3241.1Shamajima#options 	WSDISPLAY_DEFAULTSCREENS=4
3251.1Shamajima# use a large software cursor that doesn't blink
3261.1Shamajima#options 	PCDISPLAY_SOFTCURSOR
3271.1Shamajima# modify the screen type of the console; defaults to "80x25"
3281.1Shamajima#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
3291.1Shamajima# work around a hardware bug that loaded fonts don't work; found on ATI cards
3301.1Shamajima#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
3311.1Shamajima# console scrolling support.
3321.1Shamajima#options 	WSDISPLAY_SCROLLSUPPORT
3331.1Shamajima# enable VGA raster mode capable of displaying multilingual text on console
3341.1Shamajima#options 	VGA_RASTERCONSOLE
3351.1Shamajima
3361.1Shamajima# wscons pseudo-devices
3371.1Shamajima#pseudo-device	wsmux			# mouse & keyboard multiplexor
3381.1Shamajima#pseudo-device	wsfont
339