GEMINI_MASTER revision 1.8
11.1Scliff#
21.1Scliff#	GEMINI -- 
31.1Scliff#
41.1Scliff
51.1Scliffinclude	"arch/evbarm/conf/std.gemini"
61.1Scliff
71.1Scliff
81.1Scliff# estimated number of users
91.1Scliff
101.1Scliffmaxusers	32
111.1Scliff
121.1Scliff# Standard system options
131.1Scliff
141.1Scliffoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
151.1Scliff#options 	NTP		# NTP phase/frequency locked loop
161.1Scliff
171.1Scliff# CPU options
181.1Scliff
191.1Scliffoptions 	CPU_FA526
201.1Scliffoptions 	SL3516
211.1Scliffoptions 	GEMINI_MASTER
221.1Scliff
231.1Scliff# Architecture options
241.1Scliff
251.1Scliff# File systems
261.1Scliff
271.1Sclifffile-system	FFS		# UFS
281.1Scliff#file-system	LFS		# log-structured file system
291.1Sclifffile-system	MFS		# memory file system
301.1Sclifffile-system	NFS		# Network file system
311.1Scliff#file-system 	ADOSFS		# AmigaDOS-compatible file system
321.1Scliff#file-system 	EXT2FS		# second extended file system (linux)
331.1Scliff#file-system	CD9660		# ISO 9660 + Rock Ridge file system
341.1Sclifffile-system	MSDOSFS		# MS-DOS file system
351.1Scliff#file-system	FDESC		# /dev/fd
361.1Scliff#file-system	KERNFS		# /kern
371.1Scliff#file-system	NULLFS		# loopback file system
381.1Scliff#file-system	PORTAL		# portal filesystem (still experimental)
391.1Scliff#file-system	PROCFS		# /proc
401.1Scliff#file-system	UMAPFS		# NULLFS + uid and gid remapping
411.1Scliff#file-system	UNION		# union file system
421.1Sclifffile-system	PTYFS		# /dev/pts/N support
431.1Scliff
441.1Scliff# File system options
451.1Scliff#options 	QUOTA		# UFS quotas
461.1Scliff#options 	FFS_EI		# FFS Endian Independant support
471.1Scliff#options 	NFSSERVER
481.1Scliff#options 	WAPBL		# File system journaling support - Experimental
491.1Scliff#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
501.1Scliff
511.1Scliff# Networking options
521.1Scliff
531.1Scliff#options 	GATEWAY		# packet forwarding
541.1Scliffoptions 	INET		# IP + ICMP + TCP + UDP
551.1Scliffoptions 	INET6		# IPV6
561.1Scliff#options 	IPSEC		# IP security
571.1Scliff#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
581.1Scliff#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
591.1Scliff#options 	IPSEC_DEBUG	# debug for IP security
601.1Scliff#options 	MROUTING	# IP multicast routing
611.1Scliff#options 	PIM		# Protocol Independent Multicast
621.1Scliff#options 	NS		# XNS
631.1Scliff#options 	NSIP		# XNS tunneling over IP
641.1Scliff#options 	ISO,TPIP	# OSI
651.1Scliff#options 	EON		# OSI tunneling over IP
661.1Scliff#options 	CCITT,LLC,HDLC	# X.25
671.1Scliff#options 	NETATALK	# AppleTalk networking
681.1Scliff#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
691.1Scliff#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
701.1Scliff#options 	PPP_DEFLATE	# Deflate compression support for PPP
711.1Scliff#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
721.1Scliff#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
731.1Scliff
741.1Scliffoptions 	NFS_BOOT_BOOTP
751.1Scliffoptions 	NFS_BOOT_DHCP
761.1Scliffoptions		NFS_BOOT_RWSIZE=1024
771.1Scliff
781.1Scliff# Compatibility options
791.1Scliff
801.1Scliff#options 	COMPAT_43	# 4.3BSD compatibility.
811.1Scliff#options 	COMPAT_40	# NetBSD 4.0 compatibility.
821.1Scliff#options 	COMPAT_30	# NetBSD 3.0 compatibility.
831.1Scliff#options 	COMPAT_20	# NetBSD 2.0 compatibility.
841.1Scliff#options 	COMPAT_16	# NetBSD 1.6 compatibility.
851.1Scliff#options 	COMPAT_15	# NetBSD 1.5 compatibility.
861.1Scliff#options 	COMPAT_14	# NetBSD 1.4 compatibility.
871.1Scliff#options 	COMPAT_13	# NetBSD 1.3 compatibility.
881.1Scliff#options 	COMPAT_12	# NetBSD 1.2 compatibility.
891.1Scliff#options 	COMPAT_11	# NetBSD 1.1 compatibility.
901.1Scliff#options 	COMPAT_10	# NetBSD 1.0 compatibility.
911.1Scliff#options 	COMPAT_09	# NetBSD 0.9 compatibility.
921.1Scliff#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
931.1Scliff#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
941.1Scliff
951.1Scliff# Shared memory options
961.1Scliff
971.1Scliffoptions 	SYSVMSG		# System V-like message queues
981.1Scliffoptions 	SYSVSEM		# System V-like semaphores
991.1Scliff#options 	SEMMNI=10	# number of semaphore identifiers
1001.1Scliff#options 	SEMMNS=60	# number of semaphores in system
1011.1Scliff#options 	SEMUME=10	# max number of undo entries per process
1021.1Scliff#options 	SEMMNU=30	# number of undo structures in system
1031.1Scliffoptions 	SYSVSHM		# System V-like memory sharing
1041.1Scliff#options 	SHMMAXPGS=1024	# 1024 pages is the default
1051.1Scliff
1061.1Scliff# Device options
1071.1Scliff
1081.1Scliff# Memory disk
1091.1Scliffoptions 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1101.1Scliffoptions 	MEMORY_DISK_HOOKS
1111.1Scliffoptions 	MEMORY_DISK_DYNAMIC
1121.1Scliff
1131.1Scliff# Miscellaneous kernel options
1141.1Scliffoptions 	KTRACE		# system call tracing, a la ktrace(1)
1151.1Scliff#options 	KMEMSTATS	# kernel memory statistics
1161.1Scliff#options 	SCSIVERBOSE	# Verbose SCSI errors
1171.1Scliff#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1181.1Scliff#options 	DDB_KEYCODE=0x40
1191.1Scliff#options 	USERCONF	# userconf(4) support
1201.1Scliff#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1211.1Scliff
1221.1Scliff# Development and Debugging options
1231.1Scliff
1241.1Scliff#options 	PERFCTRS	# performance counters
1251.1Scliffoptions 	DIAGNOSTIC	# internally consistency checks
1261.1Scliff#options 	DEBUG
1271.1Scliff#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1281.8Scliffoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1291.1Scliffoptions 	DDB		# in-kernel debugger
1301.1Scliffoptions		DDB_ONPANIC=1
1311.1Scliffoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1321.1Scliff#options 	KGDB
1331.1Scliffmakeoptions	DEBUG="-g"	# compile full symbol table
1341.1Scliff##options 	SYMTAB_SPACE=280000
1351.1Scliff##options	ATADEBUG
1361.1Scliff
1371.1Scliff# Valid options for BOOT_ARGS:
1381.1Scliff#  single		Boot to single user only
1391.1Scliff#  kdb			Give control to kernel debugger
1401.1Scliff#  ask			Ask for file name to reboot from
1411.1Scliff#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
1421.1Scliff#  memorydisk=<n>	Set memorydisk size to <n> KB
1431.1Scliff#  quiet		Show aprint_naive output
1441.1Scliff#  verbose		Show aprint_normal and aprint_verbose output
1451.1Scliffoptions		BOOT_ARGS="\"\""
1461.1Scliff
1471.1Scliffconfig		netbsd		root on ? type ?
1481.1Scliff
1491.1Scliff# The main bus device
1501.1Scliffmainbus0	at root
1511.1Scliff
1521.1Scliff# The boot cpu
1531.1Scliffcpu0		at mainbus?
1541.1Scliff
1551.1Scliff# Specify the memory size in megabytes.
1561.1Scliffoptions		MEMSIZE=64
1571.1Scliff
1581.4Scliff# Specify the (DMA) Bus Address base in megabytes
1591.4Scliffoptions		GEMINI_BUSBASE=0
1601.4Scliff
1611.1Scliff# On-board IO
1621.1Scliffobio0		at mainbus?
1631.1Scliff
1641.1Scliff# On-board 16550 UART(s)
1651.1Scliffcom0		at obio? addr 0x42000000 intr 18 mult 4
1661.1Scliff##options CONSADDR=0x478003f8, CONSPEED=19200
1671.1Scliffoptions CONSADDR=0x42000000, CONSPEED=19200
1681.1Scliff
1691.1Scliff# Aux COM at IT8712
1701.2Scliff##geminilpchc0	at obio? addr 0x47000000 intr 20
1711.2Scliff##lpc0		at geminilpchc0 addr 0x47800000
1721.1Scliff##com1		at lpc? ldn 0x01 addr 0x3f8 intr -1
1731.2Scliff##com1		at lpc? ldn 0x01 addr 0x3f8 intr 4
1741.1Scliff
1751.1Scliff# Interrupt controller
1761.1Scliffgeminiicu0	at obio0 addr 0x48000000 intrbase 0
1771.1Scliff##geminiicu1	at obio0 addr 0x49000000 intrbase 0
1781.1Scliff
1791.1Scliff# Watchdog timer
1801.1Scliffgeminiwdt0	at obio0 addr 0x41000000 size 0x1c
1811.1Scliff# Internal PCLK is AHB bus freq,
1821.1Scliff#  which is 1/6 of APB bus freq,
1831.1Scliff#   which is 150MHz`
1841.1Scliffoptions GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
1851.1Scliff
1861.1Scliff# Combined Operating System Timer and Statistics Timer
1871.1Scliffgeminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
1881.1Scliff##geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
1891.1Scliff# Microtime Reference Timer
1901.1Scliffgeminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
1911.1Scliff#
1921.1Scliff# Internal PCLK is AHB bus freq,
1931.1Scliff#  which is 1/6 of APB bus freq,
1941.1Scliff#   which is 150MHz`
1951.1Scliffoptions GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
1961.1Scliff
1971.1Scliff
1981.5Scliff# Gemini Inter-processor-interrupt (IPI)
1991.5Scliffgeminiipi0	at obio? intr 0
2001.5Scliff
2011.8Scliff# Gemini Inter-processor-messages (IPM)
2021.8Scliffgeminiipm0	at geminiipi0
2031.8Scliff
2041.8Scliff# Gemini Pseudo NIC (GPN)
2051.8Scliffgpn0		at geminiipm0
2061.8Scliff
2071.1Scliff# On-board GPIO controllers
2081.6Scliffgeminigpio0	at obio0 addr 0x4d000000 intrbase 32  intr 22
2091.6Scliffgeminigpio1	at obio0 addr 0x4e000000 intrbase 64  intr 23
2101.6Scliffgeminigpio2	at obio0 addr 0x4f000000 intrbase 96  intr 24
2111.1Scliff
2121.1Scliff# Real Time Clock
2131.1Scliff
2141.1Scliff# IDE
2151.1Scliff##wdc0	at obio? addr 0x63000000 intr 4
2161.1Scliff##wdc1	at obio? addr 0x63400000 intr 5
2171.1Scliff
2181.1Scliff##atabus* at ata? channel ?
2191.1Scliff##wd*	at atabus? drive ? flags 0x0000
2201.1Scliff
2211.1Scliff# USB
2221.1Scliff##ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
2231.1Scliff##ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31? 
2241.1Scliff
2251.1Scliff##usb* at ehci?
2261.1Scliff##uhub* at usb?
2271.1Scliff##uhub* at uhub? port ?
2281.1Scliff##axe* at uhub?
2291.1Scliff
2301.1Scliff# PCI
2311.1Scliff##pci0	at obio? bus ?
2321.1Scliff##options PCI_NETBSD_CONFIGURE		# set up the PCI bus 
2331.1Scliff##options	PCIVERBOSE
2341.1Scliff##options PCI_CONFIG_DUMP
2351.1Scliff
2361.1Scliff# PCI Ethernet
2371.1Scliff##ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
2381.1Scliff
2391.1Scliff# MII/PHY support
2401.1Scliff##exphy*	at mii? phy ?			# 3Com internal PHYs
2411.1Scliff##ukphy*	at mii? phy ?			# generic unknown PHYs
2421.1Scliff
2431.1Scliff
2441.1Scliff# Pseudo-Devices
2451.1Scliff
2461.1Scliff# disk/mass storage pseudo-devices
2471.1Scliffpseudo-device	md	1		# memory disk
2481.1Scliff#pseudo-device	vnd			# disk-like interface to files
2491.1Scliff#pseudo-device	fss		4	# file system snapshot device
2501.1Scliff
2511.1Scliff# network pseudo-devices
2521.1Scliffpseudo-device	bpfilter		# Berkeley packet filter
2531.1Scliffpseudo-device	loop			# network loopback
2541.1Scliff#pseudo-device	kttcp			# network loopback
2551.1Scliff
2561.1Scliff# miscellaneous pseudo-devices
2571.1Scliffpseudo-device	pty			# pseudo-terminals
2581.1Scliffpseudo-device	rnd			# /dev/random and in-kernel generator
2591.1Scliff#options	RND_COM
2601.1Scliff#pseudo-device	clockctl		# user control of clock subsystem
2611.1Scliffpseudo-device	ksyms			# /dev/ksyms
2621.1Scliff
263