IMX31LITE revision 1.20
11.20Sapb#	$NetBSD: IMX31LITE,v 1.20 2012/10/17 14:48:10 apb Exp $
21.2Smatt#
31.2Smatt#	IMX31LITE -- Freescale IMX31LITE Evaluation Board Kernel
41.2Smatt#
51.2Smatt
61.2Smattinclude	"arch/evbarm/conf/std.imx31"
71.2Smatt
81.2Smatt#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.2Smatt
101.2Smatt# estimated number of users
111.2Smatt
121.2Smattmaxusers	32
131.2Smatt
141.2Smatt# Standard system options
151.2Smatt
161.2Smattoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.2Smatt#options 	NTP		# NTP phase/frequency locked loop
181.2Smatt
191.2Smatt# CPU options
201.2Smatt
211.2Smatt# For StrongARM systems
221.2Smattoptions 	CPU_ARM1136	# Support the SA110 core
231.2Smatt
241.2Smatt# Architecture options
251.10Sbshoptions        IMX31_IPGCLK_FREQ=66000000	# Fixme. bogus value
261.2Smatt
271.2Smatt# File systems
281.2Smatt
291.2Smattfile-system	FFS		# UFS
301.2Smatt#file-system	LFS		# log-structured file system
311.2Smattfile-system	MFS		# memory file system
321.2Smattfile-system	NFS		# Network file system
331.2Smatt#file-system 	ADOSFS		# AmigaDOS-compatible file system
341.2Smatt#file-system 	EXT2FS		# second extended file system (linux)
351.2Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
361.2Smatt#file-system	MSDOSFS		# MS-DOS file system
371.2Smattfile-system	FDESC		# /dev/fd
381.2Smattfile-system	KERNFS		# /kern
391.2Smattfile-system	NULLFS		# loopback file system
401.2Smattfile-system	PROCFS		# /proc
411.19Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
421.2Smattfile-system	TMPFS		# memory file system
431.2Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
441.2Smatt#file-system	UNION		# union file system
451.2Smattfile-system	PTYFS		# /dev/pts/N support
461.2Smatt
471.2Smatt# File system options
481.13Sbouyer#options 	QUOTA		# legacy UFS quotas
491.13Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
501.14Swiz#options 	FFS_EI		# FFS Endian Independent support
511.2Smattoptions 	NFSSERVER
521.16Sdhollandoptions 	WAPBL		# File system journaling support
531.2Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
541.2Smatt
551.2Smatt# Networking options
561.2Smatt
571.2Smatt#options 	GATEWAY		# packet forwarding
581.2Smattoptions 	INET		# IP + ICMP + TCP + UDP
591.2Smattoptions 	INET6		# IPV6
601.2Smatt#options 	IPSEC		# IP security
611.2Smatt#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
621.2Smatt#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
631.2Smatt#options 	IPSEC_DEBUG	# debug for IP security
641.2Smatt#options 	MROUTING	# IP multicast routing
651.2Smatt#options 	PIM		# Protocol Independent Multicast
661.2Smatt#options 	ISO,TPIP	# OSI
671.2Smatt#options 	EON		# OSI tunneling over IP
681.2Smatt#options 	NETATALK	# AppleTalk networking
691.2Smatt#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
701.2Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
711.2Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
721.2Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
731.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
741.2Smatt
751.2Smattoptions 	NFS_BOOT_BOOTP
761.2Smattoptions 	NFS_BOOT_DHCP
771.2Smatt#options 	NFS_BOOT_BOOTPARAM
781.2Smatt
791.2Smatt# Compatibility options
801.2Smatt
811.2Smatt#options 	COMPAT_43	# 4.3BSD compatibility.
821.20Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
831.8Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
841.3Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
851.2Smattoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
861.2Smattoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
871.2Smattoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
881.2Smattoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
891.2Smattoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
901.2Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
911.2Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
921.2Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
931.2Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
941.2Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
951.2Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
961.2Smattoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
971.2Smatt
981.2Smatt# Shared memory options
991.2Smatt
1001.2Smattoptions 	SYSVMSG		# System V-like message queues
1011.2Smattoptions 	SYSVSEM		# System V-like semaphores
1021.2Smattoptions 	SYSVSHM		# System V-like memory sharing
1031.2Smatt
1041.2Smatt# Device options
1051.2Smatt
1061.2Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1071.2Smatt#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1081.2Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1091.2Smatt
1101.2Smatt# Console options.
1111.2Smatt#options 	CONSPEED=38400		# Console speed
1121.2Smatt
1131.2Smatt# Miscellaneous kernel options
1141.2Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1151.2Smattoptions 	IRQSTATS	# manage IRQ statistics
1161.2Smatt#options 	KMEMSTATS	# kernel memory statistics
1171.2Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1181.2Smattoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1191.2Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1201.2Smatt#options 	DDB_KEYCODE=0x40
1211.2Smattoptions 	USERCONF	# userconf(4) support
1221.2Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1231.2Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1241.2Smatt
1251.2Smatt# Development and Debugging options
1261.2Smatt
1271.2Smattoptions 	DIAGNOSTIC	# internally consistency checks
1281.2Smattoptions 	DEBUG
1291.2Smatt#options 	LOCKDEBUG
1301.2Smattoptions 	PMAP_DEBUG	# Enable pmap_debug_level code
1311.2Smatt#options 	IPKDB		# remote kernel debugging
1321.2Smattoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1331.2Smattoptions 	DDB		# in-kernel debugger
1341.2Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1351.2Smatt#makeoptions	DEBUG="-g"	# compile full symbol table
1361.18Smattoptions 	SYMTAB_SPACE=500000
1371.2Smatt
1381.2Smattconfig		netbsd		root on ? type ?
1391.2Smatt
1401.2Smatt# The main bus device
1411.2Smattmainbus0	at root
1421.2Smatt
1431.2Smatt# The boot cpu
1441.2Smattcpu0		at mainbus?
1451.2Smatt#l2cc0		at mainbus?
1461.2Smatt
1471.2Smatt# Specify the memory size in bytes.
1481.2Smattoptions		MEMSIZE=0x8000000
1491.2Smatt
1501.2Smatt# Devices
1511.2Smatt
1521.2Smattahb0		at mainbus?
1531.2Smattavic0		at ahb? addr 0x68000000 irqbase 0
1541.2Smattaips*		at ahb0
1551.2Smattimxuart*	at aips? addr 0x43f90000 intr 45
1561.2Smattimxgpio0	at ahb? addr 0x53fcc000 irqbase 64 intr 52
1571.2Smattimxgpio1	at ahb? addr 0x53fd0000 irqbase 96 intr 51
1581.2Smattimxgpio2	at ahb? addr 0x53fa4000 irqbase 128 intr 56
1591.2Smattgpio*		at imxgpio?
1601.2Smatt
1611.2Smatt# pcic
1621.2Smattimx31lk_pcic0	at aips? addr 0xb8004000
1631.2Smattpcmcia*		at imx31lk_pcic0
1641.2Smattwdc*		at pcmcia? function ?
1651.2Smattatabus*		at wdc? channel ?
1661.2Smattwd*		at atabus? drive ? flags 0x0000
1671.2Smatt
1681.2Smatt# Pseudo-Devices
1691.2Smatt
1701.2Smatt# disk/mass storage pseudo-devices
1711.11Shannken#pseudo-device	md			# memory disk device (ramdisk)
1721.2Smatt#pseudo-device	vnd			# disk-like interface to files
1731.19Smsaitoh#pseudo-device	fss			# file system snapshot device
1741.19Smsaitoh#pseudo-device	putter			# for puffs and pud
1751.2Smatt
1761.2Smatt# network pseudo-devices
1771.2Smatt#pseudo-device	bpfilter		# Berkeley packet filter
1781.2Smattpseudo-device	loop			# network loopback
1791.2Smatt
1801.2Smatt# miscellaneous pseudo-devices
1811.2Smattpseudo-device	pty			# pseudo-terminals
1821.2Smattpseudo-device	ksyms			# /dev/ksyms
1831.2Smattpseudo-device	clockctl		# NTP clockctl
184