IMX31LITE revision 1.27
11.27Sapb#	$NetBSD: IMX31LITE,v 1.27 2014/08/16 17:56:31 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_DEBUG	# debug for IP security
621.2Smatt#options 	MROUTING	# IP multicast routing
631.2Smatt#options 	PIM		# Protocol Independent Multicast
641.2Smatt#options 	NETATALK	# AppleTalk networking
651.2Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
661.2Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
671.2Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
681.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
691.2Smatt
701.2Smattoptions 	NFS_BOOT_BOOTP
711.2Smattoptions 	NFS_BOOT_DHCP
721.2Smatt#options 	NFS_BOOT_BOOTPARAM
731.2Smatt
741.2Smatt# Compatibility options
751.2Smatt
761.26Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
771.2Smatt#options 	COMPAT_43	# 4.3BSD compatibility.
781.27Sapboptions 	COMPAT_70	# NetBSD 7.0 compatibility.
791.20Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
801.8Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
811.3Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
821.2Smattoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
831.2Smattoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
841.2Smattoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
851.2Smattoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
861.2Smattoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
871.2Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
881.2Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
891.2Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
901.2Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
911.2Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
921.2Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
931.2Smattoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
941.2Smatt
951.2Smatt# Shared memory options
961.2Smatt
971.2Smattoptions 	SYSVMSG		# System V-like message queues
981.2Smattoptions 	SYSVSEM		# System V-like semaphores
991.2Smattoptions 	SYSVSHM		# System V-like memory sharing
1001.2Smatt
1011.2Smatt# Device options
1021.2Smatt
1031.2Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1041.2Smatt#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1051.2Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1061.2Smatt
1071.2Smatt# Console options.
1081.2Smatt#options 	CONSPEED=38400		# Console speed
1091.2Smatt
1101.2Smatt# Miscellaneous kernel options
1111.2Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1121.2Smattoptions 	IRQSTATS	# manage IRQ statistics
1131.2Smatt#options 	KMEMSTATS	# kernel memory statistics
1141.2Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1151.2Smattoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1161.2Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1171.2Smatt#options 	DDB_KEYCODE=0x40
1181.2Smattoptions 	USERCONF	# userconf(4) support
1191.2Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1201.2Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1211.2Smatt
1221.2Smatt# Development and Debugging options
1231.2Smatt
1241.25Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1251.2Smattoptions 	DEBUG
1261.2Smatt#options 	LOCKDEBUG
1271.2Smattoptions 	PMAP_DEBUG	# Enable pmap_debug_level code
1281.2Smatt#options 	IPKDB		# remote kernel debugging
1291.2Smattoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1301.2Smattoptions 	DDB		# in-kernel debugger
1311.2Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1321.2Smatt#makeoptions	DEBUG="-g"	# compile full symbol table
1331.18Smattoptions 	SYMTAB_SPACE=500000
1341.2Smatt
1351.2Smattconfig		netbsd		root on ? type ?
1361.2Smatt
1371.2Smatt# The main bus device
1381.2Smattmainbus0	at root
1391.2Smatt
1401.2Smatt# The boot cpu
1411.2Smattcpu0		at mainbus?
1421.2Smatt#l2cc0		at mainbus?
1431.2Smatt
1441.2Smatt# Specify the memory size in bytes.
1451.2Smattoptions		MEMSIZE=0x8000000
1461.2Smatt
1471.2Smatt# Devices
1481.2Smatt
1491.2Smattahb0		at mainbus?
1501.2Smattavic0		at ahb? addr 0x68000000 irqbase 0
1511.2Smattaips*		at ahb0
1521.2Smattimxuart*	at aips? addr 0x43f90000 intr 45
1531.2Smattimxgpio0	at ahb? addr 0x53fcc000 irqbase 64 intr 52
1541.2Smattimxgpio1	at ahb? addr 0x53fd0000 irqbase 96 intr 51
1551.2Smattimxgpio2	at ahb? addr 0x53fa4000 irqbase 128 intr 56
1561.2Smattgpio*		at imxgpio?
1571.2Smatt
1581.2Smatt# pcic
1591.2Smattimx31lk_pcic0	at aips? addr 0xb8004000
1601.2Smattpcmcia*		at imx31lk_pcic0
1611.2Smattwdc*		at pcmcia? function ?
1621.2Smattatabus*		at wdc? channel ?
1631.2Smattwd*		at atabus? drive ? flags 0x0000
1641.2Smatt
1651.2Smatt# Pseudo-Devices
1661.2Smatt
1671.2Smatt# disk/mass storage pseudo-devices
1681.11Shannken#pseudo-device	md			# memory disk device (ramdisk)
1691.2Smatt#pseudo-device	vnd			# disk-like interface to files
1701.19Smsaitoh#pseudo-device	fss			# file system snapshot device
1711.19Smsaitoh#pseudo-device	putter			# for puffs and pud
1721.2Smatt
1731.2Smatt# network pseudo-devices
1741.2Smatt#pseudo-device	bpfilter		# Berkeley packet filter
1751.2Smattpseudo-device	loop			# network loopback
1761.2Smatt
1771.2Smatt# miscellaneous pseudo-devices
1781.2Smattpseudo-device	pty			# pseudo-terminals
1791.2Smattpseudo-device	ksyms			# /dev/ksyms
1801.2Smattpseudo-device	clockctl		# NTP clockctl
181