IMX31LITE revision 1.35
11.35Sskrll#	$NetBSD: IMX31LITE,v 1.35 2020/04/18 11:00:38 skrll 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.31Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
511.14Swiz#options 	FFS_EI		# FFS Endian Independent support
521.2Smattoptions 	NFSSERVER
531.16Sdhollandoptions 	WAPBL		# File system journaling support
541.2Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
551.2Smatt
561.2Smatt# Networking options
571.2Smatt
581.2Smatt#options 	GATEWAY		# packet forwarding
591.2Smattoptions 	INET		# IP + ICMP + TCP + UDP
601.2Smattoptions 	INET6		# IPV6
611.2Smatt#options 	IPSEC		# IP security
621.2Smatt#options 	IPSEC_DEBUG	# debug for IP security
631.2Smatt#options 	MROUTING	# IP multicast routing
641.2Smatt#options 	PIM		# Protocol Independent Multicast
651.2Smatt#options 	NETATALK	# AppleTalk networking
661.2Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
671.2Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
681.2Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
691.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
701.2Smatt
711.2Smattoptions 	NFS_BOOT_BOOTP
721.2Smattoptions 	NFS_BOOT_DHCP
731.2Smatt#options 	NFS_BOOT_BOOTPARAM
741.2Smatt
751.2Smatt# Compatibility options
761.2Smatt
771.33Smrginclude 	"conf/compat_netbsd14.config"
781.33Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
791.2Smatt
801.2Smatt# Shared memory options
811.2Smatt
821.2Smattoptions 	SYSVMSG		# System V-like message queues
831.2Smattoptions 	SYSVSEM		# System V-like semaphores
841.2Smattoptions 	SYSVSHM		# System V-like memory sharing
851.2Smatt
861.2Smatt# Device options
871.2Smatt
881.2Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
891.2Smatt#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
901.2Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
911.2Smatt
921.2Smatt# Console options.
931.2Smatt#options 	CONSPEED=38400		# Console speed
941.2Smatt
951.2Smatt# Miscellaneous kernel options
961.2Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
971.2Smattoptions 	IRQSTATS	# manage IRQ statistics
981.2Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
991.2Smattoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1001.2Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1011.2Smatt#options 	DDB_KEYCODE=0x40
1021.2Smattoptions 	USERCONF	# userconf(4) support
1031.2Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1041.2Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1051.2Smatt
1061.2Smatt# Development and Debugging options
1071.2Smatt
1081.25Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1091.2Smattoptions 	DEBUG
1101.2Smatt#options 	LOCKDEBUG
1111.35Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1121.2Smattoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1131.2Smattoptions 	DDB		# in-kernel debugger
1141.2Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1151.2Smatt#makeoptions	DEBUG="-g"	# compile full symbol table
1161.28Sjoergmakeoptions	COPY_SYMTAB=1
1171.2Smatt
1181.2Smattconfig		netbsd		root on ? type ?
1191.2Smatt
1201.2Smatt# The main bus device
1211.2Smattmainbus0	at root
1221.2Smatt
1231.2Smatt# The boot cpu
1241.2Smattcpu0		at mainbus?
1251.2Smatt#l2cc0		at mainbus?
1261.2Smatt
1271.2Smatt# Specify the memory size in bytes.
1281.33Smrgoptions 	MEMSIZE=0x8000000
1291.2Smatt
1301.2Smatt# Devices
1311.2Smatt
1321.2Smattahb0		at mainbus?
1331.2Smattavic0		at ahb? addr 0x68000000 irqbase 0
1341.2Smattaips*		at ahb0
1351.2Smattimxuart*	at aips? addr 0x43f90000 intr 45
1361.2Smattimxgpio0	at ahb? addr 0x53fcc000 irqbase 64 intr 52
1371.2Smattimxgpio1	at ahb? addr 0x53fd0000 irqbase 96 intr 51
1381.2Smattimxgpio2	at ahb? addr 0x53fa4000 irqbase 128 intr 56
1391.2Smattgpio*		at imxgpio?
1401.2Smatt
1411.2Smatt# pcic
1421.2Smattimx31lk_pcic0	at aips? addr 0xb8004000
1431.2Smattpcmcia*		at imx31lk_pcic0
1441.2Smattwdc*		at pcmcia? function ?
1451.2Smattatabus*		at wdc? channel ?
1461.2Smattwd*		at atabus? drive ? flags 0x0000
1471.2Smatt
1481.2Smatt# Pseudo-Devices
1491.2Smatt
1501.2Smatt# disk/mass storage pseudo-devices
1511.11Shannken#pseudo-device	md			# memory disk device (ramdisk)
1521.2Smatt#pseudo-device	vnd			# disk-like interface to files
1531.19Smsaitoh#pseudo-device	fss			# file system snapshot device
1541.19Smsaitoh#pseudo-device	putter			# for puffs and pud
1551.2Smatt
1561.2Smatt# network pseudo-devices
1571.2Smatt#pseudo-device	bpfilter		# Berkeley packet filter
1581.2Smattpseudo-device	loop			# network loopback
1591.2Smatt
1601.2Smatt# miscellaneous pseudo-devices
1611.2Smattpseudo-device	pty			# pseudo-terminals
1621.2Smattpseudo-device	ksyms			# /dev/ksyms
1631.2Smattpseudo-device	clockctl		# NTP clockctl
164