GEMINI_SLAVE revision 1.29
11.1Scliff#
21.15Sjakllsch#	GEMINI_SLAVE --
31.1Scliff#
41.1Scliff
51.1Scliffinclude	"arch/evbarm/conf/std.gemini"
61.1Scliff
71.1Scliff# estimated number of users
81.1Scliff
91.1Scliffmaxusers	32
101.1Scliff
111.1Scliff# Standard system options
121.1Scliff
131.1Scliffoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
141.1Scliff#options 	NTP		# NTP phase/frequency locked loop
151.1Scliff
161.1Scliff# CPU options
171.1Scliff
181.1Scliffoptions 	CPU_FA526
191.1Scliffoptions 	SL3516
201.1Scliffoptions		GEMINI_SLAVE
211.1Scliff
221.1Scliff# Architecture options
231.1Scliff
241.1Scliff# File systems
251.1Scliff
261.1Sclifffile-system	FFS		# UFS
271.1Scliff#file-system	LFS		# log-structured file system
281.1Sclifffile-system	MFS		# memory file system
291.1Sclifffile-system	NFS		# Network file system
301.1Scliff#file-system 	ADOSFS		# AmigaDOS-compatible file system
311.1Scliff#file-system 	EXT2FS		# second extended file system (linux)
321.1Scliff#file-system	CD9660		# ISO 9660 + Rock Ridge file system
331.1Sclifffile-system	MSDOSFS		# MS-DOS file system
341.1Scliff#file-system	FDESC		# /dev/fd
351.1Scliff#file-system	KERNFS		# /kern
361.1Scliff#file-system	NULLFS		# loopback file system
371.1Scliff#file-system	PROCFS		# /proc
381.21Smsaitoh#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
391.1Scliff#file-system	UMAPFS		# NULLFS + uid and gid remapping
401.1Scliff#file-system	UNION		# union file system
411.1Sclifffile-system	PTYFS		# /dev/pts/N support
421.1Scliff
431.1Scliff# 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.1Scliff#options 	NFSSERVER
481.19Sdholland#options 	WAPBL		# File system journaling support
491.1Scliff#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
501.1Scliff
511.1Scliff# Networking options
521.1Scliff
531.8Scliffoptions 	GATEWAY		# packet forwarding
541.1Scliffoptions 	INET		# IP + ICMP + TCP + UDP
551.1Scliff#options 	INET6		# IPV6
561.1Scliff#options 	IPSEC		# IP security
571.1Scliff#options 	IPSEC_DEBUG	# debug for IP security
581.1Scliff#options 	MROUTING	# IP multicast routing
591.1Scliff#options 	PIM		# Protocol Independent Multicast
601.1Scliff#options 	NETATALK	# AppleTalk networking
611.1Scliff#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
621.1Scliff#options 	PPP_DEFLATE	# Deflate compression support for PPP
631.1Scliff#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
641.1Scliff#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
651.1Scliff
661.1Scliff##options 	NFS_BOOT_BOOTP
671.1Scliff##options 	NFS_BOOT_DHCP
681.1Scliff##options	NFS_BOOT_RWSIZE=1024
691.1Scliff
701.1Scliff# Compatibility options
711.1Scliff
721.28Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
731.1Scliff#options 	COMPAT_43	# 4.3BSD compatibility.
741.29Sapboptions 	COMPAT_70	# NetBSD 7.0 compatibility.
751.22Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
761.11Sbshoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
771.1Scliff#options 	COMPAT_40	# NetBSD 4.0 compatibility.
781.1Scliff#options 	COMPAT_30	# NetBSD 3.0 compatibility.
791.1Scliff#options 	COMPAT_20	# NetBSD 2.0 compatibility.
801.1Scliff#options 	COMPAT_16	# NetBSD 1.6 compatibility.
811.1Scliff#options 	COMPAT_15	# NetBSD 1.5 compatibility.
821.1Scliff#options 	COMPAT_14	# NetBSD 1.4 compatibility.
831.1Scliff#options 	COMPAT_13	# NetBSD 1.3 compatibility.
841.1Scliff#options 	COMPAT_12	# NetBSD 1.2 compatibility.
851.1Scliff#options 	COMPAT_11	# NetBSD 1.1 compatibility.
861.1Scliff#options 	COMPAT_10	# NetBSD 1.0 compatibility.
871.1Scliff#options 	COMPAT_09	# NetBSD 0.9 compatibility.
881.1Scliff#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
891.1Scliff#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
901.1Scliff
911.1Scliff# Shared memory options
921.1Scliff
931.1Scliffoptions 	SYSVMSG		# System V-like message queues
941.1Scliffoptions 	SYSVSEM		# System V-like semaphores
951.1Scliffoptions 	SYSVSHM		# System V-like memory sharing
961.1Scliff
971.1Scliff# Device options
981.1Scliff
991.1Scliff# Memory Disk
1001.1Scliffoptions 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1011.1Scliffoptions 	MEMORY_DISK_HOOKS
1021.1Scliffoptions 	MEMORY_DISK_DYNAMIC
1031.9Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
1041.1Scliff
1051.1Scliff# Miscellaneous kernel options
1061.1Scliffoptions 	KTRACE		# system call tracing, a la ktrace(1)
1071.1Scliff#options 	KMEMSTATS	# kernel memory statistics
1081.1Scliff#options 	SCSIVERBOSE	# Verbose SCSI errors
1091.1Scliff#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1101.1Scliff#options 	DDB_KEYCODE=0x40
1111.1Scliff#options 	USERCONF	# userconf(4) support
1121.1Scliff#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1131.1Scliff
1141.1Scliff# Development and Debugging options
1151.1Scliff
1161.1Scliff#options 	PERFCTRS	# performance counters
1171.27Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
1181.1Scliff#options 	DEBUG
1191.1Scliff#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1201.2Scliff#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1211.1Scliffoptions 	DDB		# in-kernel debugger
1221.1Scliffoptions		DDB_ONPANIC=1
1231.1Scliffoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1241.1Scliff#options 	KGDB
1251.1Scliffmakeoptions	DEBUG="-g"	# compile full symbol table
1261.1Scliff##options 	SYMTAB_SPACE=280000
1271.1Scliff##options	ATADEBUG
1281.1Scliff
1291.1Scliff# Valid options for BOOT_ARGS:
1301.1Scliff#  single		Boot to single user only
1311.1Scliff#  kdb			Give control to kernel debugger
1321.1Scliff#  ask			Ask for file name to reboot from
1331.1Scliff#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
1341.1Scliff#  memorydisk=<n>	Set memorydisk size to <n> KB
1351.1Scliff#  quiet		Show aprint_naive output
1361.1Scliff#  verbose		Show aprint_normal and aprint_verbose output
1371.1Scliffoptions		BOOT_ARGS="\"\""
1381.1Scliff
1391.1Scliffconfig		netbsd		root on ? type ?
1401.1Scliff##config		netbsd-sm0	root on sm0 type nfs
1411.1Scliff
1421.1Scliff# The main bus device
1431.1Scliffmainbus0	at root
1441.1Scliff
1451.1Scliff# The boot cpu
1461.1Scliffcpu0		at mainbus?
1471.1Scliff
1481.1Scliff# Specify the memory size in megabytes.
1491.1Scliffoptions		MEMSIZE=64
1501.1Scliff
1511.5Scliff# Specify the (DMA) Bus Address base in megabytes
1521.5Scliffoptions		GEMINI_BUSBASE=64
1531.5Scliff
1541.1Scliff# On-board IO
1551.1Scliffobio0		at mainbus?
1561.1Scliff
1571.1Scliff# On-board 16550 UART(s)
1581.2Scliff##com0		at obio? addr 0x42000000 intr 18 mult 4
1591.2Scliff##options CONSADDR=0x42000000, CONSPEED=19200
1601.2Scliff
1611.2Scliff# Aux COM at IT8712
1621.2Scliffgeminilpchc0    at obio? addr 0x47000000 intr 20
1631.2Sclifflpc0            at geminilpchc0 addr 0x47800000
1641.2Scliffcom0            at lpc? ldn 0x01 addr 0x3f8 intr -1
1651.2Scliff##com0          at lpc? ldn 0x01 addr 0x3f8 intr -1
1661.2Scliffoptions CONSADDR=0x478003f8, CONSPEED=19200
1671.1Scliff
1681.1Scliff# Interrupt controller
1691.1Scliff##geminiicu0	at obio0 addr 0x48000000 intrbase 0
1701.1Scliffgeminiicu1	at obio0 addr 0x49000000 intrbase 0
1711.1Scliff
1721.1Scliff# Watchdog timer
1731.1Scliff##geminiwdt0	at obio0 addr 0x41000000 size 0x1c
1741.1Scliff# Internal PCLK is AHB bus freq,
1751.1Scliff#  which is 1/6 of APB bus freq,
1761.1Scliff#   which is 150MHz`
1771.1Scliff##options GEMINI_WDT_CLOCK_FREQ=25000000	# 25 MHz
1781.1Scliff
1791.1Scliff# Combined Operating System Timer and Statistics Timer
1801.1Scliff##geminitmr0	at obio? addr 0x43000000 size 0x3c intr 14
1811.1Scliffgeminitmr1	at obio? addr 0x43000000 size 0x3c intr 15
1821.1Scliff# Microtime Reference Timer
1831.1Scliffgeminitmr2	at obio? addr 0x43000000 size 0x3c intr 16
1841.1Scliff#
1851.1Scliff# Internal PCLK is AHB bus freq,
1861.1Scliff#  which is 1/6 of APB bus freq,
1871.1Scliff#   which is 150MHz`
1881.1Scliffoptions GEMINI_TIMER_CLOCK_FREQ=25000000	# 25 MHz
1891.1Scliff
1901.1Scliff
1911.6Scliff# Gemini Inter-processor-interrupt (IPI)
1921.6Scliffgeminiipi0	at obio? intr 0
1931.6Scliff
1941.8Scliff# Gemini Inter-processor-messages (IPM)
1951.8Scliffgeminiipm0	at geminiipi0
1961.8Scliff
1971.8Scliff# Gemini Pseudo NIC (GPN)
1981.8Scliffgpn0		at geminiipm0
1991.8Scliff
2001.1Scliff# On-board GPIO controllers
2011.1Scliff
2021.1Scliff
2031.1Scliff# Real Time Clock
2041.1Scliff
2051.1Scliff# IDE
2061.1Scliff##wdc0	at obio? addr 0x63000000 intr 4
2071.1Scliff##wdc1	at obio? addr 0x63400000 intr 5
2081.1Scliff
2091.1Scliff##atabus* at ata? channel ?
2101.1Scliff##wd*	at atabus? drive ? flags 0x0000
2111.1Scliff
2121.1Scliff# USB
2131.1Scliff##ehci0	at obio? addr 0x68000000 size 0x400 intr 10 # 30?
2141.15Sjakllsch##ehci1	at obio? addr 0x69000000 size 0x400 intr 11 # 31?
2151.1Scliff
2161.1Scliff##usb* at ehci?
2171.1Scliff##uhub* at usb?
2181.1Scliff##uhub* at uhub? port ?
2191.1Scliff##axe* at uhub?
2201.1Scliff
2211.1Scliff# PCI
2221.1Scliffpci0	at obio? bus ?
2231.15Sjakllschoptions PCI_NETBSD_CONFIGURE		# set up the PCI bus
2241.1Scliffoptions	PCIVERBOSE
2251.1Scliffoptions PCI_CONFIG_DUMP
2261.1Scliff
2271.1Scliff# PCI Ethernet
2281.1Scliffex*	at pci? dev ? function ? 	# 3Com 90x[BC]
2291.4Scliffre*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
2301.4Scliffwm*	at pci? dev ? function ?	# Intel 8254x gigabit
2311.1Scliff
2321.1Scliff# MII/PHY support
2331.1Scliffexphy*	at mii? phy ?			# 3Com internal PHYs
2341.4Scliffrgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
2351.4Scliffmakphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
2361.1Scliff
2371.1Scliff# Pseudo-Devices
2381.1Scliff
2391.1Scliff# disk/mass storage pseudo-devices
2401.14Shannkenpseudo-device	md			# memory disk
2411.1Scliff#pseudo-device	vnd			# disk-like interface to files
2421.13Spooka#pseudo-device	fss			# file system snapshot device
2431.21Smsaitoh#pseudo-device	putter			# for puffs and pud
2441.1Scliff
2451.1Scliff# network pseudo-devices
2461.1Scliffpseudo-device	bpfilter		# Berkeley packet filter
2471.1Scliffpseudo-device	loop			# network loopback
2481.1Scliff#pseudo-device	kttcp			# network loopback
2491.1Scliff
2501.1Scliff# miscellaneous pseudo-devices
2511.1Scliffpseudo-device	pty			# pseudo-terminals
2521.1Scliff#options	RND_COM
2531.1Scliff#pseudo-device	clockctl		# user control of clock subsystem
2541.1Scliff#pseudo-device	ksyms			# /dev/ksyms
2551.1Scliff
256