NETWALKER revision 1.3
11.3Sbsh#	$NetBSD: NETWALKER,v 1.3 2010/11/30 13:07:29 bsh Exp $
21.1Sbsh#
31.1Sbsh#	NETWALKER -- Sharp
41.1Sbsh#
51.1Sbsh
61.1Sbshinclude	"arch/evbarm/conf/std.netwalker"
71.1Sbsh
81.1Sbsh#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sbsh
101.1Sbsh# estimated number of users
111.1Sbsh
121.1Sbshmaxusers	32
131.1Sbsh
141.1Sbsh# Standard system options
151.1Sbsh
161.1Sbshoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.1Sbsh#options 	NTP		# NTP phase/frequency locked loop
181.1Sbsh
191.1Sbsh# CPU options
201.1Sbshoptions 	CPU_CORTEXA8	# Support the ARM11 core
211.1Sbshoptions 	IMX51
221.1Sbshoptions 	PMAPCOUNTERS
231.1Sbsh
241.1Sbsh# Architecture options
251.1Sbsh
261.3Sbshoptions        IMX51_IPGCLK_FREQ=50000000   # XXX This value is not correct.
271.1Sbsh
281.1Sbsh# File systems
291.1Sbsh
301.1Sbshfile-system	FFS		# UFS
311.1Sbsh#file-system	LFS		# log-structured file system
321.1Sbshfile-system	MFS		# memory file system
331.1Sbshfile-system	NFS		# Network file system
341.1Sbsh#file-system 	ADOSFS		# AmigaDOS-compatible file system
351.1Sbshfile-system 	EXT2FS		# second extended file system (linux)
361.1Sbsh#file-system	CD9660		# ISO 9660 + Rock Ridge file system
371.1Sbshfile-system	MSDOSFS		# MS-DOS file system
381.1Sbshfile-system	FDESC		# /dev/fd
391.1Sbshfile-system	KERNFS		# /kern
401.1Sbshfile-system	NULLFS		# loopback file system
411.1Sbsh#file-system	PORTAL		# portal filesystem (still experimental)
421.1Sbshfile-system	PROCFS		# /proc
431.1Sbshfile-system	TMPFS		# memory file system
441.1Sbsh#file-system	UMAPFS		# NULLFS + uid and gid remapping
451.1Sbsh#file-system	UNION		# union file system
461.1Sbshfile-system	PTYFS		# /dev/pts/N support
471.1Sbsh
481.1Sbsh# File system options
491.1Sbsh#options 	QUOTA		# UFS quotas
501.1Sbsh#options 	FFS_EI		# FFS Endian Independant support
511.1Sbsh#options 	NFSSERVER
521.1Sbshoptions 	WAPBL		# File system journaling support - Experimental
531.1Sbsh#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
541.1Sbsh
551.1Sbsh# Networking options
561.1Sbsh
571.1Sbsh#options 	GATEWAY		# packet forwarding
581.1Sbshoptions 	INET		# IP + ICMP + TCP + UDP
591.1Sbshoptions 	INET6		# IPV6
601.1Sbsh#options 	IPSEC		# IP security
611.1Sbsh#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
621.1Sbsh#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
631.1Sbsh#options 	IPSEC_DEBUG	# debug for IP security
641.1Sbsh#options 	MROUTING	# IP multicast routing
651.1Sbsh#options 	PIM		# Protocol Independent Multicast
661.1Sbsh#options 	ISO,TPIP	# OSI
671.1Sbsh#options 	EON		# OSI tunneling over IP
681.1Sbsh#options 	NETATALK	# AppleTalk networking
691.1Sbsh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
701.1Sbsh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
711.1Sbsh#options 	PPP_DEFLATE	# Deflate compression support for PPP
721.1Sbsh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
731.1Sbsh#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
741.1Sbsh
751.1Sbsh#options 	NFS_BOOT_BOOTP
761.1Sbsh#options 	NFS_BOOT_DHCP
771.1Sbsh#options 	NFS_BOOT_BOOTPARAM
781.1Sbsh#options	DEBUG_NFS_BOOT_DHCP
791.1Sbsh
801.1Sbsh# Compatibility options
811.1Sbsh
821.1Sbsh#options 	COMPAT_43	# 4.3BSD compatibility.
831.1Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
841.1Sbshoptions 	COMPAT_40	# NetBSD 4.0 compatibility.
851.1Sbsh#options 	COMPAT_30	# NetBSD 3.0 compatibility.
861.1Sbsh#options 	COMPAT_20	# NetBSD 2.0 compatibility.
871.1Sbsh#options 	COMPAT_16	# NetBSD 1.6 compatibility.
881.1Sbsh#options 	COMPAT_15	# NetBSD 1.5 compatibility.
891.1Sbsh#options 	COMPAT_14	# NetBSD 1.4 compatibility.
901.1Sbsh#options 	COMPAT_13	# NetBSD 1.3 compatibility.
911.1Sbsh#options 	COMPAT_12	# NetBSD 1.2 compatibility.
921.1Sbsh#options 	COMPAT_11	# NetBSD 1.1 compatibility.
931.1Sbsh#options 	COMPAT_10	# NetBSD 1.0 compatibility.
941.1Sbsh#options 	COMPAT_09	# NetBSD 0.9 compatibility.
951.1Sbsh#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
961.1Sbsh
971.1Sbshoptions 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
981.1Sbsh#options 	COMPAT_LINUX	# binary compatibility with Linux
991.1Sbshoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1001.1Sbsh
1011.1Sbsh# Shared memory options
1021.1Sbsh
1031.1Sbshoptions 	SYSVMSG		# System V-like message queues
1041.1Sbshoptions 	SYSVSEM		# System V-like semaphores
1051.1Sbsh#options 	SEMMNI=10	# number of semaphore identifiers
1061.1Sbsh#options 	SEMMNS=60	# number of semaphores in system
1071.1Sbsh#options 	SEMUME=10	# max number of undo entries per process
1081.1Sbsh#options 	SEMMNU=30	# number of undo structures in system
1091.1Sbshoptions 	SYSVSHM		# System V-like memory sharing
1101.1Sbsh
1111.1Sbsh# Device options
1121.1Sbsh
1131.1Sbsh# Console options.    also need IMXUARTCONSOLE
1141.1Sbshoptions 	CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000
1151.1Sbshoptions 	CONSPEED=115200	# Console speed
1161.1Sbsh
1171.1Sbsh# kgdb
1181.1Sbsh#options	KGDB
1191.1Sbsh#options 	KGDB_DEVNAME="\"imxuart\""
1201.1Sbsh#options 	KGDB_DEVADDR=0x73fbc000
1211.1Sbsh#options 	KGDB_DEVRATE=115200
1221.1Sbsh
1231.1Sbsh# Miscellaneous kernel options
1241.1Sbshoptions 	KTRACE		# system call tracing, a la ktrace(1)
1251.1Sbshoptions 	IRQSTATS	# manage IRQ statistics
1261.1Sbsh#options 	KMEMSTATS	# kernel memory statistics
1271.1Sbshoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1281.1Sbshoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1291.1Sbsh#options 	SCSIVERBOSE	# Verbose SCSI errors
1301.1Sbshoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1311.1Sbsh#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1321.1Sbsh#options 	DDB_KEYCODE=0x40
1331.1Sbshoptions 	USERCONF	# userconf(4) support
1341.1Sbsh#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1351.1Sbsh#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1361.1Sbshoptions 	NO_POWERSAVE	# uncomment this to run under ICE
1371.1Sbsh
1381.1Sbsh# Development and Debugging options
1391.1Sbsh#options 	PERFCTRS	# performance counters
1401.1Sbshoptions 	DIAGNOSTIC	# internally consistency checks
1411.1Sbsh#options 	DEBUG
1421.1Sbsh#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
1431.1Sbshoptions 	DDB		# in-kernel debugger
1441.1Sbshoptions 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
1451.1Sbshoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1461.1Sbshoptions 	DDB_VERBOSE_HELP
1471.1Sbsh#options 	LOCKDEBUG
1481.1Sbsh#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1491.1Sbsh#options 	IPKDB		# remote kernel debugging
1501.1Sbshoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1511.1Sbshmakeoptions	DEBUG="-g -O2"	# compile full symbol table
1521.1Sbsh#options 	SYSCALL_STATS	# per syscall counts
1531.1Sbsh#options 	SYSCALL_TIMES 	# per syscall times
1541.1Sbsh#options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
1551.1Sbsh#options 	SCSIPI_DEBUG
1561.1Sbsh#options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
1571.1Sbsh#options	SCSIPI_DEBUG_TARGET=0
1581.1Sbsh#options	SCSIPI_DEBUG_LUN=0
1591.1Sbsh
1601.1Sbsh# Kernel root file system and dump configuration.
1611.1Sbshconfig		netbsd		root on ? type ?
1621.1Sbsh
1631.1Sbsh# The main bus device
1641.1Sbshmainbus0	at root
1651.1Sbsh
1661.1Sbsh# The boot cpu
1671.1Sbshcpu0		at mainbus?
1681.1Sbsh
1691.1Sbsh# Devices
1701.1Sbsh# On-chip
1711.1Sbsh# On-chip bus
1721.1Sbshaxi0		at mainbus?
1731.1Sbsh
1741.1Sbsh# Interrupt Cotroller
1751.1Sbshtzic0		at axi? addr 0xe0000000 size 0x4000 irqbase 0
1761.1Sbsh
1771.1Sbsh# Serial
1781.1Sbshimxuart0	at axi? addr 0x73fbc000 irq 31		# UART1
1791.1Sbsh#imxuart1	at axi? addr 0x73fc0000 irq 32
1801.1Sbsh#imxuart2	at axi? addr 0x7000c000 irq 33
1811.1Sbshoptions		IMXUARTCONSOLE
1821.1Sbsh
1831.1Sbsh# Enhanced Periodic Interrupt Timer
1841.1Sbshimxclock0	at axi? addr 0x73fac000 size 0x4000 irq 40
1851.1Sbshimxclock1	at axi? addr 0x73fb0000 size 0x4000 irq 41
1861.1Sbsh
1871.3Sbsh# IOMUX
1881.3Sbshimxiomux0	at axi? addr 0x73fa8000
1891.3Sbsh
1901.3Sbsh# GPIO
1911.3Sbshimxgpio0	at axi? addr 0x73f84000
1921.3Sbshimxgpio1	at axi? addr 0x73f88000
1931.3Sbshimxgpio2	at axi? addr 0x73f8c000
1941.3Sbshimxgpio3	at axi? addr 0x73f90000
1951.3Sbsh
1961.3Sbsh# USB
1971.3Sbshimxusbc0  at axi?  addr 0x73f80000
1981.3Sbshehci0	  at imxusbc0	unit 0	irq 18 # OTG
1991.3Sbshehci1	  at imxusbc0	unit 1	irq 14 # Host1
2001.3Sbsh#ehci2	  at imxusbc0	unit 2	irq 16 # Host2
2011.3Sbsh#ehci3	  at imxusbc0	unit 3	irq 17 # Host3
2021.3Sbsh
2031.3Sbshusb*		at ehci?
2041.3Sbshuhub*		at usb?
2051.3Sbshuhub*		at uhub? port ?
2061.3Sbshugen*		at uhub? port ?
2071.3Sbsh
2081.3Sbsh# USB HID device
2091.3Sbshuhidev* at uhub? port ? configuration ? interface ?
2101.3Sbsh
2111.3Sbsh# USB Mice
2121.3Sbshums*	at uhidev? reportid ?
2131.3Sbshwsmouse* at ums? mux 0
2141.3Sbsh
2151.3Sbsh# USB Keyboards
2161.3Sbshukbd*	at uhidev? reportid ?
2171.3Sbshwskbd*	at ukbd? console ? mux 1
2181.3Sbsh
2191.3Sbsh# USB Mass Storage
2201.3Sbshumass*	at uhub? port ? configuration ? interface ?
2211.3Sbshwd*	at umass?
2221.3Sbsh
2231.3Sbsh# Serial adapters
2241.3Sbshubsa*	at uhub? port ?		# Belkin serial adapter
2251.3Sbshucom*	at ubsa? portno ?
2261.3Sbsh
2271.3Sbshuchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
2281.3Sbshucom*	at uchcom? portno ?
2291.3Sbsh
2301.3Sbshuftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
2311.3Sbshucom*	at uftdi? portno ?
2321.3Sbsh
2331.3Sbshumct*	at uhub? port ?		# MCT USB-RS232 serial adapter
2341.3Sbshucom*	at umct? portno ?
2351.3Sbsh
2361.3Sbshuplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
2371.3Sbshucom*	at uplcom? portno ?
2381.3Sbsh
2391.3Sbshuslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
2401.3Sbshucom*	at uslsa? portno ?
2411.3Sbsh
2421.3Sbshuvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
2431.3Sbshucom*	at uvscom? portno ?
2441.3Sbsh
2451.3Sbsh# USB generic serial port (e.g., data over cellular)
2461.3Sbshugensa* at uhub? port ?
2471.3Sbshucom*	at ugensa?
2481.3Sbsh
2491.3Sbsh# SCSI bus support
2501.3Sbshscsibus* at scsi?
2511.3Sbsh
2521.3Sbsh# SCSI devices
2531.3Sbshsd*	at scsibus? target ? lun ?	# SCSI disk drives
2541.3Sbsh
2551.1Sbsh# Pseudo-Devices
2561.1Sbsh
2571.1Sbshpseudo-device	crypto			# /dev/crypto device
2581.1Sbshpseudo-device	swcrypto		# software crypto implementation
2591.1Sbsh
2601.1Sbsh# disk/mass storage pseudo-devices
2611.2Shannken#pseudo-device	md			# memory disk device (ramdisk)
2621.1Sbsh#pseudo-device	vnd			# disk-like interface to files
2631.1Sbsh
2641.1Sbsh# network pseudo-devices
2651.1Sbsh#pseudo-device	bpfilter		# Berkeley packet filter
2661.1Sbsh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2671.1Sbshpseudo-device	loop			# network loopback
2681.1Sbshpseudo-device	ppp			# Point-to-Point Protocol
2691.1Sbsh
2701.1Sbsh# miscellaneous pseudo-devices
2711.1Sbshpseudo-device	pty			# pseudo-terminals
2721.1Sbshpseudo-device	rnd			# /dev/random and in-kernel generator
2731.1Sbshpseudo-device	ksyms			# /dev/ksyms
2741.1Sbshpseudo-device	clockctl		# NTP clockctl
2751.1Sbsh
2761.1Sbsh# wscons pseudo-devices
2771.1Sbshpseudo-device	wsmux			# mouse & keyboard multiplexor
278