11.1Scliff#
21.15Sjakllsch#	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	PROCFS		# /proc
391.21Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
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.39Ssimonb#options 	FFS_EI		# FFS Endian Independent support
461.39Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
471.16Sbouyer#options 	QUOTA		# legacy UFS quotas
481.16Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
491.39Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
501.39Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
511.39Ssimonb#options 	WAPBL		# File system journaling support
521.33Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
531.39Ssimonb#options 	NFSSERVER	# Network File System server
541.1Scliff
551.1Scliff# Networking options
561.1Scliff
571.1Scliff#options 	GATEWAY		# packet forwarding
581.1Scliffoptions 	INET		# IP + ICMP + TCP + UDP
591.1Scliffoptions 	INET6		# IPV6
601.1Scliff#options 	IPSEC		# IP security
611.1Scliff#options 	IPSEC_DEBUG	# debug for IP security
621.1Scliff#options 	MROUTING	# IP multicast routing
631.1Scliff#options 	PIM		# Protocol Independent Multicast
641.1Scliff#options 	NETATALK	# AppleTalk networking
651.1Scliff#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
661.1Scliff#options 	PPP_DEFLATE	# Deflate compression support for PPP
671.1Scliff#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
681.1Scliff#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
691.1Scliff
701.1Scliffoptions 	NFS_BOOT_BOOTP
711.1Scliffoptions 	NFS_BOOT_DHCP
721.36Smrgoptions 	NFS_BOOT_RWSIZE=1024
731.1Scliff
741.1Scliff# Compatibility options
751.1Scliff
761.36Smrginclude 	"conf/compat_netbsd50.config"
771.36Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
781.1Scliff
791.1Scliff# Shared memory options
801.1Scliff
811.1Scliffoptions 	SYSVMSG		# System V-like message queues
821.1Scliffoptions 	SYSVSEM		# System V-like semaphores
831.1Scliffoptions 	SYSVSHM		# System V-like memory sharing
841.1Scliff
851.1Scliff# Device options
861.1Scliff
871.1Scliff# Memory disk
881.1Scliffoptions 	MEMORY_DISK_IS_ROOT	# use memory disk as root
891.1Scliffoptions 	MEMORY_DISK_HOOKS
901.1Scliffoptions 	MEMORY_DISK_DYNAMIC
911.9Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
921.1Scliff
931.1Scliff# Miscellaneous kernel options
941.1Scliffoptions 	KTRACE		# system call tracing, a la ktrace(1)
951.1Scliff#options 	SCSIVERBOSE	# Verbose SCSI errors
961.1Scliff#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
971.1Scliff#options 	DDB_KEYCODE=0x40
981.1Scliff#options 	USERCONF	# userconf(4) support
991.1Scliff#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1001.1Scliff
1011.1Scliff# Development and Debugging options
1021.1Scliff
1031.27Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1041.1Scliff#options 	DEBUG
1051.38Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1061.8Scliffoptions 	VERBOSE_INIT_ARM # verbose bootstraping messages
1071.1Scliffoptions 	DDB		# in-kernel debugger
1081.36Smrgoptions 	DDB_ONPANIC=1
1091.1Scliffoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1101.1Scliff#options 	KGDB
1111.1Scliffmakeoptions	DEBUG="-g"	# compile full symbol table
1121.30Sjoerg##makeoptions	COPY_SYMTAB=1
1131.1Scliff##options	ATADEBUG
1141.1Scliff
1151.1Scliff# Valid options for BOOT_ARGS:
1161.1Scliff#  single		Boot to single user only
1171.1Scliff#  kdb			Give control to kernel debugger
1181.1Scliff#  ask			Ask for file name to reboot from
1191.1Scliff#  memorydisk=<n>	Set memorydisk size to <n> KB
1201.1Scliff#  quiet		Show aprint_naive output
1211.1Scliff#  verbose		Show aprint_normal and aprint_verbose output
1221.36Smrgoptions 	BOOT_ARGS="\"\""
1231.1Scliff
1241.1Scliffconfig		netbsd		root on ? type ?
1251.1Scliff
1261.1Scliff# The main bus device
1271.1Scliffmainbus0	at root
1281.1Scliff
1291.1Scliff# The boot cpu
1301.1Scliffcpu0		at mainbus?
1311.1Scliff
1321.1Scliff# Specify the memory size in megabytes.
1331.36Smrgoptions 	MEMSIZE=64
1341.1Scliff
1351.4Scliff# Specify the (DMA) Bus Address base in megabytes
1361.36Smrgoptions 	GEMINI_BUSBASE=0
1371.4Scliff
1381.1Scliff# On-board IO
1391.1Scliffobio0		at mainbus?
1401.1Scliff
1411.1Scliff# On-board 16550 UART(s)
1421.1Scliffcom0		at obio? addr 0x42000000 intr 18 mult 4
1431.1Scliff##options CONSADDR=0x478003f8, CONSPEED=19200
1441.1Scliffoptions CONSADDR=0x42000000, CONSPEED=19200
1451.1Scliff
1461.1Scliff# Aux COM at IT8712
1471.2Scliff##geminilpchc0	at obio? addr 0x47000000 intr 20
1481.2Scliff##lpc0		at geminilpchc0 addr 0x47800000
1491.1Scliff##com1		at lpc? ldn 0x01 addr 0x3f8 intr -1
1501.2Scliff##com1		at lpc? ldn 0x01 addr 0x3f8 intr 4
1511.1Scliff
1521.1Scliff# Interrupt controller
1531.1Scliffgeminiicu0	at obio0 addr 0x48000000 intrbase 0
1541.1Scliff##geminiicu1	at obio0 addr 0x49000000 intrbase 0
1551.1Scliff
1561.1Scliff# Watchdog timer
1571.1Scliffgeminiwdt0	at obio0 addr 0x41000000 size 0x1c
1581.1Scliff# Internal PCLK is AHB bus freq,
1591.1Scliff#  which is 1/6 of APB bus freq,
1601.1Scliff#   which is 150MHz`
1611.1Scliffoptions GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
1621.1Scliff
1631.1Scliff# Combined Operating System Timer and Statistics Timer
1641.1Scliffgeminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
1651.1Scliff##geminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
1661.1Scliff# Microtime Reference Timer
1671.1Scliffgeminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
1681.1Scliff#
1691.1Scliff# Internal PCLK is AHB bus freq,
1701.1Scliff#  which is 1/6 of APB bus freq,
1711.1Scliff#   which is 150MHz`
1721.1Scliffoptions GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
1731.1Scliff
1741.1Scliff
1751.5Scliff# Gemini Inter-processor-interrupt (IPI)
1761.5Scliffgeminiipi0	at obio? intr 0
1771.5Scliff
1781.8Scliff# Gemini Inter-processor-messages (IPM)
1791.8Scliffgeminiipm0	at geminiipi0
1801.8Scliff
1811.8Scliff# Gemini Pseudo NIC (GPN)
1821.8Scliffgpn0		at geminiipm0
1831.8Scliff
1841.1Scliff# On-board GPIO controllers
1851.6Scliffgeminigpio0	at obio0 addr 0x4d000000 intrbase 32  intr 22
1861.6Scliffgeminigpio1	at obio0 addr 0x4e000000 intrbase 64  intr 23
1871.6Scliffgeminigpio2	at obio0 addr 0x4f000000 intrbase 96  intr 24
1881.1Scliff
1891.1Scliff# Real Time Clock
1901.1Scliff
1911.1Scliff# IDE
1921.1Scliff##wdc0	at obio? addr 0x63000000 intr 4
1931.1Scliff##wdc1	at obio? addr 0x63400000 intr 5
1941.1Scliff
1951.1Scliff##atabus* at ata? channel ?
1961.1Scliff##wd*	at atabus? drive ? flags 0x0000
1971.1Scliff
1981.1Scliff# USB
1991.1Scliff##ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
2001.15Sjakllsch##ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
2011.1Scliff
2021.1Scliff##usb* at ehci?
2031.1Scliff##uhub* at usb?
2041.1Scliff##uhub* at uhub? port ?
2051.34Ssevan
2061.34Ssevan# USB Ethernet adapters
2071.1Scliff##axe* at uhub?
2081.1Scliff
2091.1Scliff# PCI
2101.1Scliff##pci0	at obio? bus ?
2111.15Sjakllsch##options PCI_NETBSD_CONFIGURE		# set up the PCI bus
2121.1Scliff##options	PCIVERBOSE
2131.1Scliff##options PCI_CONFIG_DUMP
2141.1Scliff
2151.1Scliff# PCI Ethernet
2161.1Scliff##ex*	at pci? dev ? function ? 	# 3Com 90x[BC]
2171.1Scliff
2181.1Scliff# MII/PHY support
2191.1Scliff##exphy*	at mii? phy ?			# 3Com internal PHYs
2201.1Scliff##ukphy*	at mii? phy ?			# generic unknown PHYs
2211.1Scliff
2221.1Scliff
2231.1Scliff# Pseudo-Devices
2241.1Scliff
2251.1Scliff# disk/mass storage pseudo-devices
2261.14Shannkenpseudo-device	md			# memory disk
2271.1Scliff#pseudo-device	vnd			# disk-like interface to files
2281.13Spooka#pseudo-device	fss			# file system snapshot device
2291.21Smsaitoh#pseudo-device	putter			# for puffs and pud
2301.1Scliff
2311.1Scliff# network pseudo-devices
2321.1Scliffpseudo-device	bpfilter		# Berkeley packet filter
2331.1Scliffpseudo-device	loop			# network loopback
2341.1Scliff#pseudo-device	kttcp			# network loopback
2351.1Scliff
2361.1Scliff# miscellaneous pseudo-devices
2371.1Scliffpseudo-device	pty			# pseudo-terminals
2381.1Scliff#options	RND_COM
2391.1Scliff#pseudo-device	clockctl		# user control of clock subsystem
2401.1Scliffpseudo-device	ksyms			# /dev/ksyms
2411.1Scliff
242