IMX31LITE revision 1.26
11.26Smartin#	$NetBSD: IMX31LITE,v 1.26 2014/08/03 09:18:16 martin 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.20Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
791.8Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
801.3Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
811.2Smattoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
821.2Smattoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
831.2Smattoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
841.2Smattoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
851.2Smattoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
861.2Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
871.2Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
881.2Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
891.2Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
901.2Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
911.2Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
921.2Smattoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
931.2Smatt
941.2Smatt# Shared memory options
951.2Smatt
961.2Smattoptions 	SYSVMSG		# System V-like message queues
971.2Smattoptions 	SYSVSEM		# System V-like semaphores
981.2Smattoptions 	SYSVSHM		# System V-like memory sharing
991.2Smatt
1001.2Smatt# Device options
1011.2Smatt
1021.2Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1031.2Smatt#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1041.2Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1051.2Smatt
1061.2Smatt# Console options.
1071.2Smatt#options 	CONSPEED=38400		# Console speed
1081.2Smatt
1091.2Smatt# Miscellaneous kernel options
1101.2Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1111.2Smattoptions 	IRQSTATS	# manage IRQ statistics
1121.2Smatt#options 	KMEMSTATS	# kernel memory statistics
1131.2Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1141.2Smattoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1151.2Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1161.2Smatt#options 	DDB_KEYCODE=0x40
1171.2Smattoptions 	USERCONF	# userconf(4) support
1181.2Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1191.2Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1201.2Smatt
1211.2Smatt# Development and Debugging options
1221.2Smatt
1231.25Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1241.2Smattoptions 	DEBUG
1251.2Smatt#options 	LOCKDEBUG
1261.2Smattoptions 	PMAP_DEBUG	# Enable pmap_debug_level code
1271.2Smatt#options 	IPKDB		# remote kernel debugging
1281.2Smattoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1291.2Smattoptions 	DDB		# in-kernel debugger
1301.2Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1311.2Smatt#makeoptions	DEBUG="-g"	# compile full symbol table
1321.18Smattoptions 	SYMTAB_SPACE=500000
1331.2Smatt
1341.2Smattconfig		netbsd		root on ? type ?
1351.2Smatt
1361.2Smatt# The main bus device
1371.2Smattmainbus0	at root
1381.2Smatt
1391.2Smatt# The boot cpu
1401.2Smattcpu0		at mainbus?
1411.2Smatt#l2cc0		at mainbus?
1421.2Smatt
1431.2Smatt# Specify the memory size in bytes.
1441.2Smattoptions		MEMSIZE=0x8000000
1451.2Smatt
1461.2Smatt# Devices
1471.2Smatt
1481.2Smattahb0		at mainbus?
1491.2Smattavic0		at ahb? addr 0x68000000 irqbase 0
1501.2Smattaips*		at ahb0
1511.2Smattimxuart*	at aips? addr 0x43f90000 intr 45
1521.2Smattimxgpio0	at ahb? addr 0x53fcc000 irqbase 64 intr 52
1531.2Smattimxgpio1	at ahb? addr 0x53fd0000 irqbase 96 intr 51
1541.2Smattimxgpio2	at ahb? addr 0x53fa4000 irqbase 128 intr 56
1551.2Smattgpio*		at imxgpio?
1561.2Smatt
1571.2Smatt# pcic
1581.2Smattimx31lk_pcic0	at aips? addr 0xb8004000
1591.2Smattpcmcia*		at imx31lk_pcic0
1601.2Smattwdc*		at pcmcia? function ?
1611.2Smattatabus*		at wdc? channel ?
1621.2Smattwd*		at atabus? drive ? flags 0x0000
1631.2Smatt
1641.2Smatt# Pseudo-Devices
1651.2Smatt
1661.2Smatt# disk/mass storage pseudo-devices
1671.11Shannken#pseudo-device	md			# memory disk device (ramdisk)
1681.2Smatt#pseudo-device	vnd			# disk-like interface to files
1691.19Smsaitoh#pseudo-device	fss			# file system snapshot device
1701.19Smsaitoh#pseudo-device	putter			# for puffs and pud
1711.2Smatt
1721.2Smatt# network pseudo-devices
1731.2Smatt#pseudo-device	bpfilter		# Berkeley packet filter
1741.2Smattpseudo-device	loop			# network loopback
1751.2Smatt
1761.2Smatt# miscellaneous pseudo-devices
1771.2Smattpseudo-device	pty			# pseudo-terminals
1781.2Smattpseudo-device	ksyms			# /dev/ksyms
1791.2Smattpseudo-device	clockctl		# NTP clockctl
180