GEMINI revision 1.3
11.1Smatt#
21.1Smatt#	GEMINI -- 
31.1Smatt#
41.1Smatt
51.1Smattinclude	"arch/evbarm/conf/std.gemini"
61.1Smatt
71.1Smatt# estimated number of users
81.1Smatt
91.1Smattmaxusers	32
101.1Smatt
111.1Smatt# Standard system options
121.1Smatt
131.1Smattoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
141.1Smatt#options 	NTP		# NTP phase/frequency locked loop
151.1Smatt
161.1Smatt# CPU options
171.1Smatt
181.1Smattoptions 	CPU_FA526
191.1Smattoptions 	SL3516
201.1Smatt
211.1Smatt# Architecture options
221.1Smatt
231.1Smatt# File systems
241.1Smatt
251.1Smattfile-system	FFS		# UFS
261.1Smatt#file-system	LFS		# log-structured file system
271.1Smattfile-system	MFS		# memory file system
281.1Smattfile-system	NFS		# Network file system
291.1Smatt#file-system 	ADOSFS		# AmigaDOS-compatible file system
301.1Smatt#file-system 	EXT2FS		# second extended file system (linux)
311.1Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
321.1Smattfile-system	MSDOSFS		# MS-DOS file system
331.1Smatt#file-system	FDESC		# /dev/fd
341.1Smatt#file-system	KERNFS		# /kern
351.1Smatt#file-system	NULLFS		# loopback file system
361.1Smatt#file-system	PORTAL		# portal filesystem (still experimental)
371.1Smatt#file-system	PROCFS		# /proc
381.1Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
391.1Smatt#file-system	UNION		# union file system
401.1Smattfile-system	PTYFS		# /dev/pts/N support
411.1Smatt
421.1Smatt# File system options
431.1Smatt#options 	QUOTA		# UFS quotas
441.1Smatt#options 	FFS_EI		# FFS Endian Independant support
451.1Smatt#options 	NFSSERVER
461.1Smatt#options 	SOFTDEP
471.1Smatt#options 	WAPBL		# File system journaling support - Experimental
481.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
491.1Smatt
501.1Smatt# Networking options
511.1Smatt
521.1Smatt#options 	GATEWAY		# packet forwarding
531.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
541.1Smattoptions 	INET6		# IPV6
551.1Smatt#options 	IPSEC		# IP security
561.1Smatt#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
571.1Smatt#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
581.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
591.1Smatt#options 	MROUTING	# IP multicast routing
601.1Smatt#options 	PIM		# Protocol Independent Multicast
611.1Smatt#options 	NS		# XNS
621.1Smatt#options 	NSIP		# XNS tunneling over IP
631.1Smatt#options 	ISO,TPIP	# OSI
641.1Smatt#options 	EON		# OSI tunneling over IP
651.1Smatt#options 	CCITT,LLC,HDLC	# X.25
661.1Smatt#options 	NETATALK	# AppleTalk networking
671.1Smatt#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
681.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
691.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
701.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
711.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
721.1Smatt
731.1Smattoptions 	NFS_BOOT_BOOTP
741.1Smattoptions 	NFS_BOOT_DHCP
751.1Smattoptions		NFS_BOOT_RWSIZE=1024
761.1Smatt
771.1Smatt# Compatibility options
781.1Smatt
791.1Smatt#options 	COMPAT_43	# 4.3BSD compatibility.
801.1Smatt#options 	COMPAT_40	# NetBSD 4.0 compatibility.
811.1Smatt#options 	COMPAT_30	# NetBSD 3.0 compatibility.
821.1Smatt#options 	COMPAT_20	# NetBSD 2.0 compatibility.
831.1Smatt#options 	COMPAT_16	# NetBSD 1.6 compatibility.
841.1Smatt#options 	COMPAT_15	# NetBSD 1.5 compatibility.
851.1Smatt#options 	COMPAT_14	# NetBSD 1.4 compatibility.
861.1Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
871.1Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
881.1Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
891.1Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
901.1Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
911.1Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
921.1Smatt#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
931.1Smatt
941.1Smatt# Shared memory options
951.1Smatt
961.1Smattoptions 	SYSVMSG		# System V-like message queues
971.1Smattoptions 	SYSVSEM		# System V-like semaphores
981.1Smatt#options 	SEMMNI=10	# number of semaphore identifiers
991.1Smatt#options 	SEMMNS=60	# number of semaphores in system
1001.1Smatt#options 	SEMUME=10	# max number of undo entries per process
1011.1Smatt#options 	SEMMNU=30	# number of undo structures in system
1021.1Smattoptions 	SYSVSHM		# System V-like memory sharing
1031.1Smatt#options 	SHMMAXPGS=1024	# 1024 pages is the default
1041.1Smatt
1051.1Smatt# Device options
1061.1Smatt
1071.1Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1081.1Smatt#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
1091.1Smatt#options 	MEMORY_DISK_DYNAMIC
1101.1Smatt#options 	MINIROOTSIZE=1000	# Size in blocks
1111.1Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1121.1Smatt
1131.1Smatt# Miscellaneous kernel options
1141.1Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1151.1Smatt#options 	LKM		# loadable kernel modules
1161.1Smatt#options 	KMEMSTATS	# kernel memory statistics
1171.1Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1181.1Smatt#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1191.1Smatt#options 	DDB_KEYCODE=0x40
1201.1Smatt#options 	USERCONF	# userconf(4) support
1211.1Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1221.1Smatt
1231.1Smatt# Development and Debugging options
1241.1Smatt
1251.1Smatt#options 	PERFCTRS	# performance counters
1261.1Smattoptions 	DIAGNOSTIC	# internally consistency checks
1271.1Smatt#options 	DEBUG
1281.1Smatt#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1291.1Smattoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1301.1Smattoptions 	DDB		# in-kernel debugger
1311.1Smattoptions		DDB_ONPANIC=1
1321.1Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1331.1Smatt#options 	KGDB
1341.3Smattmakeoptions	DEBUG="-g"	# compile full symbol table
1351.1Smatt##options 	SYMTAB_SPACE=280000
1361.1Smatt
1371.1Smatt# Valid options for BOOT_ARGS:
1381.1Smatt#  single		Boot to single user only
1391.1Smatt#  kdb			Give control to kernel debugger
1401.1Smatt#  ask			Ask for file name to reboot from
1411.1Smatt#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
1421.1Smatt#  memorydisk=<n>	Set memorydisk size to <n> KB
1431.1Smatt#  quiet		Show aprint_naive output
1441.1Smatt#  verbose		Show aprint_normal and aprint_verbose output
1451.1Smattoptions		BOOT_ARGS="\"\""
1461.1Smatt
1471.1Smattconfig		netbsd		root on ? type ?
1481.1Smatt##config		netbsd-sm0	root on sm0 type nfs
1491.1Smatt
1501.1Smatt# The main bus device
1511.1Smattmainbus0	at root
1521.1Smatt
1531.1Smatt# The boot cpu
1541.1Smattcpu0		at mainbus?
1551.1Smatt
1561.1Smatt# Specify the memory size in megabytes.
1571.1Smattoptions		MEMSIZE=128
1581.1Smatt
1591.1Smatt# On-board IO
1601.1Smattobio0		at mainbus?
1611.1Smatt
1621.1Smatt# On-board 16550 UART(s)
1631.1Smattcom0		at obio? addr 0x42000000 intr 18 mult 4
1641.1Smattoptions CONSADDR=0x42000000, CONSPEED=19200
1651.1Smatt
1661.1Smatt# Interrupt controller
1671.1Smattgeminiicu0	at obio0 addr 0x48000000 intrbase 0
1681.1Smatt##geminiicu1	at obio0 addr 0x49000000 intrbase 0
1691.1Smatt
1701.1Smatt# Watchdog timer
1711.1Smattgeminiwdt0	at obio0 addr 0x41000000 size 0x1c
1721.1Smatt# Internal PCLK is AHB bus freq,
1731.1Smatt#  which is 1/6 of APB bus freq,
1741.1Smatt#   which is 150MHz`
1751.1Smattoptions GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
1761.1Smatt
1771.1Smatt# Operating System Timer
1781.1Smattgeminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
1791.1Smatt# Statistics Timer
1801.1Smattgeminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
1811.1Smatt# Microtime Reference Timer
1821.1Smattgeminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
1831.1Smatt#
1841.1Smatt# Internal PCLK is AHB bus freq,
1851.1Smatt#  which is 1/6 of APB bus freq,
1861.1Smatt#   which is 150MHz`
1871.1Smattoptions GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
1881.1Smatt
1891.1Smatt
1901.1Smatt# On-board GPIO controllers
1911.1Smatt
1921.1Smatt
1931.1Smatt# Real Time Clock
1941.1Smatt
1951.2Smatt# ATA
1961.2Smatt#wdc0	at obio? addr 0x63000000 intr 4
1971.2Smatt#wdc1	at obio? addr 0x63400000 intr 5
1981.2Smatt
1991.2Smatt# USB
2001.2Smattehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
2011.2Smattehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31? 
2021.2Smatt
2031.2Smattusb* at ehci?
2041.2Smattuhub* at usb?
2051.2Smattuhub* at uhub? port ?
2061.2Smattaxe* at uhub?
2071.1Smatt
2081.1Smatt# PCI
2091.1Smattpci0	at obio? bus ?
2101.1Smattoptions PCI_NETBSD_CONFIGURE		# set up the PCI bus 
2111.1Smattoptions	PCIVERBOSE
2121.1Smattoptions PCI_CONFIG_DUMP
2131.1Smatt
2141.1Smatt# PCI Ethernet
2151.1Smattex*	at pci? dev ? function ? 	# 3Com 90x[BC]
2161.1Smatt
2171.1Smatt# MII/PHY support
2181.1Smattexphy*	at mii? phy ?			# 3Com internal PHYs
2191.1Smattukphy*	at mii? phy ?			# generic unknown PHYs
2201.1Smatt
2211.1Smatt
2221.1Smatt# Pseudo-Devices
2231.1Smatt
2241.1Smatt# disk/mass storage pseudo-devices
2251.1Smattpseudo-device	md		1	# memory disk device (ramdisk)
2261.1Smatt#pseudo-device	vnd			# disk-like interface to files
2271.1Smatt#pseudo-device	fss		4	# file system snapshot device
2281.1Smatt
2291.1Smatt# network pseudo-devices
2301.1Smattpseudo-device	bpfilter		# Berkeley packet filter
2311.1Smattpseudo-device	loop			# network loopback
2321.1Smatt#pseudo-device	kttcp			# network loopback
2331.1Smatt
2341.1Smatt# miscellaneous pseudo-devices
2351.1Smattpseudo-device	pty			# pseudo-terminals
2361.1Smattpseudo-device	rnd			# /dev/random and in-kernel generator
2371.1Smatt#options	RND_COM
2381.1Smatt#pseudo-device	clockctl		# user control of clock subsystem
2391.1Smattpseudo-device	ksyms			# /dev/ksyms
2401.1Smatt
241