IQ31244 revision 1.25
11.25Srearnsha#	$NetBSD: IQ31244,v 1.25 2005/02/12 09:59:29 rearnsha Exp $
21.1Sthorpej#
31.1Sthorpej#	IQ31244 -- Intel IQ31244 Evaluation Board Kernel
41.1Sthorpej#
51.1Sthorpej
61.1Sthorpejinclude	"arch/evbarm/conf/std.iq31244"
71.1Sthorpej
81.1Sthorpej#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sthorpej
101.1Sthorpej# estimated number of users
111.1Sthorpej
121.1Sthorpejmaxusers	32
131.1Sthorpej
141.1Sthorpej# Standard system options
151.1Sthorpej
161.1Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.1Sthorpej#options 	NTP		# NTP phase/frequency locked loop
181.1Sthorpej
191.1Sthorpej# CPU options
201.1Sthorpej
211.1Sthorpej# For XScale systems
221.1Sthorpejoptions 	CPU_XSCALE_80321	# Support the XScale core
231.3Sthorpejmakeoptions	CPUFLAGS="-mcpu=xscale"
241.1Sthorpej
251.1Sthorpej# Architecture options
261.1Sthorpejoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
271.1Sthorpej#options 	HZ=512
281.1Sthorpej
291.1Sthorpej# File systems
301.1Sthorpej
311.1Sthorpejfile-system	FFS		# UFS
321.1Sthorpejfile-system	LFS		# log-structured file system
331.1Sthorpejfile-system	MFS		# memory file system
341.1Sthorpejfile-system	NFS		# Network file system
351.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
361.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
371.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
381.1Sthorpej#file-system	MSDOSFS		# MS-DOS file system
391.1Sthorpejfile-system	FDESC		# /dev/fd
401.1Sthorpejfile-system	KERNFS		# /kern
411.1Sthorpejfile-system	NULLFS		# loopback file system
421.1Sthorpej#file-system	PORTAL		# portal filesystem (still experimental)
431.1Sthorpejfile-system	PROCFS		# /proc
441.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
451.1Sthorpej#file-system	UNION		# union file system
461.1Sthorpej
471.1Sthorpej# File system options
481.1Sthorpej#options 	QUOTA		# UFS quotas
491.1Sthorpej#options 	FFS_EI		# FFS Endian Independant support
501.1Sthorpejoptions 	NFSSERVER
511.1Sthorpejoptions 	SOFTDEP
521.20Sdsloptions 	FFS_SNAPSHOT	# ffs snapshots
531.1Sthorpej
541.1Sthorpej# Networking options
551.1Sthorpej
561.1Sthorpej#options 	GATEWAY		# packet forwarding
571.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
581.1Sthorpejoptions 	INET6		# IPV6
591.1Sthorpej#options 	IPSEC		# IP security
601.1Sthorpej#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
611.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
621.1Sthorpej#options 	MROUTING	# IP multicast routing
631.16Smanu#options 	PIM		# Protocol Independent Multicast
641.1Sthorpej#options 	NS		# XNS
651.1Sthorpej#options 	NSIP		# XNS tunneling over IP
661.1Sthorpej#options 	ISO,TPIP	# OSI
671.1Sthorpej#options 	EON		# OSI tunneling over IP
681.1Sthorpej#options 	CCITT,LLC,HDLC	# X.25
691.1Sthorpej#options 	NETATALK	# AppleTalk networking
701.1Sthorpej#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
711.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
721.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
731.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
741.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
751.1Sthorpej
761.1Sthorpejoptions 	NFS_BOOT_BOOTP
771.1Sthorpejoptions 	NFS_BOOT_DHCP
781.1Sthorpej#options 	NFS_BOOT_BOOTPARAM
791.1Sthorpej
801.1Sthorpej# Compatibility options
811.1Sthorpej
821.1Sthorpej#options 	COMPAT_43	# 4.3BSD compatibility.
831.5Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
841.1Sthorpejoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
851.1Sthorpejoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
861.1Sthorpej#options 	COMPAT_13	# NetBSD 1.3 compatibility.
871.1Sthorpej#options 	COMPAT_12	# NetBSD 1.2 compatibility.
881.1Sthorpej#options 	COMPAT_11	# NetBSD 1.1 compatibility.
891.1Sthorpej#options 	COMPAT_10	# NetBSD 1.0 compatibility.
901.1Sthorpej#options 	COMPAT_09	# NetBSD 0.9 compatibility.
911.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
921.17Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
931.1Sthorpej
941.1Sthorpej# Shared memory options
951.1Sthorpej
961.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
971.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
981.1Sthorpej#options 	SEMMNI=10	# number of semaphore identifiers
991.1Sthorpej#options 	SEMMNS=60	# number of semaphores in system
1001.1Sthorpej#options 	SEMUME=10	# max number of undo entries per process
1011.1Sthorpej#options 	SEMMNU=30	# number of undo structures in system
1021.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
1031.1Sthorpejoptions 	SHMMAXPGS=1024	# 1024 pages is the default
1041.1Sthorpej
1051.1Sthorpej# Device options
1061.1Sthorpej
1071.1Sthorpej#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1081.1Sthorpej#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1091.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1101.1Sthorpej
1111.1Sthorpej# Console options.  The default console is speed is 115200 baud.
1121.21Srearnsha#options 	CONSPEED=9600		# Console speed
1131.1Sthorpej
1141.1Sthorpej# Miscellaneous kernel options
1151.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
1161.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics
1171.1Sthorpej#options 	LKM		# loadable kernel modules
1181.1Sthorpej#options 	KMEMSTATS	# kernel memory statistics
1191.1Sthorpej#options 	SCSIVERBOSE	# Verbose SCSI errors
1201.1Sthorpejoptions 	PCIVERBOSE	# Verbose PCI descriptions
1211.1Sthorpejoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1221.1Sthorpej#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1231.1Sthorpej#options 	DDB_KEYCODE=0x40
1241.1Sthorpejoptions 	USERCONF	# userconf(4) support
1251.1Sthorpej#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1261.15Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1271.1Sthorpej
1281.1Sthorpej# Development and Debugging options
1291.1Sthorpej
1301.1Sthorpejoptions 	PERFCTRS	# performance counters
1311.1Sthorpejoptions 	DIAGNOSTIC	# internally consistency checks
1321.1Sthorpej#options 	DEBUG
1331.1Sthorpej#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1341.1Sthorpej#options 	IPKDB		# remote kernel debugging
1351.1Sthorpej#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1361.1Sthorpejoptions 	DDB		# in-kernel debugger
1371.1Sthorpejoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1381.4Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1391.22Srearnshaoptions 	SYMTAB_SPACE=360000
1401.1Sthorpej
1411.1Sthorpejconfig		netbsd		root on ? type ?
1421.1Sthorpejconfig		netbsd-wm0	root on wm0 type nfs
1431.24Srearnshaconfig		netbsd-wd0	root on wd0 type ffs
1441.1Sthorpej
1451.1Sthorpej# The main bus device
1461.1Sthorpejmainbus0	at root
1471.1Sthorpej
1481.14Swiz# The boot CPU
1491.1Sthorpejcpu0		at mainbus?
1501.1Sthorpej
1511.1Sthorpej# On-board device support
1521.1Sthorpejobio*		at mainbus?
1531.1Sthorpejcom0		at obio? addr 0xfe800000 xint 1	# on-board TI 165C50 UART
1541.1Sthorpej
1551.1Sthorpej# i80321 I/O Processor peripheral support
1561.1Sthorpejiopxs*		at mainbus?
1571.1Sthorpej
1581.1Sthorpejiopaau*		at iopxs?		# Application Accelerator Unit
1591.6Sthorpejiopiic*		at iopxs?		# I2C Controller Unit(s)
1601.6Sthorpejiic0		at iopiic?
1611.6Sthorpejiic1		at iopiic?
1621.1Sthorpejiopwdog*	at iopxs?		# Watchdog timer
1631.1Sthorpejpci0		at iopxs? bus ?		# PCI/PCI-X support
1641.1Sthorpej
1651.25Srearnsha# IIC devices
1661.25Srearnsha# XXX These don't seem to work yet
1671.25Srearnsha
1681.25Srearnsha# Temperature sensors
1691.25Srearnsha#lmtemp0  	at iic0	addr 0x48	# LM75 temperature sensor
1701.25Srearnsha#lmtemp1  	at iic0	addr 0x49	# LM75 temperature sensor
1711.25Srearnsha
1721.25Srearnsha# RTC
1731.25Srearnsha#strtc0		at iic0 addr 0x68	# M41ST84 RTC
1741.25Srearnsha
1751.1Sthorpej# PCI-PCI bridges
1761.1Sthorpejppb*		at pci? dev ? function ?
1771.1Sthorpejpci*		at ppb? bus ?
1781.1Sthorpej
1791.1Sthorpej#
1801.1Sthorpej# Storage devices
1811.1Sthorpej#
1821.8Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1831.12Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1841.8Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1851.8Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1861.8Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1871.18Sbouyerpdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
1881.9Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1891.10Sthorpej
1901.10Sthorpejatabus* 	at ata? channel ?
1911.7Sbouyerwd*		at atabus? drive ? flags 0x0000
1921.1Sthorpej
1931.1Sthorpej#
1941.1Sthorpej# Networking devices
1951.1Sthorpej#
1961.1Sthorpej
1971.1Sthorpej# PCI network devices
1981.1Sthorpejfxp*		at pci? dev ? function ?	# Intel i8255x 10/100 Ethernet
1991.1Sthorpejwm*		at pci? dev ? function ?	# Intel i82544 Gig-E
2001.1Sthorpej
2011.1Sthorpej# MII/PHY support
2021.1Sthorpejinphy*		at mii? phy ?			# Intel i82555 10/100 PHYs
2031.1Sthorpejmakphy*		at mii? phy ?			# Marvell 88E1000 PHYs
2041.1Sthorpejukphy*		at mii? phy ?			# Generic IEEE 802.3u PHYs
2051.1Sthorpej
2061.1Sthorpej# Pseudo-Devices
2071.1Sthorpej
2081.1Sthorpej# disk/mass storage pseudo-devices
2091.1Sthorpej#pseudo-device	md		1	# memory disk device (ramdisk)
2101.1Sthorpejpseudo-device	vnd		4	# disk-like interface to files
2111.19Shannken#pseudo-device	fss		4	# file system snapshot device
2121.1Sthorpej
2131.1Sthorpej# network pseudo-devices
2141.1Sthorpejpseudo-device	bpfilter	4	# Berkeley packet filter
2151.1Sthorpejpseudo-device	loop			# network loopback
2161.1Sthorpejpseudo-device	kttcp			# network loopback
2171.1Sthorpej
2181.1Sthorpej# miscellaneous pseudo-devices
2191.1Sthorpejpseudo-device	pty			# pseudo-terminals
2201.1Sthorpejpseudo-device	rnd			# /dev/random and in-kernel generator
2211.1Sthorpejpseudo-device	clockctl		# user control of clock subsystem
2221.2Sthorpejpseudo-device	ksyms			# /dev/ksyms
2231.1Sthorpej
2241.1Sthorpej# data mover pseudo-devices
2251.1Sthorpej#pseudo-device	swdmover		# softare dmover(9) back-end
2261.1Sthorpejpseudo-device	dmoverio		# /dev/dmover dmover(9) interface
227