IQ31244 revision 1.76
11.76Sskrll#	$NetBSD: IQ31244,v 1.76 2020/04/18 11:00:38 skrll 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.1Sthorpejfile-system	PROCFS		# /proc
431.59Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
441.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
451.1Sthorpej#file-system	UNION		# union file system
461.33Schristosfile-system	PTYFS		# /dev/pts/N support
471.1Sthorpej
481.1Sthorpej# File system options
491.52Sbouyer#options 	QUOTA		# legacy UFS quotas
501.52Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
511.71Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
521.53Swiz#options 	FFS_EI		# FFS Endian Independent support
531.1Sthorpejoptions 	NFSSERVER
541.55Sdhollandoptions 	WAPBL		# File system journaling support
551.34Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
561.1Sthorpej
571.1Sthorpej# Networking options
581.1Sthorpej
591.1Sthorpej#options 	GATEWAY		# packet forwarding
601.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
611.1Sthorpejoptions 	INET6		# IPV6
621.1Sthorpej#options 	IPSEC		# IP security
631.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
641.1Sthorpej#options 	MROUTING	# IP multicast routing
651.16Smanu#options 	PIM		# Protocol Independent Multicast
661.1Sthorpej#options 	NETATALK	# AppleTalk networking
671.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
681.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
691.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
701.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
711.1Sthorpej
721.1Sthorpejoptions 	NFS_BOOT_BOOTP
731.1Sthorpejoptions 	NFS_BOOT_DHCP
741.1Sthorpej#options 	NFS_BOOT_BOOTPARAM
751.1Sthorpej
761.1Sthorpej# Compatibility options
771.1Sthorpej
781.73Smrginclude 	"conf/compat_netbsd14.config"
791.73Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
801.1Sthorpej
811.1Sthorpej# Shared memory options
821.1Sthorpej
831.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
841.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
851.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
861.1Sthorpej
871.1Sthorpej# Device options
881.1Sthorpej
891.1Sthorpej#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
901.1Sthorpej#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
911.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
921.1Sthorpej
931.1Sthorpej# Console options.  The default console is speed is 115200 baud.
941.21Srearnsha#options 	CONSPEED=9600		# Console speed
951.1Sthorpej
961.1Sthorpej# Miscellaneous kernel options
971.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
981.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics
991.1Sthorpej#options 	SCSIVERBOSE	# Verbose SCSI errors
1001.1Sthorpejoptions 	PCIVERBOSE	# Verbose PCI descriptions
1011.1Sthorpejoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1021.1Sthorpej#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1031.1Sthorpej#options 	DDB_KEYCODE=0x40
1041.1Sthorpejoptions 	USERCONF	# userconf(4) support
1051.1Sthorpej#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1061.15Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1071.1Sthorpej
1081.1Sthorpej# Development and Debugging options
1091.1Sthorpej
1101.65Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1111.1Sthorpej#options 	DEBUG
1121.76Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1131.1Sthorpej#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1141.1Sthorpejoptions 	DDB		# in-kernel debugger
1151.1Sthorpejoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1161.4Srearnsha#makeoptions	DEBUG="-g"	# compile full symbol table
1171.68Sjoergmakeoptions	COPY_SYMTAB=1
1181.1Sthorpej
1191.1Sthorpejconfig		netbsd		root on ? type ?
1201.1Sthorpejconfig		netbsd-wm0	root on wm0 type nfs
1211.24Srearnshaconfig		netbsd-wd0	root on wd0 type ffs
1221.1Sthorpej
1231.1Sthorpej# The main bus device
1241.1Sthorpejmainbus0	at root
1251.1Sthorpej
1261.14Swiz# The boot CPU
1271.1Sthorpejcpu0		at mainbus?
1281.1Sthorpej
1291.1Sthorpej# On-board device support
1301.1Sthorpejobio*		at mainbus?
1311.50Sjakllschcom0		at obio? addr 0xfe800000 xint 1	# on-board TI 16C550 UART
1321.50Sjakllsch# Default setting of J7 is open, which means that the interrupt is not
1331.27Srearnsha# connected
1341.27Srearnshawdc0		at obio? addr 0xfe8f0000 width 16 # on-board CF reader
1351.27Srearnsha#wdc0		at obio? addr 0xfe8f0000 width 16 xint 1 # on-board CF reader
1361.1Sthorpej
1371.1Sthorpej# i80321 I/O Processor peripheral support
1381.1Sthorpejiopxs*		at mainbus?
1391.1Sthorpej
1401.1Sthorpejiopaau*		at iopxs?		# Application Accelerator Unit
1411.6Sthorpejiopiic*		at iopxs?		# I2C Controller Unit(s)
1421.6Sthorpejiic0		at iopiic?
1431.6Sthorpejiic1		at iopiic?
1441.1Sthorpejiopwdog*	at iopxs?		# Watchdog timer
1451.1Sthorpejpci0		at iopxs? bus ?		# PCI/PCI-X support
1461.1Sthorpej
1471.25Srearnsha# IIC devices
1481.25Srearnsha
1491.25Srearnsha# Temperature sensors
1501.44Sbriggslmtemp0  	at iic0	addr 0x48	# LM75 temperature sensor
1511.44Sbriggslmtemp1  	at iic0	addr 0x49	# LM75 temperature sensor
1521.25Srearnsha
1531.25Srearnsha# RTC
1541.75Sthorpejstrtc0		at iic0 addr 0x68 flags 84 # M41ST84 RTC & watchdog
1551.25Srearnsha
1561.1Sthorpej# PCI-PCI bridges
1571.1Sthorpejppb*		at pci? dev ? function ?
1581.1Sthorpejpci*		at ppb? bus ?
1591.1Sthorpej
1601.1Sthorpej#
1611.1Sthorpej# Storage devices
1621.1Sthorpej#
1631.8Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1641.12Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1651.8Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1661.8Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1671.8Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1681.18Sbouyerpdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
1691.9Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1701.10Sthorpej
1711.10Sthorpejatabus* 	at ata? channel ?
1721.7Sbouyerwd*		at atabus? drive ? flags 0x0000
1731.1Sthorpej
1741.1Sthorpej#
1751.1Sthorpej# Networking devices
1761.1Sthorpej#
1771.1Sthorpej
1781.1Sthorpej# PCI network devices
1791.1Sthorpejfxp*		at pci? dev ? function ?	# Intel i8255x 10/100 Ethernet
1801.1Sthorpejwm*		at pci? dev ? function ?	# Intel i82544 Gig-E
1811.1Sthorpej
1821.1Sthorpej# MII/PHY support
1831.1Sthorpejinphy*		at mii? phy ?			# Intel i82555 10/100 PHYs
1841.1Sthorpejmakphy*		at mii? phy ?			# Marvell 88E1000 PHYs
1851.1Sthorpejukphy*		at mii? phy ?			# Generic IEEE 802.3u PHYs
1861.1Sthorpej
1871.1Sthorpej# Pseudo-Devices
1881.1Sthorpej
1891.1Sthorpej# disk/mass storage pseudo-devices
1901.49Shannken#pseudo-device	md			# memory disk device (ramdisk)
1911.36Scubepseudo-device	vnd			# disk-like interface to files
1921.48Spooka#pseudo-device	fss			# file system snapshot device
1931.59Smsaitoh#pseudo-device	putter			# for puffs and pud
1941.1Sthorpej
1951.1Sthorpej# network pseudo-devices
1961.35Srpaulopseudo-device	bpfilter		# Berkeley packet filter
1971.1Sthorpejpseudo-device	loop			# network loopback
1981.1Sthorpejpseudo-device	kttcp			# network loopback
1991.1Sthorpej
2001.1Sthorpej# miscellaneous pseudo-devices
2011.1Sthorpejpseudo-device	pty			# pseudo-terminals
2021.1Sthorpejpseudo-device	clockctl		# user control of clock subsystem
2031.2Sthorpejpseudo-device	ksyms			# /dev/ksyms
2041.1Sthorpej
2051.1Sthorpej# data mover pseudo-devices
2061.57Sskrll#pseudo-device	swdmover		# software dmover(9) back-end
2071.1Sthorpejpseudo-device	dmoverio		# /dev/dmover dmover(9) interface
208