GEMINI revision 1.21
11.1Smatt#
21.15Sjakllsch#	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.6Scliffoptions 	GEMINI_SINGLE
211.1Smatt
221.1Smatt# Architecture options
231.1Smatt
241.1Smatt# File systems
251.1Smatt
261.1Smattfile-system	FFS		# UFS
271.1Smatt#file-system	LFS		# log-structured file system
281.1Smattfile-system	MFS		# memory file system
291.1Smattfile-system	NFS		# Network file system
301.1Smatt#file-system 	ADOSFS		# AmigaDOS-compatible file system
311.1Smatt#file-system 	EXT2FS		# second extended file system (linux)
321.1Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
331.1Smattfile-system	MSDOSFS		# MS-DOS file system
341.1Smatt#file-system	FDESC		# /dev/fd
351.1Smatt#file-system	KERNFS		# /kern
361.1Smatt#file-system	NULLFS		# loopback file system
371.1Smatt#file-system	PROCFS		# /proc
381.21Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
391.1Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
401.1Smatt#file-system	UNION		# union file system
411.1Smattfile-system	PTYFS		# /dev/pts/N support
421.1Smatt
431.1Smatt# File system options
441.16Sbouyer#options 	QUOTA		# legacy UFS quotas
451.16Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
461.17Swiz#options 	FFS_EI		# FFS Endian Independent support
471.1Smatt#options 	NFSSERVER
481.19Sdholland#options 	WAPBL		# File system journaling support
491.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
501.1Smatt
511.1Smatt# Networking options
521.1Smatt
531.1Smatt#options 	GATEWAY		# packet forwarding
541.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
551.1Smattoptions 	INET6		# IPV6
561.1Smatt#options 	IPSEC		# IP security
571.1Smatt#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
581.1Smatt#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
591.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
601.1Smatt#options 	MROUTING	# IP multicast routing
611.1Smatt#options 	PIM		# Protocol Independent Multicast
621.1Smatt#options 	NS		# XNS
631.1Smatt#options 	NSIP		# XNS tunneling over IP
641.1Smatt#options 	ISO,TPIP	# OSI
651.1Smatt#options 	EON		# OSI tunneling over IP
661.1Smatt#options 	CCITT,LLC,HDLC	# X.25
671.1Smatt#options 	NETATALK	# AppleTalk networking
681.1Smatt#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
691.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
701.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
711.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
721.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
731.1Smatt
741.1Smattoptions 	NFS_BOOT_BOOTP
751.1Smattoptions 	NFS_BOOT_DHCP
761.1Smattoptions		NFS_BOOT_RWSIZE=1024
771.1Smatt
781.1Smatt# Compatibility options
791.1Smatt
801.1Smatt#options 	COMPAT_43	# 4.3BSD compatibility.
811.12Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
821.1Smatt#options 	COMPAT_40	# NetBSD 4.0 compatibility.
831.1Smatt#options 	COMPAT_30	# NetBSD 3.0 compatibility.
841.1Smatt#options 	COMPAT_20	# NetBSD 2.0 compatibility.
851.1Smatt#options 	COMPAT_16	# NetBSD 1.6 compatibility.
861.1Smatt#options 	COMPAT_15	# NetBSD 1.5 compatibility.
871.1Smatt#options 	COMPAT_14	# NetBSD 1.4 compatibility.
881.1Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
891.1Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
901.1Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
911.1Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
921.1Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
931.1Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
941.1Smatt#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
951.1Smatt
961.1Smatt# Shared memory options
971.1Smatt
981.1Smattoptions 	SYSVMSG		# System V-like message queues
991.1Smattoptions 	SYSVSEM		# System V-like semaphores
1001.1Smattoptions 	SYSVSHM		# System V-like memory sharing
1011.1Smatt
1021.1Smatt# Device options
1031.1Smatt
1041.1Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1051.1Smatt#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
1061.1Smatt#options 	MEMORY_DISK_DYNAMIC
1071.1Smatt#options 	MINIROOTSIZE=1000	# Size in blocks
1081.1Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1091.1Smatt
1101.1Smatt# Miscellaneous kernel options
1111.1Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1121.1Smatt#options 	KMEMSTATS	# kernel memory statistics
1131.1Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1141.1Smatt#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1151.1Smatt#options 	DDB_KEYCODE=0x40
1161.1Smatt#options 	USERCONF	# userconf(4) support
1171.1Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1181.1Smatt
1191.1Smatt# Development and Debugging options
1201.1Smatt
1211.1Smatt#options 	PERFCTRS	# performance counters
1221.1Smattoptions 	DIAGNOSTIC	# internally consistency checks
1231.1Smatt#options 	DEBUG
1241.1Smatt#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1251.1Smattoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1261.1Smattoptions 	DDB		# in-kernel debugger
1271.1Smattoptions		DDB_ONPANIC=1
1281.1Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1291.1Smatt#options 	KGDB
1301.3Smattmakeoptions	DEBUG="-g"	# compile full symbol table
1311.1Smatt##options 	SYMTAB_SPACE=280000
1321.5Scliff##options	ATADEBUG
1331.1Smatt
1341.1Smatt# Valid options for BOOT_ARGS:
1351.1Smatt#  single		Boot to single user only
1361.1Smatt#  kdb			Give control to kernel debugger
1371.1Smatt#  ask			Ask for file name to reboot from
1381.1Smatt#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
1391.1Smatt#  memorydisk=<n>	Set memorydisk size to <n> KB
1401.1Smatt#  quiet		Show aprint_naive output
1411.1Smatt#  verbose		Show aprint_normal and aprint_verbose output
1421.1Smattoptions		BOOT_ARGS="\"\""
1431.1Smatt
1441.1Smattconfig		netbsd		root on ? type ?
1451.1Smatt##config		netbsd-sm0	root on sm0 type nfs
1461.1Smatt
1471.1Smatt# The main bus device
1481.1Smattmainbus0	at root
1491.1Smatt
1501.1Smatt# The boot cpu
1511.1Smattcpu0		at mainbus?
1521.1Smatt
1531.1Smatt# Specify the memory size in megabytes.
1541.1Smattoptions		MEMSIZE=128
1551.1Smatt
1561.9Scliff# Specify the (DMA) Bus Address base in megabytes
1571.9Scliffoptions		GEMINI_BUSBASE=0
1581.9Scliff
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.5Scliff# Combined Operating System Timer and Statistics Timer
1781.1Smattgeminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
1791.5Scliff##geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
1801.1Smatt# Microtime Reference Timer
1811.1Smattgeminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
1821.1Smatt#
1831.1Smatt# Internal PCLK is AHB bus freq,
1841.1Smatt#  which is 1/6 of APB bus freq,
1851.1Smatt#   which is 150MHz`
1861.1Smattoptions GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
1871.1Smatt
1881.1Smatt
1891.1Smatt# On-board GPIO controllers
1901.1Smatt
1911.1Smatt
1921.1Smatt# Real Time Clock
1931.1Smatt
1941.5Scliff# IDE
1951.8Scliff##wdc0	at obio? addr 0x63000000 intr 4
1961.8Scliff##wdc1	at obio? addr 0x63400000 intr 5
1971.5Scliff
1981.8Scliff##atabus* at ata? channel ?
1991.8Scliff##wd*	at atabus? drive ? flags 0x0000
2001.2Smatt
2011.2Smatt# USB
2021.2Smattehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
2031.15Sjakllschehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
2041.2Smatt
2051.2Smattusb* at ehci?
2061.2Smattuhub* at usb?
2071.2Smattuhub* at uhub? port ?
2081.2Smattaxe* at uhub?
2091.5Scliffumass* at uhub? port ? configuration ? interface ?
2101.5Scliffwd* at umass?
2111.1Smatt
2121.1Smatt# PCI
2131.1Smattpci0	at obio? bus ?
2141.15Sjakllschoptions PCI_NETBSD_CONFIGURE		# set up the PCI bus
2151.1Smattoptions	PCIVERBOSE
2161.1Smattoptions PCI_CONFIG_DUMP
2171.1Smatt
2181.1Smatt# PCI Ethernet
2191.1Smattex*	at pci? dev ? function ? 	# 3Com 90x[BC]
2201.6Scliffre*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
2211.8Scliffwm*	at pci? dev ? function ?	# Intel 8254x gigabit
2221.1Smatt
2231.1Smatt# MII/PHY support
2241.1Smattexphy*	at mii? phy ?			# 3Com internal PHYs
2251.6Scliffrgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
2261.8Scliffmakphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
2271.1Smatt
2281.1Smatt# Pseudo-Devices
2291.1Smatt
2301.1Smatt# disk/mass storage pseudo-devices
2311.1Smatt#pseudo-device	vnd			# disk-like interface to files
2321.14Spooka#pseudo-device	fss			# file system snapshot device
2331.21Smsaitoh#pseudo-device	putter			# for puffs and pud
2341.1Smatt
2351.1Smatt# network pseudo-devices
2361.1Smattpseudo-device	bpfilter		# Berkeley packet filter
2371.1Smattpseudo-device	loop			# network loopback
2381.1Smatt#pseudo-device	kttcp			# network loopback
2391.1Smatt
2401.1Smatt# miscellaneous pseudo-devices
2411.1Smattpseudo-device	pty			# pseudo-terminals
2421.1Smatt#options	RND_COM
2431.1Smatt#pseudo-device	clockctl		# user control of clock subsystem
2441.1Smattpseudo-device	ksyms			# /dev/ksyms
2451.1Smatt
246