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